MatchModelString

From GTAMods Wiki
Revision as of 20:08, 21 May 2016 by Spaceeinstein (talk | contribs) (Created page with "GTA III and Vice City use index matching to match a map model name with its index. The games look through the index to perform addition actions on the model. The follo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III and Vice City use index matching to match a map model name with its index. The games look through the index to perform addition actions on the model. The following tables are ordered based the models' appearance in the MatchModelString function.

GTA III

Vice City

The function is at memory address 0x4A75DD in v1.0 US.

Model name Address Properties
fire_hydrant 0x68E8A4
  • Trigger fire hydrant water after collision
  • Trigger fire hydrant water after destruction
  • Reposition object
phonesign 0x68E8A0
  • Reposition object
noparkingsign1 0x68E89C
  • Reposition object
bussign1 0x68E898
  • Reposition object
roadworkbarrier1 0x68E894
  • Creation of roadblocks
  • Reposition object
dump1 0x68E890
  • Reposition object
trafficcone 0x68E88C
  • Reposition object
newsstand1 0x68E888
  • Reposition object
postbox1 0x68E884
  • Reposition object
bin1 0x68E880
  • Reposition object
wastebin 0x68E87C
  • Reposition object
phonebooth1 0x68E878
parkingmeter 0x68E860
  • Trigger cash pickups after collision
  • Reposition object
parkingmeterg 0x68E864
  • Trigger cash pickups after collision
  • Reposition object
mall_fans 0x68E868
  • Rotating fan object
htl_fan_rotate_nt 0x68E86C
  • Rotating fan object
htl_fan_rotate_dy 0x68E870
  • Rotating fan object
hotroomfan 0x68E874
  • Rotating fan object
trafficlight1 0x68E810
  • Traffic light behavior
MTraffic4 0x68E814
  • Traffic light behavior
  • Shadow for pole
MTraffic1 0x68E818
  • Traffic light behavior
  • Shadow for pole
  • Reposition object
MTraffic2 0x68E81C
  • Traffic light behavior
  • Shadow for pole
  • Reposition object
lamppost1 0x68E820
  • Shadow for pole
  • Reposition object
lamppost2 0x68E824
  • Shadow for pole
  • Reposition object
lamppost3 0x68E828
  • Shadow for pole
  • Reposition object
doublestreetlght1 0x68E82C
  • Shadow for pole
Streetlamp1 0x68E830
  • Reposition object
Streetlamp2 0x68E834
  • Reposition object
veg_tree3 0x68E838
  • Swaying vegetation
veg_treea1 0x68E83C
  • Swaying vegetation
veg_treeb1 0x68E840
  • Swaying vegetation
veg_treea3 0x68E844
  • Swaying vegetation
doc_crane_cab0 0x68E848
doc_crane_cab01 0x68E84C
doc_crane_cab02 0x68E850
doc_crane_cab03 0x68E854
boatcranelg0 0x68E858
LODnetopa0 0x68E85C
package1 0x68E8A8
  • Opcode 02EC
  • Collectable effects like corona and light glow
Money 0x68E8AC
  • Parking meter collision
  • Dead ped money drops
  • Opcode 02E1
  • Money effects like corona and light glow
barrel1 0x68E8B0
  • Mine effects like corona and light glow
dk_paynspraydoor 0x68E8B4
dk_waretankdoor1 0x68E8B8
hav_garagedoor1 0x68E8BC
hav_garagedoor02 0x68E8C0
hav_garagedoor03 0x68E8C4
hav_garagedoor04 0x68E8C8
lh_showdoor03 0x68E8CC
lh_showdoor1 0x68E8D0
lhtankdoor 0x68E8D4
nbtgardoor 0x68E8D8
dk_camjonesdoor 0x68E8DC
nbtgardoor02 0x68E8E0
dt_savedra 0x68E8E4
dt_savedrb 0x68E8E8
dk_bombdoor 0x68E8EC
haiwshpnsdoor 0x68E8F0
wshpnsdoor 0x68E8F4
nbecpnsdoor 0x68E8F8
nbtgardoor03 0x68E8FC
dt_savedrc 0x68E900
dt_savedrd 0x68E904
man_frntstepGD 0x68E908
svegrgedoor 0x68E90C
barrel2 0x68E910
  • Mine effects like corona and light glow
briefcase 0x68E914
  • Briefcase effects (borrowed from mine effects) like corona and light glow
wglasssmash 0x68E918
glassfx_composh 0x68E91C
barrel4 0x68E920
  • Trigger explosion after bullet hit
  • Disappears when destroyed
adrenaline 0x68E924
  • Pickup cost
  • Adrenaline effect and pickup sound
  • Pickup corona
bodyarmour 0x68E928
  • Pickup cost
  • Armor effect and pickup sound
  • Pickup corona
info 0x68E92C
  • Pickup corona
health 0x68E930
  • Pickup cost
  • Health effect and pickup sound
  • Pickup corona
bonus 0x68E934
  • Pickup sound
  • Pickup corona
  • Floating text
bribe 0x68E938
  • Bribe effect and pickup sound
  • Pickup corona
killfrenzy 0x68E93C
  • Pickup sound
  • Pickup corona
camerapickup 0x68E940
  • Pickup corona
  • Special pickup behavior
bigdollar 0x68E944
  • Pickup corona
pickupsave 0x68E948
  • Pickup corona
property_locked 0x68E94C
  • Pickup corona
  • Shakes pad
  • Opcode 0517
property_fsale 0x68E950
  • Pickup corona
  • Shakes pad
  • Opcode 0518
clothesp 0x68E954
  • Pickup corona
  • Opcode 055B
  • Floating text
bollardlight 0x68E958
  • Reposition object
bar_barrier10 0x68E95C
bar_barrier12 0x68E960
petrolpump 0x68E964
  • Trigger explosion after bullet hit
  • Disappears when destroyed
washgaspump 0x68E968
  • Trigger explosion after bullet hit
  • Disappears when destroyed
bouy 0x68E96C
parktable1 0x68E970
  • Reposition object
lamppost1 0x68E974

duplicate entry

veg_palm04 0x68E978
  • Swaying vegetation
  • Additional sway
veg_palwee02 0x68E97C
  • Swaying vegetation
  • Additional sway
veg_palmkbb11 0x68E980
  • Swaying vegetation
  • Additional sway
veg_palmkb4 0x68E984
  • Swaying vegetation
  • Additional sway
veg_palm02 0x68E988
  • Swaying vegetation
  • Additional sway
veg_palmkb3 0x68E98C
  • Swaying vegetation
  • Additional sway
veg_palmbig14 0x68E990
  • Swaying vegetation
  • Additional sway
veg_palm01 0x68E994
  • Swaying vegetation
  • Additional sway
mlamppost 0x68E998
  • Reposition object
roadworkbarrier1 0x68E99C

duplicate entry

littleha_police 0x68E9A0
telgrphpole02 0x68E9A4
  • Reposition object
trafficlight1 0x68E9A8
  • Traffic lights
  • Shadow for pole
parkbench1 0x68E9AC
  • Reposition object
Money 0x68E8AC

duplicate entry

plc_stinger 0x68E9B0
  • Police stinger deployment
od_lightbeam 0x68E9B4
  • Rotating light beam object
ap_radar1_01 0x68E9B8
  • Rotating surveillance radar object
rcbomb 0x68E9BC
  • RC bomb behavior (i.e. force is always applied downwards)
beachball 0x68E9C0
  • Ground shadow
  • Beach ball behavior
  • Beach stuff[1]
sandcastle1 0x68E9C4
sandcastle2 0x68E9C8
jellyfish 0x68E9CC
  • Aquatic life
jellyfish01 0x68E9D0
  • Aquatic life
fish1single 0x68E9D4
  • Aquatic life
fish1s 0x68E9D8

unused?

fish2single 0x68E9DC
  • Aquatic life
fish2s 0x68E9E0
  • Aquatic life
fish3single 0x68E9E4
  • Aquatic life
fish3s 0x68E9E8
  • Aquatic life
turtle 0x68E9EC
  • Aquatic life
dolphin 0x68E9F0
  • Aquatic life
shark 0x68E9F4
  • Aquatic life
submarine 0x68E9F8
Esc_step 0x68E9FC
  • Escalators
lounge_wood_up 0x68EA00
lounge_towel_up 0x68EA04
lounge_wood_dn 0x68EA08
lotion 0x68EA0C
  • Beach stuff
beachtowel01 0x68EA10
  • Beach stuff
beachtowel02 0x68EA14
  • Beach stuff
beachtowel03 0x68EA18
  • Beach stuff
beachtowel04 0x68EA1C
  • Beach stuff
blimp_night 0x68EA20
  • Rotating blimp object
blimp_day 0x68EA24
  • Rotating blimp object
yt_main_body 0x68EA28
  • Generate water particles
yt_main_body2 0x68EA2C
  • Generate water particles

Reference

^ Post.png GTAForums: Information on beach stuff