Return to index
Printable Version Abbreviations
GOURANGA! Forums > Editing > 3D Mods > GTA3 Flag resource
Post 1 | New
Superfly Driver
um, errr, well, you see...

  • Joined: Feb '03
  • Posts: 74
This is a note for all you modders out there on how to use flags for certain cars and their meanings.

The most important thing is that, contrary to what a lot of people say, bonnets that hinge forward, Shelby Cobra or Delorean style, are actually possible!!!

Read on:  :D

Flags, these are written in Hex and are read from right to left.

So it goes:

4th digit, 3rd digit, 2nd digit then 1st digit

The way it works:

1st digit:    
1: 1G_BOOST = unknown        
2: 2G_BOOST = unknown      
4: REV_BONNET = makes the bonnet hinge at the front instead of the rear (like the bonnet on a Shelby Cobra or a Delorean)    
8: HANGING_BOOT = For the rear door of 3 or 5 door cars such as the Landstalker or Perennial

2nd digit:
1: NO_DOORS = e.g. BF Injection
2: IS_VAN = makes the rear two doors possible (e.g. Ambulance)
4: IS_BUS = Adds air brakes etc.
8: IS_LOW = Used for sports cars to decrease chance of rolling

3rd  digit:
1: DBL_EXHAUST = Twin exhausts
2: TAILGATE_BOOT = used for pickup trucks e.g. bobcat
4: NOSWING_BOOT = used for lorries and trucks for the rear sliding door
8: NONPLAYER_STABILISER = makes the car more stable when driven by AI
  
4th digit
1: NEUTRALHANDLING  
2: HAS_NO_ROOF = used with convertibles e.g. stinger or stallion    
4: IS_BIG = Used with any large vehicle
8: HALOGEN_LIGHTS =  Halogen lights

Decimal to Hex:

0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F




------------------
Outstandlingly zealous, possibly mad, probably has more teeth than brain cells...
Post 2 | New
Superfly Driver
um, errr, well, you see...

  • Joined: Feb '03
  • Posts: 74
The following is example of how to create a hex number for the flags you want:

To create the hex number for the handling file, you add together any numbers that occur in the same digit.

So, lets say, from the 1st Digit, you wanted a reverse hinged bonnet and hanging boot.
Reverse hinged bonnet is 4 and hanging boot is 8.

4 + 8 =12,

12 written in hex is C.

So the first digit is C

Then say, from the 2nd digit, you wanted it to be low with no doors. No Doors is 1 and Low is 8.

1 + 8 = 9

So the second digit is 9.

