Jump to content
Sign in to follow this  
Variable

Hercules crashing immediately after taking off

Recommended Posts

I am making a mission with a C-130 Hercules taking off from the North Western airport of Chernarus. The pilots get inside successfully and take off, but immediately after the plane is airborne it turns hard to the right and crash into the trees.

The plane can take off only when initially placed on the South Eastern end of the runway, when placing it on the North Western end it just aimlessly drives off the runway.

I tried changing the pilots waypoints with no luck, it always end up in those trees.

Does anyone has any ideas how to fix that?

Share this post


Link to post
Share on other sites

I had the exact same problem a while back, someone gave me a fix for it but I can't remember what the fix was. Someone will answer with one soon I hope.

Share this post


Link to post
Share on other sites
Monk;1619625']I had the exact same problem a while back' date=' someone gave me a fix for it but I can't remember what the fix was. Someone will answer with one soon I hope.[/quote']

Do you remember maybe if the solution was a script?

Thanks for the response.

Share this post


Link to post
Share on other sites

I did manage to get mine off the ground.

http://www.sendspace.com/file/f0yy9p

Moving the waypoint closer to the plane will determine the take off point.

It still needs some work, I'd like to find the pitch of the plane before adding more pitch so that it won't flicker.

Share this post


Link to post
Share on other sites
I did manage to get mine off the ground.

http://www.sendspace.com/file/f0yy9p

Moving the waypoint closer to the plane will determine the take off point.

It still needs some work, I'd like to find the pitch of the plane before adding more pitch so that it won't flicker.

Thanks F2k Sel. The Hercules crash to the trees in your mission as well. Could you please explain how do I use the script you provided with the mission?

Regards,

V

Share this post


Link to post
Share on other sites

Sorry I was being a plank, I forgot to save the mission before zipping it.

Anyway I've made it smoother now.

http://www.sendspace.com/file/s69cxw

All the script does is pitch the plane upwards giving it more elevation.

The code is just calling the games inbuilt functions.

The code simply loops about 30 times increasing pitch 0.1 each time.

I forgot you should remove the hint format line it was just for reference.

To use the script in your mission just drop the two files pitchup and init into your saved mission folder and place a function module on the map.

To call the script just place

nul=[planename] execvm"pitchup.sqf"

into a waypoint where you want the plane to get a bit more lift.

Edited by F2k Sel

Share this post


Link to post
Share on other sites

I just checked and the Hercules takes off and do not crash! Thanks a lot!

I will take a look into the script and merge it into my mission tomorrow.

Thanks again!

V

Share this post


Link to post
Share on other sites
Gnat;1619935']Depends if you want a script fix or an addon fix

Link to an addon at bottom this page

http://forums.bistudio.com/showthread.php?t=87317

Fixed the turning circle (now patched by BIS) and the "grab air and bank after takeoff" problem (not patched by BIS).

Thanks Gnat, but I am aiming at making a no-addon mission.

F2k Sel- In my mission the pilot starts outside the Hercules and enters it later on, so the waypoint of the plane is actually the pilot's. So do I need to change anything inside the script itself?

Edit: I should have put the plane's name in the script that is activated by the pilot's waypoint. now it works! Thanks a lot again F2k Se, you have solved my problem. When i will release this mission I will let you guys know of it by replying to this thread so stay subscribed :)

Edited by Variable

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  

×