IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
 
Reply to this topicStart new topic
> Airborne Assault, Want to be able to paradrop troops out of a chinook
paver001
post Mar 21 2009, 14:07
Post #1


New Member
*

Group: Members
Posts: 7
Joined: 20-March 09
Member No.: 5,372



I am trying to set up an airborne drop of troops. I still have not figured this out yet so here is what I would like to be able to do...

1. I need to set the altitude of my Chinook at a set height, and I need the helo to slow down to a given speed.
2. I need to get those troops out the back as fast as possible at a given location.
3. I need to get the Chinook to return to an airbase or carrier and land there, i know how to get more troops on the helo if I needed to.

Thanks in advance to anyone who can help me out. worship.gif


--------------------
All that is necessary for the triumph of evil is that good men do nothing.----Edmund Burke
 
Quote Post
Mnemonic
post Apr 1 2009, 20:15
Post #2


Junior Member
**

Group: Members
Posts: 15
Joined: 16-March 09
Member No.: 5,345



I'm not an expert, but for 1) you could try
unitname FlyInHeight x
for x in meters.
For 2), would a normal waypoint "transport unload" do the trick?

This post has been edited by Mnemonic: Apr 1 2009, 21:11


--------------------
The cake is a lie!
 
Quote Post
communistbastard
post Apr 1 2009, 22:30
Post #3


Member
***

Group: Members
Posts: 161
Joined: 7-September 07
Member No.: 1,086



Hmm I have always had a problem with FlyInHeight. I use it on choppers in such form "This FlyInHeight 100" but regardless of what variable I use the helicopter always starts an altitude of 50...
 
Quote Post
W0lle
post Apr 2 2009, 03:49
Post #4


Junior Member
**

Group: Members
Posts: 27
Joined: 30-August 08
From: Zimbabwe
Member No.: 4,048



for 1.

CODE
this setPos [getPos this select 0,getPos this select 1,100]; this flyInHeight 100


should do the trick. Chopper might still change altitude a bit though.

for 2.
Transport unload works fine. Alternatively you can use one of the many paradrop scripts around and execute it if the chopper is near the ground > 2 meters. inside a trigger which is activated by either the side or vehicle (syncronize trigger with chinook).

This post has been edited by W0lle: Apr 2 2009, 20:00
 
Quote Post
D@V£
post Apr 2 2009, 10:23
Post #5


Gee, I wish we had one of them doomsday machines.
Group Icon

Group: Moderators
Posts: 2,037
Joined: 13-November 06
From: Wales
Member No.: 155



QUOTE
Want to be able to paradrop troops out of a chinook


Transport unload will not work for this.

There are a few ways of doing it. If you want a good effect, you'll need scripting, otherwise, the action command should work.

CODE
_soldier action ["eject", vehicle soldier]


It's a bit tedious to put this for each unit in your group though, so what's usually better is this:

CODE
(_x action ["eject", chinook]) foreach units group SquadLeader


(Where chinook is the name of the aircraft in question, and squadleader is the name of the squadleader)


--------------------
The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you hate me love me secretly fear that Mark is watching you while you sleep. secretly wish that Mark is watching you while you sleep.
Site Issues Thread - Complain about site issues here. We might even fix them!
Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly".

QUOTE(Major Mike Shearer)
We can categorically state that we have not released man-eating badgers into the area.
QUOTE(Brace Belden)
A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one.
 
Quote Post
communistbastard
post Apr 3 2009, 04:01
Post #6


Member
***

Group: Members
Posts: 161
Joined: 7-September 07
Member No.: 1,086



CODE
this setPos [getPos this select 0,getPos this select 1,100]; this flyInHeight 100


When I use this code for some reason my AI pilot decides to fly back to the default altitude of 50...
 
Quote Post
Willus Killus
post Apr 5 2009, 09:12
Post #7


Member
***

Group: Members
Posts: 111
Joined: 24-August 07
From: England
Member No.: 1,064



QUOTE
When I use this code for some reason my AI pilot decides to fly back to the default altitude of 50...


then try...

CODE
this setPos [getPos this select 0,getPos this select 1,100]; this flyInHeight 200


If i remember correctly the FlyInHeight command does not use the same figures as the actual altitude, can be a little weird. Try experimenting with a few different numbers.

This post has been edited by Willus Killus: Apr 5 2009, 09:12


--------------------
If you make something idiot-proof, someone will create a better idiot.
 
Quote Post
Zuzivowo
post Apr 5 2009, 10:19
Post #8


Junior Member
**

Group: Members
Posts: 10
Joined: 11-August 08
Member No.: 3,889



QUOTE(communistbastard @ Apr 3 2009, 05:01) *
CODE
this setPos [getPos this select 0,getPos this select 1,100]; this flyInHeight 100


When I use this code for some reason my AI pilot decides to fly back to the default altitude of 50...


You have to put it on your waypoint aswell thumbsup.gif
 
Quote Post

Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 19th April 2024 - 21:30