So far you should have: 9C (don't forget you are reading form right to left)

Next, lets say, from the 3rd digit, you want twin exhausts.
Double Exhausts is 1.
So your 3rd digit is 1

So now you have: 19C

Lastly lets say you want no roof and halogen lights. No roof is 2 and halogen lights is 8.
 
2 + 8 =10

10 written is Hex is A.

So the last digit is A

Your finished Hex number is therefore: A19C

------------------
Outstandlingly zealous, possibly mad, probably has more teeth than brain cells...
Post 3 | New
Deleted Member
    Thanx that's very helpfull.
    How do i get images on this forum?
    Post 4 | New
    Superfly Driver
    um, errr, well, you see...

    • Joined: Feb '03
    • Posts: 74
    Lastly a note on creating doors, bonnets and boots in unconventional styles.

    For a bonnet that hinges forward like that on a Cobra, just setting the rev_bonnet flag is not enough. You have to remember on you model, to move the bonnet dummy to the front of the bonnet as well and make sure the bonnet axis aligns with the dummy.

    If you dont make this last change,  the bonnet will still pivot at the back, but will fold down into the engine bay instead of up.

    The same is true of cars with tailgate or drop down boots, like on pickup trucks or azz's mini.
    As well as setting the tailgate flag you have to place the dummy and the boot axis at the bottom as well.

    One last point is unconventional doors (e.g. gullwing, suicide or diablo style). At the moment only conventional doors are supported. But if we could find out what it is that's reading these hex flags, and make changes for extra flags to incorporate suicide, and gullwing doors, then cars like deloreans and lamborghinis would all look that much more realistic in game. Anyone who can offer help please PM or post a reply in this thread

    thanks  :D

    ------------------
    Outstandlingly zealous, possibly mad, probably has more teeth than brain cells...
    Post 5 | New
    Cerbera
    Ben 'Cerbera' Millard

    Cerbera's Avatar


    • Joined: Feb '03
    • Posts: 1,800
    Are you totally sure about those flags?  Have you properly tested them all, or are many just logically inferred?
    From my experience the flags make precious little difference on the way that cars work.  Only things were the dual exhausts, #G_BOOSTs and then the very specific things to do with door hinging.
    The "REV_[bodypart]" seem to reverse the end the part hinges from, apart from those there seems to be little gained.

    Any change of some graphic illustrations of the differences the flags make? :S

    ------------------
    My Grand Theft Auto Handling Editor
    My GTA Tutorials
    http://projectcerbera.com/button.png
    Post 6 | New
    Superfly Driver
    um, errr, well, you see...

    • Joined: Feb '03
    • Posts: 74
    Yes I am sure about the flags, certainly the ones regarding body panels like bonnets and boots etc. I do not have any pictures to hand presently but I will post some next time I log on.

    ------------------
    Outstandlingly zealous, possibly mad, probably has more teeth than brain cells...
    Post 7 | New
    Cerbera
    Ben 'Cerbera' Millard

    Cerbera's Avatar


    • Joined: Feb '03
    • Posts: 1,800
    Oh cool...once you've got pictures for it all would you mind if I formatted it and added it to my GTA3 vehicle tutorials page?
    The current page looks like THIS. :S

    ------------------
    My Grand Theft Auto Handling Editor
    My GTA Tutorials
    http://projectcerbera.com/button.png
    Post 8 | New
    Superfly Driver
    um, errr, well, you see...

    • Joined: Feb '03
    • Posts: 74
    You were not far off cerbera when you said flags do very little. Thats true. They are mostly for adding finishing touches to cars. Like for hanging_boot it makes sure the physics are correct for 3 or 5 door cars who's rear door is hinged and the top. And Tailgate_boot makes the bott hinge at the bottm pickup truck style. The flags do not have any immediate discernable affect on handling or anything like that, its just about adding the final effects.
    I have included below a link to a picture i set up very quickly, of a delorean with the bonnet actually hinging forward as it should. However if you want something for you page I shall spend a bit more time and create some proper pictures for you (the delorean in the picture has no textures, its not even mine, I just used it as an example)
     picture

    ------------------
    Outstandlingly zealous, possibly mad, probably has more teeth than brain cells...
    Post 9 | New
    Superfly Driver
    um, errr, well, you see...

    • Joined: Feb '03
    • Posts: 74
    Oh yeah, BTW sure its fine if you want to include it on your page. I would be honoured in fact. Pictures might be a while though cos I am in the middle of finishing my Ford Thunderbird and setting up my own website at the moment.

    ------------------
    Outstandlingly zealous, possibly mad, probably has more teeth than brain cells...
    Post 10 | New
    Cerbera
    Ben 'Cerbera' Millard

    Cerbera's Avatar


    • Joined: Feb '03
    • Posts: 1,800
    Honoured? Even though it's a sickly shade of green?! :p

    I had a play with the flags yesterday and found out the reverse function for the bonnet.  Of course, I'd prefer to see flags used as little as possible and the car to be designed so no special flags have to be set. :S
    The 1G_BOOST actually makes first gear more powerful.  I use it with any 4WD sports cars I set up, such as the Nissan Skyline, so that they can spin their wheels in first gear.

    As for images, pick a nice simple car like the Landstalker and just do before and after shots, with a description of the flags you changed.  Also, can someone give the final word on whether CSE3's flag list is ordered correctly?  I'm not sure if MultiEdit has them right either...

    ------------------
    My Grand Theft Auto Handling Editor
    My GTA Tutorials
    http://projectcerbera.com/button.png
    Printable Version Abbreviations
    IceyBoard 1.6.2 © 2002-12 Icey