MatchModelString
MatchModelString
is a function in GTA III, Vice City, and San Andreas. The games use index matching to match a map model name with its index, which is defined in the OBJS, TOBJ, or WEAP sections of an item definition file. The index is then stored at the listed memory address which the games can use to further manipulate the object as listed in the properties column. The following tables are ordered based the models' appearance in the function.
Contents
GTA III
The function is at memory address 0x48F030 in v1.0 US.
Model name | Address | Properties |
---|---|---|
fire_hydrant | 0x5F5A00 | |
bagelstnd02 | 0x5F59FC | |
fish01 | 0x5F59EC | |
fishstall02 | 0x5F59F0 | |
fishstall03 | 0x5F59F4 | |
fishstall04 | 0x5F59F8 | |
taxisign | 0x5F59E8 | |
phonesign | 0x5F59E4 | |
noparkingsign1 | 0x5F59E0 | |
bussign1 | 0x5F59DC | |
roadworkbarrier1 | 0x5F59D8 | |
dump1 | 0x5F59D4 | |
trafficcone | 0x5F59D0 | |
newsstand1 | 0x5F59CC | |
postbox1 | 0x5F59C8 | |
bin1 | 0x5F59C4 | |
wastebin | 0x5F59C0 | |
phonebooth1 | 0x5F59BC | |
parkingmeter | 0x5F59B8 | |
trafficlight1 | 0x5F5958 | |
lamppost1 | 0x5F595C | |
lamppost2 | 0x5F5960 | |
lamppost3 | 0x5F5964 | |
doublestreetlght1 | 0x5F5968 | |
rd_Road2A10 | 0x5F596C | |
rd_Road1A30 | 0x5F5970 | |
veg_tree1 | 0x5F5974 | |
veg_tree3 | 0x5F5978 | |
veg_treea1 | 0x5F597C | |
veg_treenew01 | 0x5F5980 | |
veg_treenew05 | 0x5F5984 | |
veg_treeb1 | 0x5F5988 | |
veg_treenew10 | 0x5F598C | |
veg_treea3 | 0x5F5990 | |
veg_treenew09 | 0x5F5994 | |
veg_treenew08 | 0x5F5998 | |
veg_treenew03 | 0x5F599C | |
veg_treenew16 | 0x5F59A0 | |
veg_treenew17 | 0x5F59A4 | |
veg_treenew06 | 0x5F59A8 | |
doc_crane_cab | 0x5F59AC | |
cranetopb | 0x5F59B0 | |
cranetopa | 0x5F59B4 | |
package1 | 0x5F5A04 | |
Money | 0x5F5A08 | |
barrel1 | 0x5F5A0C | |
oddjgaragdoor | 0x5F5A10 | |
bombdoor | 0x5F5A14 | |
door_bombshop | 0x5F5A18 | |
vheistlocdoor | 0x5F5A1C | |
door2_garage | 0x5F5A20 | |
ind_slidedoor | 0x5F5A24 | |
bankjobdoor | 0x5F5A28 | |
door_jmsgrage | 0x5F5A2C | |
jamesgrge_kb | 0x5F5A30 | |
door_sfehousegrge | 0x5F5A34 | |
shedgaragedoor | 0x5F5A38 | |
door4_garage | 0x5F5A3C | |
door_col_compnd_01 | 0x5F5A40 | |
door_col_compnd_02 | 0x5F5A44 | |
door_col_compnd_03 | 0x5F5A48 | |
door_col_compnd_04 | 0x5F5A4C | |
door_col_compnd_05 | 0x5F5A50 | |
impex_door | 0x5F5A54 | |
SalvGarage | 0x5F5A58 | |
door3_garage | 0x5F5A5C | |
leveldoor2 | 0x5F5A60 | |
double_garage_dr | 0x5F5A64 | |
amcogaragedoor | 0x5F5A68 | |
towergaragedoor1 | 0x5F5A6C | |
towergaragedoor2 | 0x5F5A70 | |
towergaragedoor3 | 0x5F5A74 | |
plysve_gragedoor | 0x5F5A78 | |
impexpsubgrgdoor | 0x5F5A7C | |
Sub_sprayshopdoor | 0x5F5A80 | |
ind_plyrwoor | 0x5F5A84 | |
8ballsuburbandoor | 0x5F5A88 | |
barrel2 | 0x5F5A8C | |
crushercrush | 0x5F5A90 | |
crushertop | 0x5F5A94 | |
donkeymag | 0x5F5A98 | |
bullion | 0x5F5A9C | |
floatpackge1 | 0x5F5AA0 | |
briefcase | 0x5F5AA4 | |
chinabanner1 | 0x5F5AA8 | |
chinabanner2 | 0x5F5AAC | |
chinabanner3 | 0x5F5AB0 | |
chinabanner4 | 0x5F5AB4 | |
iten_chinatown5 | 0x5F5AB8 | |
iten_chinatown7 | 0x5F5ABC | |
iten_chinatown3 | 0x5F5AC0 | |
iten_chinatown2 | 0x5F5AC4 | |
iten_chinatown4 | 0x5F5AC8 | |
iten_washline01 | 0x5F5ACC | |
iten_washline02 | 0x5F5AD0 | |
iten_washline03 | 0x5F5AD4 | |
chinalanterns | 0x5F5AD8 | |
glassfx1 | 0x5F5ADC | |
glassfx2 | 0x5F5AE0 | |
glassfx3 | 0x5F5AE4 | |
glassfx4 | 0x5F5AE8 | |
glassfx55 | 0x5F5AEC | |
glassfxsub1 | 0x5F5AF0 | |
glassfxsub2 | 0x5F5AF4 | |
glassfx_composh | 0x5F5AF8 | |
bridge_liftsec | 0x5F5AFC | |
bridge_liftweight | 0x5F5B00 | |
subbridge_lift | 0x5F5B04 | |
barrel4 | 0x5F5B08 | |
flagsitaly | 0x5F5B0C | |
adrenaline | 0x5F5B10 | |
bodyarmour | 0x5F5B14 | |
info | 0x5F5B18 | |
health | 0x5F5B1C | |
bonus | 0x5F5B20 | |
bribe | 0x5F5B24 | |
killfrenzy | 0x5F5B28 | |
camerapickup | 0x5F5B2C | |
bollardlight | 0x5F5B30 | |
magnet | 0x5F5B34 | |
streetlamp1 | 0x5F5B38 | |
streetlamp2 | 0x5F5B3C | |
railtrax_lo4b | 0x5F5B40 | |
bar_barrier10 | 0x5F5B44 | |
bar_barrier12 | 0x5F5B48 | |
petrolpump | 0x5F5B4C | |
bodycast | 0x5F5B50 | |
backdoor | 0x5F5B54 | |
coffee | 0x5F5B58 | |
bouy | 0x5F5B5C | |
parktable1 | 0x5F5B60 | |
sbwy_tunl_start | 0x5F5B64 | |
sbwy_tunl_bit | 0x5F5B68 | |
sbwy_tunl_bend | 0x5F5B6C | |
sbwy_tunl_cstm6 | 0x5F5B70 | |
sbwy_tunl_cstm7 | 0x5F5B74 | |
sbwy_tunl_cstm8 | 0x5F5B78 | |
sbwy_tunl_cstm10 | 0x5F5B7C | |
sbwy_tunl_cstm9 | 0x5F5B80 | |
sbwy_tunl_cstm11 | 0x5F5B84 | |
sbwy_tunl_cstm1 | 0x5F5B88 | |
sbwy_tunl_cstm2 | 0x5F5B8C | |
sbwy_tunl_cstm4 | 0x5F5B90 | |
sbwy_tunl_cstm3 | 0x5F5B94 | |
sbwy_tunl_cstm5 | 0x5F5B98 | |
subplatform_n2 | 0x5F5B9C | |
suby_tunl_start | 0x5F5BA0 | |
sbwy_tunl_start2 | 0x5F5BA4 | |
indy_tunl_start | 0x5F5BA8 | |
indsubway03 | 0x5F5BAC | |
comerside_subway | 0x5F5BB0 | |
subplatform | 0x5F5BB4 | |
subplatform_n | 0x5F5BB8 | |
Otherside_subway | 0x5F5BBC | |
subplatform_sub | 0x5F5BC0 | |
files | 0x5F5BC4 |
Vice City
The function is at memory address 0x4A75DD in v1.0 US.
Model name | Address | Variable name | Properties |
---|---|---|---|
fire_hydrant | 0x68E8A4 | MI_FIRE_HYDRANT |
|
phonesign | 0x68E8A0 | MI_PHONESIGN |
|
noparkingsign1 | 0x68E89C | MI_NOPARKINGSIGN1 |
|
bussign1 | 0x68E898 | MI_BUSSIGN1 |
|
roadworkbarrier1 | 0x68E894 | MI_ROADWORKBARRIER1 |
|
dump1 | 0x68E890 | MI_DUMP1 |
|
trafficcone | 0x68E88C | MI_TRAFFICCONE |
|
newsstand1 | 0x68E888 | MI_NEWSSTAND |
|
postbox1 | 0x68E884 | MI_POSTBOX1 |
|
bin1 | 0x68E880 | MI_BIN |
|
wastebin | 0x68E87C | MI_WASTEBIN |
|
phonebooth1 | 0x68E878 | MI_PHONEBOOTH1 |
|
parkingmeter | 0x68E860 | MI_PARKINGMETER |
|
parkingmeterg | 0x68E864 | MI_PARKINGMETER2 |
|
mall_fans | 0x68E868 | MI_MALLFAN |
|
htl_fan_rotate_nt | 0x68E86C | MI_HOTELFAN_NIGHT |
|
htl_fan_rotate_dy | 0x68E870 | MI_HOTELFAN_DAY |
|
hotroomfan | 0x68E874 | MI_HOTROOMFAN |
|
trafficlight1 | 0x68E810 | MI_TRAFFICLIGHTS |
|
MTraffic4 | 0x68E814 | MI_TRAFFICLIGHTS_VERTICAL |
|
MTraffic1 | 0x68E818 | MI_TRAFFICLIGHTS_MIAMI |
|
MTraffic2 | 0x68E81C | MI_TRAFFICLIGHTS_TWOVERTICAL |
|
lamppost1 | 0x68E820 | MI_SINGLESTREETLIGHTS1 |
|
lamppost2 | 0x68E824 | MI_SINGLESTREETLIGHTS2 |
|
lamppost3 | 0x68E828 | MI_SINGLESTREETLIGHTS3 |
|
doublestreetlght1 | 0x68E82C | MI_DOUBLESTREETLIGHTS |
|
Streetlamp1 | 0x68E830 | MI_STREETLAMP1 |
|
Streetlamp2 | 0x68E834 | MI_STREETLAMP2 |
|
veg_tree3 | 0x68E838 | MI_TREE2 |
|
veg_treea1 | 0x68E83C | MI_TREE3 |
|
veg_treeb1 | 0x68E840 | MI_TREE6 |
|
veg_treea3 | 0x68E844 | MI_TREE8 |
|
doc_crane_cab0 | 0x68E848 | MODELID_CRANE_1 |
|
doc_crane_cab01 | 0x68E84C | MODELID_CRANE_2 |
|
doc_crane_cab02 | 0x68E850 | MODELID_CRANE_3 |
|
doc_crane_cab03 | 0x68E854 | MODELID_CRANE_4 |
|
boatcranelg0 | 0x68E858 | MODELID_CRANE_5 |
|
LODnetopa0 | 0x68E85C | MODELID_CRANE_6 |
|
package1 | 0x68E8A8 | MI_COLLECTABLE1 |
|
Money | 0x68E8AC | MI_MONEY |
|
barrel1 | 0x68E8B0 | MI_CARMINE |
|
dk_paynspraydoor | 0x68E8B4 | MI_GARAGEDOOR2 | |
dk_waretankdoor1 | 0x68E8B8 | MI_GARAGEDOOR3 | |
hav_garagedoor1 | 0x68E8BC | MI_GARAGEDOOR4 | |
hav_garagedoor02 | 0x68E8C0 | MI_GARAGEDOOR5 | |
hav_garagedoor03 | 0x68E8C4 | MI_GARAGEDOOR6 | |
hav_garagedoor04 | 0x68E8C8 | MI_GARAGEDOOR7 | |
lh_showdoor03 | 0x68E8CC | MI_GARAGEDOOR9 | |
lh_showdoor1 | 0x68E8D0 | MI_GARAGEDOOR10 | |
lhtankdoor | 0x68E8D4 | MI_GARAGEDOOR11 | |
nbtgardoor | 0x68E8D8 | MI_GARAGEDOOR12 | |
dk_camjonesdoor | 0x68E8DC | MI_GARAGEDOOR13 | |
nbtgardoor02 | 0x68E8E0 | MI_GARAGEDOOR14 | |
dt_savedra | 0x68E8E4 | MI_GARAGEDOOR15 | |
dt_savedrb | 0x68E8E8 | MI_GARAGEDOOR16 | |
dk_bombdoor | 0x68E8EC | MI_GARAGEDOOR18 | |
haiwshpnsdoor | 0x68E8F0 | MI_GARAGEDOOR19 | |
wshpnsdoor | 0x68E8F4 | MI_GARAGEDOOR20 | |
nbecpnsdoor | 0x68E8F8 | MI_GARAGEDOOR21 | |
nbtgardoor03 | 0x68E8FC | MI_GARAGEDOOR22 | |
dt_savedrc | 0x68E900 | MI_GARAGEDOOR23 | |
dt_savedrd | 0x68E904 | MI_GARAGEDOOR24 | |
man_frntstepGD | 0x68E908 | MI_GARAGEDOOR25 | |
svegrgedoor | 0x68E90C | MI_GARAGEDOOR26 | |
barrel2 | 0x68E910 | MI_NAUTICALMINE |
|
briefcase | 0x68E914 | MI_BRIEFCASE |
|
wglasssmash | 0x68E918 | MI_GLASS1 | |
glassfx_composh | 0x68E91C | MI_GLASS8 | |
barrel4 | 0x68E920 | MI_EXPLODINGBARREL |
|
adrenaline | 0x68E924 | MI_PICKUP_ADRENALINE |
|
bodyarmour | 0x68E928 | MI_PICKUP_BODYARMOUR |
|
info | 0x68E92C | MI_PICKUP_INFO |
|
health | 0x68E930 | MI_PICKUP_HEALTH |
|
bonus | 0x68E934 | MI_PICKUP_BONUS |
|
bribe | 0x68E938 | MI_PICKUP_BRIBE |
|
killfrenzy | 0x68E93C | MI_PICKUP_KILLFRENZY |
|
camerapickup | 0x68E940 | MI_PICKUP_CAMERA |
|
bigdollar | 0x68E944 | MI_PICKUP_REVENUE |
|
pickupsave | 0x68E948 | MI_PICKUP_SAVEGAME |
|
property_locked | 0x68E94C | MI_PICKUP_PROPERTY |
|
property_fsale | 0x68E950 | MI_PICKUP_PROPERTY_FORSALE |
|
clothesp | 0x68E954 | MI_PICKUP_CLOTHES |
|
bollardlight | 0x68E958 | MI_BOLLARDLIGHT |
|
bar_barrier10 | 0x68E95C | MI_FENCE | |
bar_barrier12 | 0x68E960 | MI_FENCE2 | |
petrolpump | 0x68E964 | MI_PETROLPUMP |
|
washgaspump | 0x68E968 | MI_PETROLPUMP2 |
|
bouy | 0x68E96C | MI_BUOY | |
parktable1 | 0x68E970 | MI_PARKTABLE |
|
lamppost1 | 0x68E974 | MI_LAMPPOST1 |
duplicate entry |
veg_palm04 | 0x68E978 | MI_VEG_PALM01 |
|
veg_palwee02 | 0x68E97C | MI_VEG_PALM02 |
|
veg_palmkbb11 | 0x68E980 | MI_VEG_PALM03 |
|
veg_palmkb4 | 0x68E984 | MI_VEG_PALM04 |
|
veg_palm02 | 0x68E988 | MI_VEG_PALM05 |
|
veg_palmkb3 | 0x68E98C | MI_VEG_PALM06 |
|
veg_palmbig14 | 0x68E990 | MI_VEG_PALM07 |
|
veg_palm01 | 0x68E994 | MI_VEG_PALM08 |
|
mlamppost | 0x68E998 | MI_MLAMPPOST |
|
roadworkbarrier1 | 0x68E99C | MI_BARRIER1 |
duplicate entry |
littleha_police | 0x68E9A0 | MI_LITTLEHA_POLICE | |
telgrphpole02 | 0x68E9A4 | MI_TELPOLE02 |
|
trafficlight1 | 0x68E9A8 | MI_TRAFFICLIGHT01 |
|
parkbench1 | 0x68E9AC | MI_PARKBENCH |
|
Money | 0x68E8AC | MI_MONEY |
duplicate entry |
plc_stinger | 0x68E9B0 | MI_PLC_STINGER |
|
od_lightbeam | 0x68E9B4 | MI_LIGHTBEAM |
|
ap_radar1_01 | 0x68E9B8 | MI_AIRPORTRADAR |
|
rcbomb | 0x68E9BC | MI_RCBOMB |
|
beachball | 0x68E9C0 | MI_BEACHBALL |
|
sandcastle1 | 0x68E9C4 | MI_SANDCASTLE1 | |
sandcastle2 | 0x68E9C8 | MI_SANDCASTLE2 | |
jellyfish | 0x68E9CC | MI_JELLYFISH |
|
jellyfish01 | 0x68E9D0 | MI_JELLYFISH01 |
|
fish1single | 0x68E9D4 | MI_FISH1SINGLE |
|
fish1s | 0x68E9D8 | MI_FISH1S |
unused? |
fish2single | 0x68E9DC | MI_FISH2SINGLE |
|
fish2s | 0x68E9E0 | MI_FISH2S |
|
fish3single | 0x68E9E4 | MI_FISH3SINGLE |
|
fish3s | 0x68E9E8 | MI_FISH3S |
|
turtle | 0x68E9EC | MI_TURTLE |
|
dolphin | 0x68E9F0 | MI_DOLPHIN |
|
shark | 0x68E9F4 | MI_SHARK |
|
submarine | 0x68E9F8 | MI_SUBMARINE | |
Esc_step | 0x68E9FC | MI_ESCALATORSTEP |
|
lounge_wood_up | 0x68EA00 | MI_LOUNGE_WOOD_UP |
|
lounge_towel_up | 0x68EA04 | MI_LOUNGE_TOWEL_UP |
|
lounge_wood_dn | 0x68EA08 | MI_LOUNGE_WOOD_DN |
|
lotion | 0x68EA0C | MI_LOTION |
|
beachtowel01 | 0x68EA10 | MI_BEACHTOWEL01 |
|
beachtowel02 | 0x68EA14 | MI_BEACHTOWEL02 |
|
beachtowel03 | 0x68EA18 | MI_BEACHTOWEL03 |
|
beachtowel04 | 0x68EA1C | MI_BEACHTOWEL04 |
|
blimp_night | 0x68EA20 | MI_BLIMP_NIGHT |
|
blimp_day | 0x68EA24 | MI_BLIMP_DAY |
|
yt_main_body | 0x68EA28 | MI_YT_MAIN_BODY |
|
yt_main_body2 | 0x68EA2C | MI_YT_MAIN_BODY2 |
|
San Andreas
- fire_hydrant
- phonesign
- noparkingsign1
- bussign1
- DYN_ROADBARRIER_6
- la_fuckcar1
- la_fuckcar2
- dump1
- trafficcone
- newsstand1
- postbox1
- bin1
- wastebin
- phonebooth1
- parkingmeter
- parkingmeterg
- mall_fans
- htl_fan_rotate_nt
- htl_fan_rotate_dy
- hotroomfan
- trafficlight1
- MTraffic4
- MTraffic1
- vgsstriptlights1
- MTraffic2
- lamppost1
- lamppost2
- lamppost3
- doublestreetlght1
- Streetlamp1
- Streetlamp2
- doc_crane_cab0
- doc_crane_cab01
- doc_crane_cab02
- doc_crane_cab03
- boatcranelg0
- LODnetopa0
- package1
- Money
- barrel1
- barrel2
- DYN_TV_2
- briefcase
- wglasssmash
- glassfx_composh
- adrenaline
- bodyarmour
- info
- health
- bonus
- bribe
- killfrenzy
- camerapickup
- gun_para
- para_pack
- bigdollar
- pickupsave
- property_locked
- property_fsale
- clothesp
- killfrenzy2plyr
- 2player
- bollardlight
- bar_barrier10
- bar_barrier12
- bouy
- parktable1
- CJ_OYSTER
- cj_horse_Shoe
- wheel_or1
- nto_b_s
- nto_b_l
- nto_b_tw
- lamppost1
- mlamppost
- roadworkbarrier1
- littleha_police
- telgrphpole02
- trafficlight1
- parkbench1
- Money
- od_lightbeam
- ap_radar1_01
- rcbomb
- beachball
- sandcastle1
- sandcastle2
- jellyfish
- jellyfish01
- fish1single
- fish1s
- fish2single
- fish2s
- fish3single
- fish3s
- turtle
- dolphin
- shark
- submarine
- Esc_step
- Esc_step8
- lounge_wood_up
- lounge_towel_up
- lounge_wood_dn
- lotion
- beachtowel01
- beachtowel02
- beachtowel03
- beachtowel04
- blimp_night
- blimp_day
- yt_main_body
- yt_main_body2
- mil_samsite
- samsite_SFXRF
- traincross2
- traincross1
- MagnoCrane_03
- TwrCrane_M_02
- quarry_cranearm
- kmb_container_red
- kmb_container_yel
- kmb_container_blue
- barrel4
- kmb_container_open
- blockpallet
- magnocrane5_SFS
- kmb_deadarm
- kmb_deadleg
- kmb_deadhead
- kmb_deadtorso
- grasshouse
- grassplant
- INDUS_MAGNET
- CJ_PLAYER_HARNESS
- dyn_quarryrock01
- dyn_quarryrock02
- dyn_quarryrock03
- KMB_ATM3
- dead_tied_cop
- bonyrd_windsock
- DYN_WREKING_BALL
- bomb
- mini_magnet
- ab_carcass
- wong_dish
- CJ_BEAR_BOTTLE
- CJ_CIGGY
- CJ_TRAFFIC_LIGHT3
- CJ_TRAFFIC_LIGHT4
- CJ_TRAFFIC_LIGHT5
- GAY_TRAFFIC_LIGHT
- imy_shash_wall
- flare
- hydralics
- stereo
- BBALL_COL
- k_poolballcue
- punchbagnu
- imy_bbox
Reference
^ GTAForums: Information on beach stuff, by spaceeinstein