MatchModelString
Revision as of 23:08, 20 November 2016 by Spaceeinstein (talk | contribs)
MatchModelString
is a function in GTA III and Vice City. 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.
GTA III
The function is at memory address 0x48F030 in v1.0 US.
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 |
|
Reference
^ GTAForums: Information on beach stuff