OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: kissdznuts on 06 Nov 2002, 20:14:59
-
Hello,
I have a noob question.
Does anyone know of a halo script that works in multiplayer? I have tried a couple times with a multiplayer coop mission I made, but get out of sync errors?
Thanks for tips or ideas in advanced.
-
Someone else put this example mission together.. but I tried it and it worked.. I found 2 glitches, 1 with the opening of the parachute.. It opens and removes all of your momentum to the ground.. looks like u ejected from a plane above your head rather than a couple thousand meters in the air. the other glitch is you cant see teammates float to the ground. they appear to fall right into the ground.. they dont die... Other than that it all works.
-
Perhaps thenew getvelocity and setvelocity commands could be used make the momentum of the player stay the same when the chute opens.
The HALO script would look something like this:
_pvelocity = getvelocity _player
_chute = "parachute" camcreate getpos _player
_player moveindriver _chute
@_player in _chute
_player setvelocity _pvelocity
Just a thought.
-
Thanks for the ideas. I'll give them both a try this weekend.