Post: GTA4 Flying car codes
02-14-2011, 05:24 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); =================================================

Plane info, how it works.
For starters, GTA IV's coding is much like the previous version, which helped a lot. R* left over bits of coding from previous games, including airplane data which still works in the game.

Enough of the talk, let's get down to business. The single biggest factor into making a vehicle an airplane is to change the TYPE stat in the vehicle.ide file to plane instead of car. This will give the vehicle plane attributes such as being able to fly, pitch, and roll. I have yet to figure out how to apply yaw.

As with GTA SA you can simply add in the secondary handling line for the vehicle you are making a plane. This is the area where the line starts with a $ symbol near the end of the handling.dat file. Just simply copy an existing planes data line for ease and edit it as you like.

=================================================

I don't care how it works! Just give me code to fly!
First off, REMEMBER TO BACK UP YOUR FILES!

Now, I know a lot of people don't want to know how to make the vehicles into planes, they just want to take advantage of our findings.

As said before, I can NOT get yaw to work, that's the lateral left and right movement, like cars normally make driving down the road. So sadly you'll need a bit of a straight away to get up to speed to take off. Once you are in the air you can roll (regular left/right buttons) and pull up or down (lean forward/backward buttons) to turn in the desired direction.
Flaii posted a video in another where he seemed to be turning on the ground, so maybe he can shed some light on that subject.

Here's what I've done to get the Uranus flying.

Copy this over the URANUS lines in the handling.dat file.
Line 1 (first line)
CODE
URANUS 2000.0 15.0 75 0.0 0.0 0.0 0.0 1 0.30 1.0 250.0 0.5 0.60 0.7 45.0 0.95 0.85 8.0 0.10 0.5 1.2 0.7 0.7 0.20 -0.05 0.0 0.5 0.0 0.0 0.0 0.0 0.0 45000 4000000 400000 0


Line 2, add this in after the line that starts with "#$FIGHTER"
CODE
$ URANUS 1.0 2.0 0.0 -0.003 0.002 0.10 0.010 -0.0001 0.005 0.0050 0.0 0.1 1.0 1.0 0.0 0.01 0.5 0.5 0.5 0.5 0.5 0.5


Copy this over the URANUS line in the vehicles.ide file.
CODE
uranus, uranus, plane, URANUS, URANUS, VEH@LOW, VEH@LOW_HI2_HI2, 100, 999, 0.2250, 0.2250, 0.5 1, 1.0 ,1, ext_gang+ext_strong+ext_all


dont flame if this is all ready up havent seen it just helping
(adsbygoogle = window.adsbygoogle || []).push({});
02-14-2011, 10:59 PM #2
Could you just upload your File so we can just download it instead of going through the process?

The following user thanked Monster-Energy for this useful post:

xVzS-

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo