Jump to content
Sign in to follow this  
HogRoot

Helicopter and Troop Help

Recommended Posts

First off let me say I have searched the forums extensively and found similar help, but not what I am really wanting.

I have a CH-47 sitting on the runway...on top of a invisible helo pad...my troops board the helo fine, but when I start my engines they all get out for some reason. If I start the engines before they get in it works fine and they dont get out.

2nd question....I am piloting the helo myself and I am wanting to transport the soldiers to a location...have them get out and do whatever. My problem is when I land at the destination I have it set up where they "Get out" even after landing on an invis heli pad they never get out. Do I need to put waypoints for my soldiers at the destination and sync it with my heli unload cargo waypoint? I have tried several different configs and nothing seems to work...I have tried the above...putting a waypoint for the soldiers...but instead of boarding the helo they take off to the next waypoint instead of "Get In' they helo. And yes I have the Get in synched with the heli "load" waypoint on the first invis heli pad.

ANy help would be appreciated.

Share this post


Link to post
Share on other sites

Not sure to understand correctly the issue.

Have a look to my post (with a screenshot) here.

You probably omit a WP UNLOAD synchronized with the GET OUT of the group.

Share this post


Link to post
Share on other sites
2nd question....I am piloting the helo myself and I am wanting to transport the soldiers to a location...have them get out and do whatever.  My problem is when I land at the destination I have it set up where they "Get out" even after landing on an invis heli pad they never get out.  Do I need to put waypoints for my soldiers at the destination and sync it with my heli unload cargo waypoint?  I have tried several different configs and nothing seems to work...I have tried the above...putting a waypoint for the soldiers...but instead of boarding the helo they take off to the next waypoint instead of "Get In' they helo.  And yes I have the Get in synched with the heli "load" waypoint on the first invis heli pad.

ANy help would be appreciated.

I can't tell from your post if they are in your squad or not. If they are in your squad, try ordering them to disembark. If they are not in your sqaud, try using a "TRANSPORT UNLOAD" waypoint for the chopper and synchronize it with your "GET OUT" waypoint. I'm not sure what is going on with the first part of your problem, it may be related to the general weirdnees that happens when you try to get a squad to board a chopper at the start of the mission; namely the chopper has to spool up and take off before you order them to board to get good results.

Hope that helps a little smile_o.gif

-Rick

Share this post


Link to post
Share on other sites
I have a CH-47 sitting on the runway...

I bet you that's the problem. You're using the Mapfact choppers right? I seem to recall they use a few scripts, including a start up script. These most commonly tamper with the vehicle's fuel (by draining it upon engine start to temporarily disable running the engine), and since AI now tend to leave vehicles without fuel that might be the problem. It might be something else from that script too other than the fuel drain, but it definately sounds like the scripting is to blame (especially since you said it only happens when you start the engines, nothing but a script will cause that kind of behaviour).

Share this post


Link to post
Share on other sites
I have a CH-47 sitting on the runway...

I bet you that's the problem. You're using the Mapfact choppers right? I seem to recall they use a few scripts, including a start up script. These most commonly tamper with the vehicle's fuel (by draining it upon engine start to temporarily disable running the engine), and since AI now tend to leave vehicles without fuel that might be the problem. It might be something else from that script too other than the fuel drain, but it definately sounds like the scripting is to blame (especially since you said it only happens when you start the engines, nothing but a script will cause that kind of behaviour).

Yes the Chinook is the mapfact chopper. SO I went in and tried it with a Uh-60 Black Hawk.

Put a helipad...load waypoint tied to bh....another helipad and unload cargo

squad of soldiers...waypoint get in synched with bh's load wp...then a get out order synched with unload cargo bh wp

My soldiers will get in the bh but then they will get out and start moving toward the get out wp.

I am trying all this on the runway just to test out...I don't want to do a lot of flying just to find out it doesnt work...but I am putting the waypoints far apart...any ideas why its not working now?

Share this post


Link to post
Share on other sites

In all my experiences, syncronizing get out waypoints with unload waypoints never works (but then again I haven't tried it very often), I'd say just delete the get out waypoint for the infantry, since the transport unload waypoint would automatically order them out anyway. Using waypoints works great when all units involved are AI, but if you have a player mixed in with those units they can screw things up, that's why I always use triggers as a failsafe to force the AI to cooperate with any unexpected behaviour from the player. The most effective way to land an AI chopper and have it wait with engines on with triggers is by doing the following:

1. Use a trigger over the LZ to detect when the chopper is present. When it's activated, use doStop followed by land "LAND" to land the chopper.

2. Create a trigger with the condition '(getpos chopper select 2 < 0.5)&&!(isEngineOn chopper)'. On activation use 'chopper flyInHeight 0; chopper engineOn true'. Give the trigger a 1 second delay.

3. When you want it to take off and continue with its waypoints, use another trigger with any condition you chose and put this for on activation: 'chopper flyInHeight 50; chopper doFollow chopper'

I also use setWPPos to move the waypoints over the chopper and player (if they're group leader) so they activate immediately.

Share this post


Link to post
Share on other sites

Well see that is the thing...I am wanting to pilot the chopper myself. I am creating a mission to fly as in a single player mission. If I use the unload cargo then I wont have to put a waypoint for my ai troops to get out? If they do this...then can I put another waypoint as in say...Search and Destroy because that is my ultimate goal...I just don't want them to take off to the "search and destroy" waypoint as soon as they board the chopper.

And I am not versed at all in scripting...I just started using the editor a few days ago...can't ya tell? wink_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×