Home   Help Search Login Register  

Author Topic: drop crate  (Read 2380 times)

0 Members and 1 Guest are viewing this topic.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
drop crate
« on: 09 Feb 2007, 10:38:01 »
Does anyone have a copy of Dark Nova's dropcrate.sqs?  It used to be here but I guess got lost in the backup.  I used it for OFP and want to try it for Arma.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: drop crate
« Reply #1 on: 09 Feb 2007, 12:29:53 »
There are other Paradrop scripts in the Editors Depot, try some of those out.



Planck
I know a little about a lot, and a lot about a little.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re: drop crate
« Reply #2 on: 09 Feb 2007, 21:55:50 »
Actually, I have, and they are less than friendly to ArmA, I also found them less easy to use in OFP for ammocrates than the dropcrate.sqs

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: drop crate
« Reply #3 on: 09 Feb 2007, 22:22:27 »
Code: [Select]
_pos = getpos chopper

_ammobox = "ReammoBoxWest" createVehicle [0,0,0]
_parachute = "Parachute" camCreate [(_pos select 0) + 2,(_pos select 1) + 10, 175]
_parachute setdir random 360
_logic = "Logic" camCreate [0,0,0]
_logic moveInDriver _parachute

#ParaLoop
_parachute setVelocity [(velocity _parachute select 0) / 1.1, (velocity _parachute select 1) / 1.1, -6]
_ammobox setPos [getPos _logic select 0, getPos _logic select 1, (getPos _logic select 2) + 1]
_ammobox setdir getdir _logic
~0.01
? vehicle _logic != _logic : goto "ParaLoop"

_ammobox setPos [getPos _ammobox select 0, getPos _ammobox select 1, 0]
deleteVehicle _logic
;_smoke = "SmokeShellGreen" camCreate [getpos _ammobox select 0, getpos _ammobox select 1, 1]

that's from a script tyger wrote. no idea if it's dropcrate or what, but it's what i use. hope it's of use.

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re: drop crate
« Reply #4 on: 10 Feb 2007, 15:17:58 »
I was able to use your script bedges, but I had to modify it for my particular application, and do some tweaks for arma, here is what I am using, and it works pretty well, thanks for the jumpstart!
Code: [Select]
_chopper = "seagull" camcreate (getpos player)
_chopper flyInHeight 100;
_chopper setpos [getpos _chopper select 0,getpos _chopper select 1, 100]
_pos = getpos _chopper

_parachute = "Parachutewest" createvehicle (getpos _chopper)
_parachute flyInHeight 50
_parachute setpos [getpos _parachute select 0,getpos _parachute select 1, 100]
_parachute setdir random 360
_logic = "Logic" createvehicle (getpos _chopper)
_logic moveInDriver _parachute
deletevehicle _chopper
#ParaLoop
_parachute setVelocity [(velocity _parachute select 0) / 1.1, (velocity _parachute select 1) / 1.1, -6]
crate1 setPos [getPos _logic select 0, getPos _logic select 1, (getPos _logic select 2) + 1]
crate1 setdir getdir _logic
~0.01
? vehicle _logic != _logic : goto "ParaLoop"

crate1 setPos [getPos crate1 select 0, getPos crate1 select 1, 0]
deleteVehicle _logic
? local server : smoke = "smokeshellgreen" createvehicle getpos crate1

Offline Cheetah

  • Former Staff
  • ****
Re: drop crate
« Reply #5 on: 10 Feb 2007, 18:44:35 »
If the current scripts in our scripting depot aren't what you're looking for, because they might not be improved / working in ArmA, I suggest uploading your own. It turns out that you found a script (tyger's one) and improved it, if you think that more people could use it, please add a readme (don't forget to credit tyger), maybe a demo mission possibly some pictures and the optimized script and post it in ArmA Editing Resources.
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re: drop crate
« Reply #6 on: 10 Feb 2007, 20:58:40 »
Good idea Cheetah, I will put that together and u/l it today.  In the same mission I have also used a conversion of toadlifes real_halo.sqs which I will include as well

Offline USI Ziggy

  • Members
  • *
  • HorseShoes and HandGrenades
    • USI
Re: drop crate
« Reply #7 on: 11 Feb 2007, 15:18:52 »
thanks for the effort zombie    :yes: