Code lists (GTA2)

Main Page > GTA2 > Modding Tutorial > Code lists


This page contains all codes of GTA2. You'll need these codes to script vehicles, objects, weapons, charaters and much more.

Vehicle codes

Vehicles

Voertuig Code
Aniston BD4 AMDB4
Arachnid SPIDER
Armed Land Roamer GUNJEEP
A-Type RTYPE
Beamer BMW
Benson MERC
Box Truck BOXTRUCK
Big Bug MONSTER
B-Type STYPE
Bug BUG
Bus BUS
Bulwark BUICK
Container TRUKCONT
Cop Car COPCAR
Dementia ISETTA
Dementia Limousine ISETLIMO
Eddy EDSEL
Fire Truck FIRETRUK
Furore GT ZCX5
G4 Bank Van BANKVAN
Garbage Truck GTRUCK
GT-A1 GT24640
Hachura STRIPETB
Hot Dog Van HOTDOG
Ice Cream Van ICECREAM
Jagular XK XK120
Jefferson JEFFREY
Karma Bus KRSNABUS
Land Roamer JEEP
Maurice MORRIS
Medicar MEDICAR
Meteor STRATOS
Meteor STRATOSB
Miara MIURA
Michelli Roadster T2000GT
Minx DART
Morton MORGAN
Pacifier APC
Panto FIAT
Pickup PICKUP
Romero ALFA
Rumbler WBTWIN
Schmidt MESSER
Shark GRAHAM
Special Agent Car EDSELFBI
Sports Limousine LIMO2
Spritzer SPRITE
Stinger STINGRAY
Stretch Limousine LIMO
SWAT Van SWATVAN
Tank TANK
Tanker TANKER
Taxi TAXI
Taxi Xpress STYPECAB
Tow Truck TOWTRUCK
Trance Am TRANCEAM
Transporter TRUKTRNS
T-Rex TBIRD
Truck Cab TRUKCAB1
Truck Cab SX TRUKCAB2
TV Van TVVAN
U-Jerk Truck VESPA
Van VAN
Wellard ALLARD
Z-Type VTYPE

Vehicle colors

Color Code
14Brown 0 (Default color, may be different when used with certain cars)
61Purple 1
71Black 2
591Blue 3
57Blue gray 4
41Bright green 5
22Bright red 6
17Brown 7
18Brown 8
56Silver blue 9
31Yellow 10
12Cream 11
52Cyan 12
44Dark beige 13
59Dark blue 14
58Deep blue 15
43Dark green 16
21Dark red 17
16Dark rust 18
13Gold 19
42Green 20
72Gray 21
32Yellow green 22
45Olive 23
24Orange 24
54Pale blue 25
23Pink red 26
62Purple 27
23Red 28
15Rust 29
73Silver 30
53Sky blue 31
51Turquoiz 32
74White gray 33
75White 34
11Yellow 35
55Lichtblauw 36 (Only usable with the G4 Bank Van)

Objects

This list contains all objects which can be used in GTA2. A lot of objects are remnants of unused features and may be glitchy. GTA Scripting.doc also mentions the objects CROSS, GRAVE and FBI BLOCK and the weapon MICROWAVE, but these aren't recognised by the compiler.

Weapons, pick-ups and damage types

Do not confuse weapon codes with the pick-up codes! Weapon codes are used to give a character a weapon, while pick-up codes are used to place weapon spawns in the map. Use car weapons only with the car they are meant for. The only exception is the vehicle flame thrower, which can be used on the Armed Land Roamer.

Weapon Code Pick-up Moving pick-up Damage type
Fist NO_WEAPON Na. Na. BY_PUNCH
Pistol PISTOL COLLECT_00 MOVING_COLLECT_00 BY_GUN
S-Uzi machine gun MACHINE_GUN COLLECT_01 MOVING_COLLECT_01 BY_GUN
Rocket launcher ROCKET_LAUNCHER COLLECT_02 MOVING_COLLECT_02 BY_ROCKET_LAUNCHER
Electrogun ELECTRO_GUN COLLECT_03 MOVING_COLLECT_03 BY_ELECTRO_WEAPON
Molotov cocktails MOLOTOV COLLECT_04 MOVING_COLLECT_04 BY_MOLOTOV
Grenades GRENADE COLLECT_05 MOVING_COLLECT_05 BY_GRENADE
Shotgun SHOTGUN COLLECT_06 MOVING_COLLECT_06 BY_SHOTGUN
Electro baton ELECTRO_BATON COLLECT_07 MOVING_COLLECT_07 Na.
Flame thrower FLAME_THROWER COLLECT_08 MOVING_COLLECT_08 BY_FLAMETHROWER
Silenced S-Uzi machine gun SILENCED_MACHINE_GUN COLLECT_09 MOVING_COLLECT_09 BY_GUN
Dual pistol DUAL_PISTOL COLLECT_10 MOVING_COLLECT_10 BY_GUN
Empty slot: yellow L WEAPON_11 COLLECT_11 MOVING_COLLECT_11 Na.
Empty slot: yellow M WEAPON_12 COLLECT_12 MOVING_COLLECT_12 Na.
Empty slot: yellow N WEAPON_13 COLLECT_13 MOVING_COLLECT_13 Na.
Empty slot: yellow O WEAPON_14 COLLECT_14 MOVING_COLLECT_14 Na.
Vehicle bomb CAR_BOMB COLLECT_15 MOVING_COLLECT_15 BY_CAR_BOMB
Vehicle oil slick CAR_OIL COLLECT_16 MOVING_COLLECT_16 Na.
Vehicle mines CAR_MINE COLLECT_17 MOVING_COLLECT_17 BY_EXPLOSION
Vehicle machine guns CAR_MACHINE_GUN COLLECT_18 MOVING_COLLECT_18 BY_GUN
Vehicle rocket launcher TANK_ROCKET_LAUNCHER COLLECT_19 MOVING_COLLECT_19 BY_ROCKET_LAUNCHER
Vehicle water canon WATER_CANNON COLLECT_20 MOVING_COLLECT_20 BY_WATER_CANNON
Vehicle flame thrower CAR_FLAMETHROWER COLLECT_21 MOVING_COLLECT_21 BY_FLAMETHROWER
Armed Land Roamer machine gun JEEP_GUN COLLECT_22 MOVING_COLLECT_22 BY_GUN
Instant vehicle bomb CAR_BOMB_INSTANT COLLECT_23 MOVING_COLLECT_23 BY_CAR_BOMB
Explosions Na. Na. Na. BY_EXPLOSION
Drowning Na. Na. Na. BY_DROWNING
Fire Na. Na. Na. BY_FIRE
Any weapon Na. Na. Na. BY_ANY_WEAPON
Any gun Na. Na. Na. BY_GUN
Any foot weapon Na. Na. Na. BY_ANY_FOOT_WEAPON

Power-ups

Power-up Pick-up Moving pick-up
Empty slot: blue J COLLECT_24 MOVING_COLLECT_24
Empty slot: blue K COLLECT_25 MOVING_COLLECT_25
Empty slot: blue L COLLECT_26 MOVING_COLLECT_26
Empty slot: blue M COLLECT_27 MOVING_COLLECT_27
Multiplier +1 COLLECT_28 MOVING_COLLECT_28
Life +1 COLLECT_29 MOVING_COLLECT_29
Health COLLECT_30 MOVING_COLLECT_30
Armor COLLECT_31 MOVING_COLLECT_31
Get outta jail freecard COLLECT_32 MOVING_COLLECT_32
Cop bribe COLLECT_33 MOVING_COLLECT_33
Invulnerability* COLLECT_34 MOVING_COLLECT_34
Double damage COLLECT_35 MOVING_COLLECT_35
Fast reload COLLECT_36 MOVING_COLLECT_36
Electrofingers COLLECT_37 MOVING_COLLECT_37
Respect! COLLECT_38 MOVING_COLLECT_38
Invisibility COLLECT_39 MOVING_COLLECT_39
Instant gang COLLECT_40 MOVING_COLLECT_40

Objects

Object Notes Code
Bench Only movable with a car BENCH
Garbage bin Almost unmovable BIN
Lid of a garbage bin Only movable on foot BIN_LID
Ghetto blaster With sound BLASTER
Blood stain From GTA1 BLOOD
GTA2 Bonus badge BONUS_TOKEN
Bomb HUD image BOMB
Two cardboard boxes Fall apart when you drive or walk over them. BOXES
Briefcase In blue circle. BRIEFCASE
Max Paynt See Car shop placement CAR_SHOP
traffic cone Movable. CONE
Crate Falls apart when you drive or walk over it. CRATE
Soccer ball Movable. FOOTY
Box Movable HARDBOX
Pipe Unmovable. HYDRANT
Lid of a pipe Movable. HYDRANT_LID
Pipe without lid Unmovable. HYDRANT_UNLID
Invisible target For Tanks INVISIBLE_TARGET
Invisible roadblock INVISIBLE_DESTRUCTIBLE
Wrecked invisible roadblock INVISIBLE_DEAD
Vehicle mine MINE
News stand Movable NEWSDIS
Vehicle oil slick OIL
Animation of a vehicle oil slick ANIMATING_OIL
Oil barrel Movable. OILDRUM
Package Movable. PACKAGE
Blue telephone PHONE
Green telephone GREEN_PHONE
Yellow telephone YELLOW_PHONE
Red telephone RED_PHONE
Generator POWERGEN
Wrecked generator POWERGEN_DEAD
Two red footprints RED_FOOTPRINTS
RC Badge REMOTE
Roadblock Only movable with a car. ROADBLOCK
Rubbish Falls apart when you drive or walk over it. RUBBISH
Traffic light Stays red. TRAFFIC_LIGHT
Car tyre Movable. TYRE
Train tunnel block Only trains can pass through it. TUNNEL_BLOCKER
Kill Frenzy bagde KILL_FRENZY

Characters

Character remaps

Code Character
0 Cop
1 Green SWAT cop
2 Red SWAT cop
3 Yellow SWAT cop
4 Soldier
5 Redneck #1
6 Redneck #2
7 SRS Scientist
8 Zaibatsu
9 Hare Krishna
10 Russian
11 Loonie
12 Elvis
13 Yakuza
14 Fire fighter
15 Car jacker
16 Medic
17 Pickpocket
18 Blue pedestrian
19 Light blue pedestrian
20 Red pedestrian
21 Pedestrian
22 Prisoner
23 Poisened pedestrian
24 Poisened pedestrian
25 Claude Speed (default player ped)
26 Naked pedestrian
27 t/m 52 Other generic pedestrians

Character occupations

Occupation Code
No occupation NO_OCCUPATION
Normal pedestrian DUMMY
Pedestrian who attacks everyone PSYCHO
Pickpocket MUGGER
Bank robber BANK_ROBBER
Ped who responds to attacks CRIMINAL
Ped who attacks CRIMINAL_TYPE2 CRIMINAL_TYPE1
Ped who attacks CRIMINAL_TYPE1 CRIMINAL_TYPE2
Tank driver TANK_DRIVER
Mission ped DRONE
Refugee REFUGEES
Car thief CAR_THIEF
Driver DRIVER
Elvis chain member ELVIS
Elvis chain leader ELVIS_LEADER
Special Agent FBI
Fire fighter FIREMAN
Guard GUARD
Guard who attacks the player GUARD_AGAINST_PLAYER
Pickpocket MUGGER
Police officer POLICE
Road block tank driver ROAD_BLOCK_TANK_MAN
Special group member SPECIAL_GROUP_MEMBER
Stationary ped STAND_STILL_BLOKE
SWAT cop SWAT
Soldier ARMY

Sounds

Geluid Code
Nothing WIND
Music with strong beat NIGHT_CLUB
Music with strong beat BAR
Industrial hum GENERATOR_RUMBLE
Work shop WORKSHOP
Church organ CHURCH_SINGING
Krishna mantra TEMPLE_CHANT
Industrial hum INDUSTRIAL_HIGH
various ped screams HUMAN_ABATTOIR
Various crazy laughs FUNNY_FARM
Bank alarm BANK_ALARM
Industrial hum INDUSTRIAL_LOW
Bubbling water with sigh. PORTA_LOO
Streaming water WATERFALL
Cricket chirp CRICKETS
Nothing PRISON
Psison alarm PRISON_ALARM
Gang shouting "Let us out!" GANG_DUMPED
Various laughs SMUG_LAUGH
Nothing PRISON_YARD
Riot PRISON_RIOT
Gang shouting "Let us out!" GANG_LOCKED_IN_BUS
Nothing SHOPPING_MALL
Ticking clock CLOCK_TOWER
Yeehaa! (INSTANT only) YEEHA_BOMB
Bowling allay BOWLING_ALLAY
Nothing CROWD_NOISE
Industrial fan FAN_NOISE
Nothing GENERATOR_LOSE_POWER
Scream (INSTANT only) SCREAM
Ticking bomb BOMB_TICK
INSTANT only BOMB_TICK_SHIT
Nothing DETECTED_MUMBLE
Krishna chant (from GTA1) KRISHNA_CHANT
Crying (INSTANT only) CRYING
Clicking sound (INSTANT only) ROCKET_LAUNCH_FAIL_CLICK
Cray laugh (INSTANT only) ROCKET_FAIL_LAUGH
Poisened ped (INSTANT only) POISONED
Industrial hum POWER_PLANT
Muble MUMBLE
Music with saxophone JAZZ_CLUB
Music with gitar COUNTRY_CLUB
Mumble with ticking sound BAR_2
Music with deep bass STRIP_CLUB
Krishna chant TEMPLE_2
Opening garage GARAGE_OPEN
Closing garage GARAGE_CLOSE
People screaming "Let us out!" LET_ME_OUT
bubbling water VAT
Industrial hum PYLON
Nothing SKID

Radio stations

Station Code
Futuro FM STATION_ZAIBATSU
Heavenly Radio STATION_KRISHNA
KGBH Radio STATION_RUSSIAN
KREZ STATION_RESIDENTIAL
Lithium Radio STATION_LOONIE
Lo Fi FM STATION_INDUSTRIAL
Osmosis FM STATION_SCIENTIST
Rebel Radio STATION_REDNECK
Rockstar Radio STATION_DOWNTOWN
Tsunami FM STATION_YAKUZA

Lock types

Unlocked UNLOCKED
No lock NO_LOCK
Always locked LOCKED_PERMANENTLY
Locked for everyone LOCKED
Locked for car thiefs LOCKOUT_THIEF
Locked for players LOCKOUT_PLAYER

Kill Frenzy codes

Kill Frenzy rewards

Nothing NOTHING
Money SCORE
Lives LIVES
Multiplier MULT

Kill Frenzy targets

Cops ANY_LAW_ENFORCEMENT
Medics ANY_EMERGENCY_SERVICE_MAN
Gang members ANY_GANG_MEMBER
Elvis ANY_ELVIS

Car crusher rewards

~1 S-Uzi machine gun
~2 Rocket launcher
~3 Electrogun
~4 Molotov cocktails
~5 Grenades
~6 Shotgun
~7 Electro baton (script a vehicle which is already in the list or a large vehicle here to prevent players from getting the electro baton)
~8 Flame thrower
~9 Silenced S-Uzi machine gun
~10 Health
~11 Armor
~12 Get outta jail freecard
~13 Cop bribe
~14 Invulnerability*
~15 Double damage
~16 Fast reload
~17 Electrofingers
~18 Respect!
~19 Invisibility

Gang IDs

0 Empty slot: big purple arrow, strange respect-o-meter.
1 Loonies
2 Yakuza
3 Zaibatsu Corporation
4 Rednecks
5 SRS Scientists
6 Hare Krishna
7 Russian Mafia
8 Invisible gang: No arrow or respect-o-meter.
Modding tutorials of Grand Theft Auto 2
Mapping Map Editor · Buildings · Roads · Water & animations · Slopes · Flat tiles · Collision info · Level edge · Zones · Putting a level ingame
Scripting Declarering: Main script · Script Compiler · Code lists · Commands · Vehicles · Objects · Sounds · Characters
Programming: IF · WHILE · COUNTERs · Subroutines · THREAD TRIGGERs · Kill Frenzies
Both Manual · Lighting · Car shops · Cranes & crushers · Gangs · Subway · Multiplayer levels
File types .gci · .gmp · .gxt · .mis · .mmp · .scr · .seq · .tmp · .sty
Other Texting · Physics · Creating vehicles · Terminology · Installing levels

Read in another language

This page is available in 1 language