OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: moondogy on 05 Nov 2003, 16:09:21

Title: few more questions (init.sqs Q is solved)
Post by: moondogy on 05 Nov 2003, 16:09:21
is it posible to have more init files? i mean that, i want to have more scripts that would run always but i dont know how to do that.

i tried with init1.sqs and it didnt work; i made a newfolder and puted in another init.sqs and that one didnt worked to!

 New question:
How to set smaller mass or gravity to an object for a limited time (NOT in O2 but a script) or something like that? it would be used for slow fall (i  need it to simulate a parachute ).
Title: Re:init.sqs
Post by: Spinor on 05 Nov 2003, 16:15:04
You can simply activate further scripts from the init.sqs or from the init field of any unit, e.g.:
   [] exec "myinitfolder\init.sqs
   [] exec "init1.sqs"

init.sqs is the only script that is automatically executed by OFP at mission start.
Title: Re:init.sqs
Post by: moondogy on 05 Nov 2003, 16:17:49
thx  :D!
Title: Re:few more questions (init.sqs Q is solved)
Post by: macguba on 05 Nov 2003, 19:52:18
This may be a dumb question, but why do you need to simulate a parachute?   Why can't you use one?

Regarding the init.sqs question, you can put anything you like in there so there may not be a need for  additional scripts.
Title: Re:few more questions (init.sqs Q is solved)
Post by: moondogy on 05 Nov 2003, 20:09:45
im still working on that buggy paradroping, and that buggy has its own parachute which is included in addon, but the config is not written for it. download the army buggy addon and play the mission buggy-air-insertation (its included in that addon)! it falls to quick!
Title: Re:few more questions (init.sqs Q is solved)
Post by: _hammy_ on 08 Nov 2003, 19:01:29
theres no way to make the weight of the object lower with a script, the only way you can do it is with O2