OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: _54th_Yoshi on 29 Aug 2002, 00:17:59

Title: how do i stop the church from ringing the annoying bells?
Post by: _54th_Yoshi on 29 Aug 2002, 00:17:59
I'm making a mp mission and i have time accel on but that makes the church bells ring every second.... :help:
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: tai mai shu on 29 Aug 2002, 04:11:38
um, the acctime command wont work in ofp....

and the bell ringing is coded into the software.  you cannot change it
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: Black_Feather on 29 Aug 2002, 04:39:27
um, the acctime command wont work in ofp....

It does work.
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: tai mai shu on 29 Aug 2002, 06:28:42
oops, i meant, it wont work in multiplayer. thatd be cool if it did though...
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: me11ai on 30 Aug 2002, 01:47:35
skiptime # works  ;D

do you want the timeskipping to happen gradually when during play. or just blackout the screen and when it comes back the time has skipped few hours?

if its the later you could move the soldiers to another place during the timeskipping with:
unit setpos [getpos object select 0, getpos object select 1,getpos object select 2]
where unit is your soldier and object a thing you put somewhere far from the church, like invisible H.
then you have to move them back again ofcourse

Hope this helps  :)
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: tai mai shu on 30 Aug 2002, 08:26:08
how do you make it change gradually?
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: me11ai on 30 Aug 2002, 15:39:01
You could make a script and write:

i=0

#loop
? (i<20) : goto "timeskip"
exit

#timeskip
i=i+1
skiptime 0.05
~5
goto "loop"


increase or decrease the skiptime value if you want it to go faster or smoother
Title: Re:how do i stop the church from ringing the annoying bells?
Post by: tai mai shu on 30 Aug 2002, 22:34:46
cool thanks.  ill try this biznatch out.