Results 1 to 9 of 9

Thread: Hercules crashing immediately after taking off

  1. #1
    Master Gunnery Sergeant Variable's Avatar
    Join Date
    Feb 5 2005
    Location
    Israel
    Posts
    1,317

    Hercules crashing immediately after taking off

    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?

  2. #2
    Banned
    Join Date
    Jul 8 2009
    Location
    UK, Ellesmere Port (ShitHole)
    Posts
    338
    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.

  3. #3
    Master Gunnery Sergeant Variable's Avatar
    Join Date
    Feb 5 2005
    Location
    Israel
    Posts
    1,317
    Author of the Thread
    Quote Originally Posted by [SAS]Monk View Post
    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.
    Do you remember maybe if the solution was a script?

    Thanks for the response.

  4. #4
    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.

  5. #5
    Master Gunnery Sergeant Variable's Avatar
    Join Date
    Feb 5 2005
    Location
    Israel
    Posts
    1,317
    Author of the Thread
    Quote Originally Posted by F2k Sel View Post
    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

  6. #6
    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
    Code:
    nul=[planename] execvm"pitchup.sqf"
    into a waypoint where you want the plane to get a bit more lift.
    Last edited by F2k Sel; May 1 2010 at 20:10.

  7. #7
    Master Gunnery Sergeant Variable's Avatar
    Join Date
    Feb 5 2005
    Location
    Israel
    Posts
    1,317
    Author of the Thread
    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

  8. #8
    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).

  9. #9
    Master Gunnery Sergeant Variable's Avatar
    Join Date
    Feb 5 2005
    Location
    Israel
    Posts
    1,317
    Author of the Thread
    Quote Originally Posted by [APS]Gnat View Post
    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
    Last edited by Variable; May 8 2010 at 08:30.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •