Home   Help Search Login Register  

Author Topic: AH-64 with hook  (Read 329 times)

0 Members and 1 Guest are viewing this topic.

Shalashaska

  • Guest
AH-64 with hook
« on: 27 Dec 2004, 14:42:38 »
I'm making a special AH-64 (half normal, half Longbow).
It has a special hook which can carry up (or pick up) crates or similar.
Can someone make it for me?  ;D

I don't understand almost anything about scripts, and this is my first Addon.
THANKS  ;)

Dubieman

  • Guest
Re:AH-64 with hook
« Reply #1 on: 27 Dec 2004, 16:35:12 »
If made, I hope it can bludgeon ppl, now who wouldn't be scared of this big ol hook flyin at you? ;D :D

Can't you do this via scripting? Like, the BAS MH47 has a script that when it hovers over a 5ton truck or similiar vehicles (jeeps, jeeps mg,....) you can attach cargo and it uses a heli holding script. Could that work? Then make it so the object gets pulled up into the heli and deleted yet its contents are gotten by the chopper.

Isn't that what happened in those Strike games, Jungle strike, soviet strike.... :P

DBR_ONIX

  • Guest
Re:AH-64 with hook
« Reply #2 on: 28 Dec 2004, 17:59:26 »
The basis of the script would be..
#loop
_crate setpos [getpos _heli select 0, getpos _heli select 1, _getpos heli select 2 -5]
~0.01
?(droped):EXIT
goto "loop"

Hardest bit is
1) Getting the object pick up
2) WOrking out when to drop the box (Say if it hits ground)
- Ben