Jump to content
Sign in to follow this  
jpinard

C130 Crash on takeoff in Chenarus

Recommended Posts

I have a C130 Hercules all lined-up (the correct way) at Chenarus's large primary airport. For some reason, at the end of the takeoff he banks sharp and then crashes into the trees. If he (AI) didn't bank after he lifts off (just went straight) he'd be fine. How can I make this work? I've even given him various types of waypoints but he seems to ignore them (or doesn't get a chance since he crashes so fast).

Thanks! :p

Share this post


Link to post
Share on other sites

There is a script knocking about some where but I made my own.

place the function module on the map as we are calling a BIS function.

just place a waypoint halfway down the runway and put this in the on act box.

nul=[planename] execvm"pitchup.sqf" ;  

and put this in the mission folder

// nul=[planename] execvm"pitchup.sqf" ;

_plane1 = _this select 0;

_pitchbank = _plane1 call BIS_fnc_getPitchBank;
_pitch     = _pitchbank select 0;
_bank      = _pitchbank select 1;

// hint format ["%1",_pitchbank];

for [{_p = _pitch},{_p < _pitch+20},{_p = _p + .1}] do
{
sleep 0.009;
[_plane1,_p, _bank] call BIS_fnc_setPitchBank;
};

If you place two or three waypoints with the pitch command one after the other it will send it into a stall.

Edited by F2k Sel

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  

×