Home   Help Search Login Register  

Author Topic: Paradrop ww2 style  (Read 947 times)

0 Members and 1 Guest are viewing this topic.

Johnnyorks

  • Guest
Paradrop ww2 style
« on: 20 Feb 2004, 18:00:36 »
hi, i downloaded the invasion 1944 demo and was woundering if anyone knows of any script i can use to para-drop the airbourne troops from martins c3 or if i can do anything to drop german troops from the ju-52? iv tried using scripts iv downloaded off here but they only work with c130s or choppers :( .  also, i downloaded the British WWII Pack and was trying to make a c47 drop the ammo crate by parachute as it says you can in the read me of the pack, but i had no luck, can anyone send me or know of a sample mision i can look at for that?
cheers

Offline Capt Ryan

  • Members
  • *
  • Heil Myself !
    • Capt Ryans World War II Adventures
Re:Paradrop ww2 style
« Reply #1 on: 22 Feb 2004, 14:02:21 »
Use this script :


;Ejection of Para's from C47 Transport Planes using autentic WWII delay - by Ryans ww2 Adventures.


a1 action["EJECT",plane1]; unassignvehicle a1

~0.5

a2 action["EJECT",plane1]; unassignvehicle a2

~0.5

a3 action["EJECT",plane1]; unassignvehicle a3

~0.5

a4 action["EJECT",plane1]; unassignvehicle a4

~0.5

a5 action["EJECT",plane1]; unassignvehicle a5

~0.5

a6 action["EJECT",plane1]; unassignvehicle a6

~0.5

a7 action["EJECT",plane1]; unassignvehicle a7

~0.5

a8 action["EJECT",plane1]; unassignvehicle a8

~0.5

a9 action["EJECT",plane1]; unassignvehicle a9

~0.5

a10 action["EJECT",plane1]; unassignvehicle a10

~0.5

a11 action["EJECT",plane1]; unassignvehicle a11

~0.5

a12 action["EJECT",plane1]; unassignvehicle a12





#exit


---------------------------------------------------------------------

Save as  "eject"sqs in the user mission folder , and execute it with a trigger on map - Init line shut read : [] exec "eject".sqs

Trencfeet will soon release his C47 Skytrain comes with complete drop action + cargo drop by ither manuel or scripted action.

Have fun

Ryan
« Last Edit: 22 Feb 2004, 14:04:34 by Capt Ryan »
Capt Ryans WWII Adventures -  http://www.ofpww2.dk

Offline Canukausiuka

  • Members
  • *
  • Iuka hate clean!
Re:Paradrop ww2 style
« Reply #2 on: 23 Feb 2004, 22:21:57 »
wouldn't it be easier to call it via a for loop?
Code: [Select]
;[group,plane] exec "Paradrop.sqs"

_group = _this select 0
_plane = _this select 1

_i = 0
#loop
  ?(_i >= count units group) : exit
  _man = (units _group) select _i
  _man action ["EJECT", _plane]
  unassignVehicle _man
  ~0.5
  goto "loop"
« Last Edit: 23 Feb 2004, 22:23:17 by Canukausiuka »
(Former) I44 Coder / Scripter / Voice Actor

Johnnyorks

  • Guest
Re:Paradrop ww2 style
« Reply #3 on: 24 Feb 2004, 15:14:51 »
thanks guys, ill give it a go, where do i write the script? sorry new to this
cheers

DBR_ONIX

  • Guest
Re:Paradrop ww2 style
« Reply #4 on: 25 Feb 2004, 18:44:05 »
Copy and paste that script in to Notepad, and save it in your user/your name missions/Missionname.island folder
And save it as Paradrop.sqs (Change *.txt option to Anyfiles in notepad under the name)

Hope you understand :)
- Ben

Johnnyorks

  • Guest
Re:Paradrop ww2 style
« Reply #5 on: 26 Feb 2004, 22:37:35 »
cheers ben, i did manage to do this the other day but cant get it to work with the trigger, think thats where im going wrong, ill figure it out.
ta
johnny