OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Muts on 29 Jan 2003, 15:40:43

Title: Lighthouse
Post by: Muts on 29 Jan 2003, 15:40:43
I just made this lighthouse script and i'm having some trouble with time-related things such as time-compression and normal ingame time ???

the script sort of works o.k. in normal time,but it stops working  during and after time-compression.

so if anyone has any pointers for me please post them

i have also included a demo-mission(there are no objectives, just fly round and look at the lighthouses)
Title: Re:Lighthouse
Post by: walker on 01 Feb 2003, 23:48:50
I also built a working lighthouse some time back

Try looking at how I did it

http://www.thechainofcommand.net/cgi-bin/ikonboard/ikonboard.cgi?s=6f5a5e325f95ee59d8062ea0cf6ca4bf;act=ST;f=37;t=3 (http://www.thechainofcommand.net/cgi-bin/ikonboard/ikonboard.cgi?s=6f5a5e325f95ee59d8062ea0cf6ca4bf;act=ST;f=37;t=3)

Kind Regards walker
Title: Re:Lighthouse
Post by: Muts on 03 Feb 2003, 00:24:39
Thanks Walker,

Your script is at least OFP:R-proof if not soldier-proof ,
and your addon does offer a brighter light than the .50MG does 8)

Still I think it would be nice to have more variables in a lighthouse script, so you could recognise the lighthouse by it's light-characteristics.
(not that i'm working on any naval mission or anything ;))

best regards , Muts
Title: Re:Lighthouse
Post by: Muts on 03 Feb 2003, 14:36:02
Haha I found what killed the script during time-compression!

The lighthouseoperators died from being suspended in mid-air during time compresion.
Now they are teleported onto the ground inside the lighthouse they stay alive and thus make more effective lighthouseoperators.
the lighthouse now keeps working during and after time-compression.

the problem of the script not following ingame time however has not yet been solved......
Title: Re:Lighthouse
Post by: Grizzlie on 01 Oct 2003, 15:01:43
@ walker
I wanted to see your script, but i got "Sorry, some required files are missing, if you intended to view a topic, it's possible that it's been moved or deleted. Please go back and try again. "
Can u put it again, or email me?
Thanks
Title: Re:Lighthouse
Post by: Blanco on 01 Oct 2003, 21:50:17
hmmm, walker... same problem here...
Title: Re:Lighthouse
Post by: Muts on 03 Oct 2003, 00:54:43
This is the file you are looking for.
Hope Walker doesn't mind,

regards, Muts