Home   Help Search Login Register  

Author Topic: paradropings  (Read 566 times)

0 Members and 1 Guest are viewing this topic.

joosthaafkens

  • Guest
paradropings
« on: 05 Feb 2003, 15:15:43 »
probably one really simple, you can download scripts for paradropping everywhere, but I don't how to activate them. please just tell me how, or send me a file I can put in my Editor, so I can see.

Thank you very much

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:paradropings
« Reply #1 on: 05 Feb 2003, 18:25:25 »
Usually, the remarked header section of a script will tell you how to execute them if there is no associated ReadMe.txt file.  Try reading that.

Generally speaking, scripts are executed with the exec command.

[param1,param2,...,paramN] exec "ScriptName.sqs"

C.f. the ComRef for more information.
Ranger

casual1y

  • Guest
Re:paradropings
« Reply #2 on: 05 Feb 2003, 20:58:02 »
Here is a script for a HALO drop. That means that you fall for 95% of the drop, and the parachute opens really low. Great for Black Ops.

To init it:

[Parachutist, helicopter/plane to jump out of, a game logic exactly where you want them to drop (give or take 50m)] exec "halo.sqs"

example:

[aP,chopper1,markerdrop] exec "halo.sqs"

; ***************************************
; Operation Flashpoint Script
; ***************************************
; halo.sqs
; ***************************************


_man = _this select 0
_heli = _this select 1
_marker = _this select 2

_man moveincargo _heli
_markerpos = getpos _marker
_markerpos = [_markerpos select 0, _markerpos select 1, 2000]
_heli setpos _markerpos
_heli flyinheight 2000
_man setbehaviour "SAFE"


; changeable text, change part in brackets
_heli SideChat "Alpha prepare for drop. Over."
~9.5
_heli SideChat "Here we go. Three..."
~1.5
_heli SideChat "Two..."
~1.5
_heli SideChat "One..."
~1.5
_heli SideChat "Drop!"
~0.75

;halo drop part
_man setpos getpos _heli


;drop part
~24
;drop part


aP sidechat "die"
setacctime 0.001
_heli setpos getpos _man
_man moveincargo _heli
_man action ["eject", _heli]
_heli setpos [0,0,0]
deletevehicle _heli
setacctime 1
exit






There you go. Happy Dropping!

casual1y

General Goober

  • Guest
Re:paradropings
« Reply #3 on: 06 Feb 2003, 07:42:06 »
Hey I tried this out with your file. But my guys always hit the ground. Smack bang.  Guess what someone forgot to pack the parachute. Can anyone tell me what might be wrong.