My problems - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: My problems (/thread-18769.html) |
RE: My problems - Kreekakon - 11-04-2012 (11-04-2012, 03:13 PM)naseem142 Wrote: Thank you for understanding ,You created a whole new .ent file, so yes it'd display your new image instead of the old one. You would have to bundle your own, new image with the custom story the item is in, otherwise the image will not appear. So also make sure the name is somewhat unique to prevent overlapping. RE: My problems - naseem142 - 11-04-2012 (11-04-2012, 03:17 PM)Kreekakon Wrote:The old item is a pipe ( from the original game ) and i resized it to look like a square shaped metal piece.(11-04-2012, 03:13 PM)naseem142 Wrote: Thank you for understanding ,You created a whole new .ent file, so yes it'd display your new image instead of the old one. You would have to bundle your own, new image with the custom story the item is in, otherwise the image will not appear. So also make sure the name is somewhat unique to prevent overlapping. So i edited the file and it looks like the new one. RE: My problems - naseem142 - 11-09-2012 I want to know if i can set like multiple entities to collide with thte Script_area: Example: AddEntityCollideCallback("Entity1,Entity2,Entity3", "ScriptArea_1", "Func_1", true, 1); RE: My problems - FlawlessHappiness - 11-09-2012 http://www.frictionalgames.com/forum/thread-16993.html?highlight=multiple RE: My problems - naseem142 - 11-09-2012 (11-09-2012, 11:43 AM)beecake Wrote: http://www.frictionalgames.com/forum/thread-16993.html?highlight=multipleI don't really get the script for(int i=1;i<=10;i++) //If you have 10 lights { FadeLightTo("PointLight_"+i, 0.0f,0.0f,0.0f,0,0,0); } RE: My problems - The chaser - 11-09-2012 (11-09-2012, 01:55 PM)naseem142 Wrote:It will fade lights until it repeats itself 10 times.(11-09-2012, 11:43 AM)beecake Wrote: http://www.frictionalgames.com/forum/thread-16993.html?highlight=multipleI don't really get the script RE: My problems - FlawlessHappiness - 11-09-2012 Which means it will select from 1 to 10. So you will have 10 pointlights called "PointLight_1", "PointLight_2", and so on. To select them all you just write 1 line with "PointLight_"+i the "+i" mean that it will do it 10 times with each number from 1 to 10 So for your script: AddEntityCollideCallback("Entity"+i, "ScriptArea_1", "Func_1", true, 1); RE: My problems - naseem142 - 11-09-2012 (11-09-2012, 02:24 PM)beecake Wrote: Which means it will select from 1 to 10.Thank you |