Frictional Games Forum (read-only)
stupid question...... - 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: stupid question...... (/thread-9404.html)



stupid question...... - zecuro - 07-26-2011


i'm very new to all the scripting stuff....that mean i don't know what i'm doing for the moment ......i know that you need to name the hps file like the map file
but when you need to make another script in the same area do you keep the same name.....
sorry for the bad english



RE: stupid question...... - xiphirx - 07-27-2011

Not sure I understand what you mean by "script in same area"...

All of the commands you want to be executed are to be within that single .hps file...


RE: stupid question...... - zecuro - 07-29-2011

(07-27-2011, 05:44 AM)xiphirx Wrote: Not sure I understand what you mean by "script in same area"...

All of the commands you want to be executed are to be within that single .hps file...

but when u have more then 1 script for the same area do you put all the script in one hps file or do you create multiple hps file by map
and if you put it all in the same folder how do you arrange the script
sorry for my bad english


RE: stupid question...... - xiphirx - 07-29-2011

same file. You organize your code in functions


RE: stupid question...... - zecuro - 07-29-2011

(07-29-2011, 09:10 PM)xiphirx Wrote: same file. You organize your code in functions

do you know any tutorial for this



RE: stupid question...... - xiphirx - 07-29-2011

http://wiki.frictionalgames.com/hpl2/tutorials/start


RE: stupid question...... - zecuro - 07-29-2011

(07-29-2011, 09:18 PM)xiphirx Wrote: http://wiki.frictionalgames.com/hpl2/tutorials/start

my god thank rou awesome man