Home   Help Search Login Register  

Author Topic: looking for Airborne scripts (pick up weapons @ Ammo crate)  (Read 1852 times)

0 Members and 1 Guest are viewing this topic.

Offline Andre1983

  • Members
  • *
Hi to all!
Maybe some of you know that i (we) am working on a WW2 mod called Invasion of Holland.

I am experimenting with the German(Para's) Fallschirmjager of Atstwalkers and a Junkers 52.
I have a paradrop script.

What is the idea?
Like in "real" the Fallschirmjagers jumped without weapons.
And put in the INIT-line removeallweapons this; Unitsname moveincargo JU52;

they jumpt out when the Ju52 past a trigger with the paradrop script.

Land and the Idea is that they take weapons of the drop-conatiners and move on to the objectives.
Here we go..... >:(

http://www.ofpec.com/forum/index.php?topic=5836.0
i don't get this working

And i am looking for a "Ammo" paradrop script.. that a Ju52 drops ammo containers.

I need some scripts and triggers to get this working

- a trigger which checks if the unit(s) are on ground and no more in the parachute
- a script which makes the unit move towards the crate(s) and take the weapon/ammo out of it

Who can help me?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #1 on: 15 Dec 2007, 01:15:29 »
i can help you, and you can help you too.

ammo crate paradrop scripts...

sample conditions for "if the unit(s) are on ground and no more in the parachute":

Code: [Select]
?(vehicle unit_name==unit_name) && (getpos unit_name select 2<=2) - 1 unit

Quote
({?vehicle _x==_x} foreach units group_name) && ({getpos _x select 2<=2} foreach units group_name)
- 1 group



Offline Andre1983

  • Members
  • *
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #2 on: 16 Dec 2007, 15:15:31 »
Hi
well i tried some scripts but it is not what i am looking for.( it IS very close) (1 plane drops 1 ammo-conatiner)
i want to drop more then 1 ammo-container. 1 plane should drops 4!
http://nl.youtube.com/watch?v=rWGL2RKrn5I

i also don't get the cargodrop script working of the WW2EC C47-addon.

What is the idea:
An Airplane (Ju-52) with drop-containers inside.
will past a waypoint or trigger and drops out the cargo on a parachute.
http://ofp.gamepark.cz/index.php?showthis=9696
« Last Edit: 16 Dec 2007, 15:30:08 by Andre1983 »

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #3 on: 18 Dec 2007, 15:47:00 »
Look here for some scripts I wrote for equipment airdrops. Of course, I never got around to writing documentation because I am a lazy shit! I did however include a demo mission from which you can find your answer. Remember that ammo crates are STATIC objects, so make sure to use the code I provided for STATICs.

Is this for an SP or an MP mission?
urp!

Offline Andre1983

  • Members
  • *
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #4 on: 19 Dec 2007, 12:59:46 »
Hi to all
Well W0lle of the Bis-forum also tried to help me.
Look @ the zip file.
it needs the JU-52 plane of trenchfeet
ftp://www.ofpr.info/ofpd/unofaddons2/Ju52.exeEdit: attachment (paratroopers_new.zip) lost in the crash of 2009 - WEK
« Last Edit: 19 Jan 2011, 23:43:41 by Walter_E_Kurtz »

Offline Andre1983

  • Members
  • *
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #5 on: 12 Jan 2008, 21:11:03 »
No help??? :dry:

http://nl.youtube.com/watch?v=wsCsETAgNGI

well like you can see on the youtube movie.
the paratroopers land and pick up the weapons of the ammo crate.

You probelery will say: Well it looks good right?

Well YES and NO... :dunno:

This looks good!

BUT if I put the troops into an airplane and use a paradrop script things go WRONG...

they land and pick up their weapons out of the ground. ???

the Attach demo-mission uses NO special addons.

Please someone take a look @ it.


Edit: attachment (paratroopers.zip) lost in the crash of 2009 - WEK
« Last Edit: 19 Jan 2011, 23:44:11 by Walter_E_Kurtz »

Offline Andre1983

  • Members
  • *
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #6 on: 13 Jan 2008, 14:34:32 »
http://nl.youtube.com/watch?v=vNETLbxLrCc

well it is almost done
thank you for your time!

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: looking for Airborne scripts (pick up weapons @ Ammo crate)
« Reply #7 on: 13 Jan 2008, 15:57:44 »
Looks pretty cool, I think  :good:

But please do not post consecutively.
At least a couple of days should pass before 'replying to yourself'. If you have something to add to your previous post modify it instead.
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.