Garage: Difference between revisions

8,089 bytes added ,  30 June 2018
contributions from myself, Aschratt, and LINK2012
No edit summary
(contributions from myself, Aschratt, and LINK2012)
Line 1: Line 1:
:''For general information on garages, see [[garages]].
:''For general information on garages, see [[garages]].


A '''garage''' is generally an area in the game where the player's car can interact with. It can be a save garage, a spray garage, a bomb shop garage, or simply a generic garage. In GTA III and Vice City, garages can only be created and controlled through the <code>main.scm</code>. In San Andreas, garages can only be created through the [[GRGE]] section of the [[Item Placement|IPL]] file and controlled through the <code>main.scm</code>. You can duplicate most types of garages but you should not duplicate save garages. Each save garage saves specific vehicle(s) for that specific garage. Duplicating save garages can delete your saved vehicle(s).
A '''garage''' is an area in the game where your vehicles are saved. It can also be a spray garage, a bomb shop garage, or just a regular garage that does not save anything. In [[Grand Theft Auto III]] and [[Grand Theft Auto: Vice City]], garages can only be created and controlled through the <code>main.scm</code>. In [[Grand Theft Auto: San Andreas]], garages can only be created through the [[GRGE]] section of the [[IPL]] file and controlled through the <code>main.scm</code>. You can duplicate most types of garages but you should not duplicate save garages. Each save garage saves specific vehicle(s) for that specific garage. Duplicating save garages can delete your saved vehicle(s).


==SCM==
== Types of Garages ==
The following opcodes are related to the garage. Not all opcodes work for all games.
[[0219]] - Creates a garage<br>
[[021B]] - Sets the garage to accept only a specific vehicle's ID<br>
[[021C]] - Checks if a vehicle is in the garage<br>
[[0299]] - Activates a garage<br>
[[02B9]] - Deactivates a garage<br>
[[02FA]] - Changes the type of garage<br>
[[0360]] - Opens a garage door, if there is one<br>
[[0361]] - Closes a garage door, if there is one<br>
[[03B0]] - Checks if a garage's door is opened<br>
[[03B1]] - Checks if a garage's door is closed<br>
[[03BB]] - Sets the garage door to swing open instead of sliding open<br>
[[03DA]] - Disables remote camera control of the player when in a garage<br>
[[057A]] - Sets the maximum amount of cars it can store<br>
[[0A14]] - Sets a paint shop type of garage to disable
 
==IPL==
{{main|GRGE}}
San Andreas introduced the GRGE section in the [[Item Placement|IPL]] file. It replaces the previously used opcodes 0219, 03BB and 057A. It creates an invisible cube which interacts as a garage.
 
==Types of Garages==
There are many types of garages that are used in the game. The following lists are based on a unmodified game.
There are many types of garages that are used in the game. The following lists are based on a unmodified game.
===GTA III===
=== GTA III ===
{|class="wikitable"
{|class="wikitable center-col-1"
! ID
!Id ||Enum ||Notes
! Description
|-
|1 ||GARAGE_<wbr>MISSION ||Placeholder garage (inactive garage)
|-
|2 ||GARAGE_<wbr>BOMBSHOP1 ||Bomb shop with timed detonator
|-
|3 ||GARAGE_<wbr>BOMBSHOP2 ||Bomb shop with engine ignition detonation
|-
|4 ||GARAGE_<wbr>BOMBSHOP3 ||Bomb shop with remote-control detonator
|-
|5 ||GARAGE_<wbr>RESPRAY ||Spray garage<br>It excludes Ambulance, Barracks OL, Bus, Coach, Dodo, Enforcer, Firetruck, Police, and Rhino
|-
|<s>6</s> ||<s>GARAGE_<wbr>COLLECTORSITEMS</s> ||invalid garage
|-
|-
| 1
|7 ||GARAGE_<wbr>COLLECTSPECIFICCARS ||Securicar garage (Portland Docks)
| Placeholder garage (inactive garage)
|-
|-
| 2
|8 ||GARAGE_<wbr>COLLECTCARS_<wbr>1 ||Portland Import Export garage
| Bomb shop with 5 second detonator
|-
|-
| 3
|9 ||GARAGE_<wbr>COLLECTCARS_<wbr>2 ||Shoreside Import Export garage
| Bomb shop with engine ignition detonation
|-
|-
| 4
|10 ||GARAGE_<wbr>COLLECTCARS_<wbr>3 ||unused useless export garage, only accepts one Landstalker
| Bomb shop with remote-control detonator
|-
|-
| 5
|11 ||GARAGE_<wbr>FORCARTOCOMEOUTOF ||McAffrey's hideout garage used in "Silence The Sneak", normally closed but if opened it will stay opened if anything is in the garage and will close itself if there's nothing in the garage
| Spray garage
|-
|-
| 8
|<s>12</s> ||<s>GARAGE_<wbr>60SECONDS</s> ||invalid garage
| Portland Import Export garage
|-
|-
| 9
|13 ||GARAGE_<wbr>CRUSHER ||crusher, very unique garage, door rotates open using different garage sound, cannot be closed
| Shoreside Import Export garage
|-
|-
| 11
|14 ||GARAGE_<wbr>MISSION_<wbr>KEEPCAR ||Hoods defusal garage used in "Rigged To Blow", standard garage
| McAffrey's hideout garage
|-
|-
| 14
|15 ||GARAGE_<wbr>FOR_<wbr>SCRIPT_<wbr>TO_<wbr>OPEN ||unused garage, normally closed but if opened it can't close
| Hoods defusal garage
|-
|-
| 16
|16 ||GARAGE_<wbr>HIDEOUT_<wbr>ONE ||Save garage for one car (Portland hideout)
| Save garage (Portland hideout)
|-
|-
| 17
|17 ||GARAGE_<wbr>HIDEOUT_<wbr>TWO ||Save garage for two cars (Staunton hideout)
| Save garage (Staunton hideout)
|-
|-
| 18
|18 ||GARAGE_<wbr>HIDEOUT_<wbr>THREE ||Save garage for three cars (Shoreside hideout)
| Save garage (Shoreside hideout)
|-
|-
| 19
|19 ||GARAGE_<wbr>FOR_<wbr>SCRIPT_<wbr>TO_<wbr>OPEN_<wbr>AND_<wbr>CLOSE ||Standard garage
| Securicar garage (Portland Docks)
|-
|-
| 20
|20 ||GARAGE_<wbr>KEEPS_<wbr>OPENING_<wbr>FOR_<wbr>SPECIFIC_<wbr>CAR ||D-Ice's platinum drop-off garage used in "Bullion Run", standard garage
| D-Ice's platinum drop-off garage
|-
|-
| 21
|21 ||GARAGE_<wbr>MISSION_<wbr>KEEPCAR_<wbr>REMAINCLOSED ||Salvatore's garage, standard garage
| Salvatore's garage
|}
|}


===Vice City===
=== GTA Vice City ===
{|class="prettytable"
{|class="wikitable center-col-1"
! ID
!Id ||Enum ||Notes
! Description
|-
|-
| 1
|1 ||GARAGE_<wbr>MISSION ||Placeholder garage (inactive garage)
| Placeholder garage (inactive garage)
|-
|-
| 2
|2 ||GARAGE_<wbr>BOMBSHOP1 ||Bomb shop with timed detonator
| Bomb shop with 5 second detonator
|-
|-
| 3
|3 ||GARAGE_<wbr>BOMBSHOP2 ||Bomb shop with engine ignition detonation
| Bomb shop with engine ignition detonation
|-
|-
| 4
|4 ||GARAGE_<wbr>BOMBSHOP3 ||Bomb shop with remote-control detonator
| Bomb shop with remote-control detonator
|-
|-
| 5
|5 ||GARAGE_<wbr>RESPRAY ||Spray garage<br>It excludes Ambulance, Barracks, Bus, Coach, Enforcer, FBI Rancher, Firetruck, Police, Rhino
| Spray garage
|-
|-
| 6
|<s>6</s> ||<s>GARAGE_<wbr>COLLECTORSITEMS</s> ||invalid garage
| invalid garage
|-
|-
| 7
|7 ||GARAGE_<wbr>COLLECTSPECIFICCARS ||Car eater, functions similar to export garages but accepts any cars and gives no reward
| Car eater, functions similar to export garages but accepts any cars and gives no reward
|-
|-
| 8
|8 ||GARAGE_<wbr>COLLECTCARS_<wbr>1 ||Sunshine Autos export garage 1
| Sunshine Autos export garage 1
|-
|-
| 9
|9 ||GARAGE_<wbr>COLLECTCARS_<wbr>2 ||Sunshine Autos export garage 2
| Sunshine Autos export garage 2
|-
|-
| 10
|10 ||GARAGE_<wbr>COLLECTCARS_<wbr>3 ||Sunshine Autos export garage 3
| Sunshine Autos export garage 3
|-
|-
| 11
|11 ||GARAGE_<wbr>FORCARTOCOMEOUTOF ||unused garage, normally closed but if opened it will stay opened if anything is in the garage and will close itself if there's nothing in the garage
| unused garage, normally closed but if opened it will stay opened if anything is in the garage and will close itself if there's nothing in the garage
|-
|-
| 12
|<s>12</s> ||<s>GARAGE_<wbr>60SECONDS</s> ||invalid garage
| invalid garage
|-
|-
| 13
|<s>13</s> ||<s>GARAGE_<wbr>CRUSHER</s> ||invalid garage
| invalid garage
|-
|-
| 14
|14 ||GARAGE_<wbr>MISSION_<wbr>KEEPCAR ||unused garage, normally closed but if opened it will always close itself
| unused garage, normally closed but if opened it will always close itself
|-
|-
| 15
|15 ||GARAGE_<wbr>FOR_<wbr>SCRIPT_<wbr>TO_<wbr>OPEN ||unused garage, normally closed but if opened it can't close
| unused garage, normally closed but if opened it can't close
|-
|-
| 16
|16 ||GARAGE_<wbr>HIDEOUT_<wbr>ONE ||Save garage (El Swanko Casa)
| Save garage (El Swanko Casa)
|-
|-
| 17
|17 ||GARAGE_<wbr>HIDEOUT_<wbr>TWO ||Save garage (Hyman Condo 1)
| Save garage (Hyman Condo 1)
|-
|-
| 18
|18 ||GARAGE_<wbr>HIDEOUT_<wbr>THREE ||Save garage (Hyman Condo 2)
| Save garage (Hyman Condo 2)
|-
|-
| 19
|19 ||GARAGE_<wbr>FOR_<wbr>SCRIPT_<wbr>TO_<wbr>OPEN_<wbr>AND_<wbr>CLOSE ||garage used in "Copland", normally closed and can be controlled normally
| garage used in "Copland", normally closed and can be controlled normally
|-
|-
| 20
|20 ||GARAGE_<wbr>KEEPS_<wbr>OPENING_<wbr>FOR_<wbr>SPECIFIC_<wbr>CAR ||unused garage, normally closed and can be controlled normally
| unused garage, normally closed and can be controlled normally
|-
|-
| 21
|21 ||GARAGE_<wbr>MISSION_<wbr>KEEPCAR_<wbr>REMAINCLOSED ||unused garage, normally closed but if opened it will always close itself
| unused garage, normally closed but if opened it will always close itself
|-
|-
| 22
|22 ||GARAGE_<wbr>COLLECTCARS_<wbr>4 ||Sunshine Autos export garage 4
| Sunshine Autos export garage 4
|-
|-
| 23
|23 ||GARAGE_<wbr>FOR_<wbr>SCRIPT_<wbr>TO_<wbr>OPEN_<wbr>FOR_<wbr>CAR ||Army garage used in "Sir, Yes Sir!", normally closed and can be controlled normally
| Army garage used in "Sir, Yes Sir!"
|-
|-
| 24
|24 ||GARAGE_<wbr>HIDEOUT_<wbr>FOUR ||Save garage (Hyman Condo 3)
| Save garage (Hyman Condo 3)
|-
|-
| 25
|25 ||GARAGE_<wbr>HIDEOUT_<wbr>FIVE ||Save garage (Ocean Heights Apartment)
| Save garage (Ocean Heights Apartment)
|-
|-
| 26
|26 ||GARAGE_<wbr>HIDEOUT_<wbr>SIX ||Save garage (Links View Apartment)
| Save garage (Links View Apartment)
|-
|-
| 27
|27 ||GARAGE_<wbr>HIDEOUT_<wbr>SEVEN ||Save garage (Sunshine Autos 1)
| Save garage (Sunshine Autos 1)
|-
|-
| 28
|28 ||GARAGE_<wbr>HIDEOUT_<wbr>EIGHT ||Save garage (Sunshine Autos 2)
| Save garage (Sunshine Autos 2)
|-
|-
| 29
|29 ||GARAGE_<wbr>HIDEOUT_<wbr>NINE ||Save garage (Sunshine Autos 3)
| Save garage (Sunshine Autos 3)
|-
|-
| 30
|30 ||GARAGE_<wbr>HIDEOUT_<wbr>TEN ||Save garage (Sunshine Autos 4)
| Save garage (Sunshine Autos 4)
|-
|-
| 31
|31 ||GARAGE_<wbr>HIDEOUT_<wbr>ELEVEN ||Save garage (Vercetti Estate)
| Save garage (Vercetti Estate)
|-
|-
| 32
|32 ||GARAGE_<wbr>HIDEOUT_<wbr>TWELVE ||Save garage (unused)
| Save garage (unused)
|}
|}
===San Andreas===
 
{|class="prettytable"
===GTA San Andreas===
{| class="wikitable"
! ID
! ID
! Description
! Description
|-
|-
| 1
| 1
| Placeholder garage (inactive garage)
| Opens only for target vehicle (set with opcode 021B)
|-
|-
| 2
| 2
| Bomb shop with 5 second detonator
| Bomb shop with timed detonator
|-
|-
| 3
| 3
Line 197: Line 140:
| 5
| 5
| Spray garage
| Spray garage
|-
| 11
| Strange garage. If anything touch it while is open, the garage will close. while closed no action is taken.
|-
| 14
| The garage will open for target car. Once stopped inside, the garage door will close and the player will be frozen. After a moment, the door will reopen. Driving away from the garage will close the garage and the garage will no longer accept the car.
|-
|-
| 15
| 15
| ?
| Script garage. Script can open the garage, but can't close it.
|-
|-
| 16
| 16
Line 211: Line 160:
|-
|-
| 19
| 19
| ?
| Script garage. The garage is fully controlled by the script, the script should open and the script should close!
|-
| 20
| The garage will open for your car but it won't close by itself as long as the car is in the garage.
|-
| 21
| The garage will open for your car. Once inside you will be frozen until the door closes. The door stays closed. It won't accept your car again if you manage to get it out and attempt to drive back in.
|-
| 23
| The garage must be opened with a script command. Once inside you can leave your car in it and walk out. You will be frozen as the door closes. It will accept your car again if you manage to get it out and attempt to drive back in.
|-
|-
| 24
| 24
Line 279: Line 237:
| Verdant Meadows hangar
| Verdant Meadows hangar
|}
|}
===Liberty City Stories===
===GTA Liberty City Stories===
{{Incomplete}}
{| class="wikitable"
===Vice City Stories===
! ID
{|class="prettytable"
! Description
|-
| 1
| Placeholder garage (inactive garage)
|-
| 2
| Bomb shop with timed detonator
|-
| 3
| Bomb shop with engine ignition detonation
|-
| 4
| Bomb shop with remote-control detonator
|-
| 5
| Spray garage
|-
| 8
| Car-azy Car Give Away export garage
|-
| 13
| Car crusher
|-
| 16
| Save garage (Saint Marks)
|-
| 17
| Save garage (Newport)
|-
| 18
| Save garage (Cedar Grove)
|-
| 19
| Common usable garage
|-
| 21
| garage used in "Love on the Rocks"
|}
 
===GTA Vice City Stories===
{| class="wikitable"
! ID
! ID
! Description
! Description
Line 290: Line 288:
|-
|-
| 2
| 2
| Bomb shop with 5 second detonator
| Bomb shop with timed detonator
|-
|-
| 3
| 3
Line 315: Line 313:


==List of Garages==
==List of Garages==
The following will list the garages used from GTA III and above. All except San Andreas uses [[global variables]] as the name of the garages. San Andreas names its garages. The following lists are based on a unmodified game.
The following lists are garages used from GTA III and above in the original game. All except San Andreas uses global variables as the identifier of the garages. San Andreas names its garages. In GTA III and GTA Vice City, only certain models are recognized by the game as a garage door. When the garage is defined properly and its door is placed nearby, the game can manipulate the door by sliding it to opening or closing positions and playing a sound effect as it happens.
===GTA III===
===GTA III===
{|class="prettytable"
{| class="wikitable sortable"
! Variable
! Name
! Name
! Location
! Door model
! Door location
! Description
! Description
|-
|-
| $60
| $60
| 891.25, -311.0625, 7.6875
|
| ind_plyrwoor
| 890.92, -312.92, 9.79285
| Portland hideout garage
| Portland hideout garage
|-
|-
| $61
| $61
| 1284.563, -100.5, 13.5625
|
| bombdoor
| 1281.78, -99.4639, 18.1
| Portland bomb shop garage
| Portland bomb shop garage
|-
|-
| $62
| $62
| 921.0, -367.5, 9.75
| sprayshop1
| ind_slidedoor
| 925.382, -354.058, 12.8962
| Portland Pay n Spray
| Portland Pay n Spray
|-
|-
| $63
| $63
| 1496.75, -686.1875, 11.0
| collect_all_cars1
| impex_door
| 1496.26, -680.184, 12.2496
| Portland Import Export garage
| Portland Import Export garage
|-
|-
| $67
| $67
| 1428.75, -187.0, 49.6875
| frankie_garage
| SalvGarage
| 1428.37, -183.262, 51.6481
| Salvatore's garage
| Salvatore's garage
|-
|-
| $68
| $68
| 1440.688, -805.5625, 10.875
| Garage_bank
| vheistlocdoor
| 1445.66, -805.617, 13.4972
| Securicar garage
| Securicar garage
|-
|-
| $69
| $69
| 1074.0, -578.0, 13.0
| garage_lm2
| oddjgaragdoor
| 1085.53, -574.346, 13.6514
| Luigi's lockup garage
| Luigi's lockup garage
|-
|-
| $70
| $70
| 115.0625, -475.25, 15.0
|
| plysve_gragedoor
| 111.642, -475.113, 17.2517
| Staunton Island hideout garage
| Staunton Island hideout garage
|-
|-
| $71
| $71
| 386.0, -573.0 25.1875, 376.5625
|
| door_bombshop
| 376.135, -576.653, 26.9238
| Staunton Island bomb shop garage
| Staunton Island bomb shop garage
|-
|-
| $72
| $72
| 386.0, -490.0 25.1875, 376.5625
|
| door4_garage
| 376.017, -494.612, 27.0564
| Staunton Island Pay n Spray
| Staunton Island Pay n Spray
|-
|-
| $73
| $73
| 257.0, -803.0, 26.75
| garage_yd3
| door3_garage
| 260.554, -794.021, 28.2174
| King Courtney's lockup garage
| King Courtney's lockup garage
|-
|-
| $74
| $74
| 63.75, -307.875, 15.1875
| garage1_love1
| Columbian garage 1
| door_col_compnd_01
| 57.0393, -317.127, 16.9305
| Colombian hideout garage 1
|-
|-
| $75
| $75
| 53.0, -308.0, 15.1875
| garage2_love1
| Columbian garage 2
| door_col_compnd_02
| 66.327, -317.127, 16.8476
| Colombian hideout garage 2
|-
|-
| $76
| $76
| 24.875, -344.0, 15.1875
| garage3_love1
| Columbian garage 3
| door_col_compnd_03
| 31.0616, -351.045, 17.0564
| Colombian hideout garage 3
|-
|-
| $77
| $77
| 24.5, -355.0, 15.1875
| garage4_love1
| Columbian garage 4
| door_col_compnd_04
| 47.4589, -376.963, 17.2005
| Colombian hideout garage 4
|-
|-
| $78
| $78
| 52.5, -388.0, 15.1875
| garage5_love1
| Columbian garage 5
| door_col_compnd_05
| 31.0616, -340.145, 17.0564
| Colombian hideout garage 5
|-
|-
| $79
| $79
| 377.25, -511.375, 25.0625
| garage_km2
| door2_garage
| 376.08, -506.736, 27.0081
| Kenji's lockup garage
| Kenji's lockup garage
|-
|-
| $80
| $80
| 245.375, -992.1875, 20.0
| rays_prize_garage
| leveldoor2
| 235.26, -996.393, 22.9857
| Ray's lockup garage
| Ray's lockup garage
|-
|-
| $81
| $81
| 375.0, -441.5, 20.0625
| witsec_garage
| door_sfehousegrge
| 376.136, -437.667, 21.866
| McAffrey's hideout garage
| McAffrey's hideout garage
|-
|-
| $87
| $87
| -662.5, -47.375, 17.0
|
| Shoreside Vale hideout garage
| towergaragedoor2<br>towergaragedoor3
| -662.546, -43.8816, 19.5549<br>-662.546, -33.4142, 19.5549
| Shoreside Vale hideout garage (left and right doors)
|-
|-
| $88
| $88
| -1078.875, 58.0, 56.0
|
| 8ballsuburbandoor
| -1082.32, 58.6847, 59.5702
| Shoreside Vale bomb shop garage
| Shoreside Vale bomb shop garage
|-
|-
| $89
| $89
| 1346.875, -315.5, 49.0
| garage_hm3
| oddjgaragdoor
| 1353.57, -313.767, 48.754
| D-Ice's defusal garage
| D-Ice's defusal garage
|-
|-
| $90
| $90
| -824.6875, -165.5, 32.75
| garage_hm4
| shedgaragedoor
| -842.852, -168.595, 34.8457
| D-Ice's platinum drop-off garage
| D-Ice's platinum drop-off garage
|-
|-
| $91
| $91
| -1049.125, -77.4375, 37.75
| escort_garage
| amcogaragedoor
| -1037.59, -73.2034, 42.1206
| Donald's Securicar garage
| Donald's Securicar garage
|-
|-
| $92
| $92
| -1117.5, 150.875, 55.0
| collect_all_cars2
| impexpsubgrgdoor
| -1111.66, 150.85, 59.751
| Shoreside Vale Import Export garage
| Shoreside Vale Import Export garage
|-
|-
| $93
| $93
| -1139.0, 37.75, 55.0
|
| Sub_sprayshopdoor
| -1138.69, 34.6979, 59.7704
| Shoreside Vale Pay n Spray
| Shoreside Vale Pay n Spray
|-
| -
| -
| oddjgaragdoor
| 1089.01, -411.345, 13.879
| Unused garage near Portland Ammu-Nation
|-
| -
| -
| oddjgaragdoor
| 1213.77, -243.351, 23.9363
| Unused garage near Toni's restaurant
|-
| -
| -
| bankjobdoor
| 1087.52, -233.801, 11.0118
| Door used in "The Getaway" but not used as a garage
|-
| -
| -
| door_jmsgrage
| 298.993, -430.723, 26.774
| Unused garage, future LCS Staunton hideout garage
|-
| -
| -
| jamesgrge_kb
| 297.517, -426.529, 27.236
| Entire garage structure of future LCS Staunton hideout garage (probably bugged assignment)
|-
| -
| -
| double_garage_dr
| 92.9111, -1564.44, 24.801
| Unused Love Media garage
|-
| -
| -
| towergaragedoor1
| -662.646, -38.6471, 19.5549
| Shoreside Vale hideout garage (central door)
|-
| -
| -
| crushercrush<br>crushertop
| 1139.73, 60.3852, 1.09806<br>1139.55, 65.0512, 4.59026
| Crusher; its creation as a garage is hardcoded
|}
|}
===Vice City===
===GTA Vice City===
{|class="prettytable"
{| class="wikitable sortable"
! Name
! Variable
! Location
! Door model
! Door location
! Description
! Description
|-
|-
| $655
| $655
| 303.998, 400.718, 12.025
| nbtgardoor02
| 301.5018311 402.0293274 13.51399994
| Links View Apartment garage
| Links View Apartment garage
|-
|-
| $659
| $659
| 27.143, -1483.954, 9.423
| svegrgedoor
| 24.78701591 -1484.098999 11.20861053
| Ocean Heights Apartment garage
| Ocean Heights Apartment garage
|-
|-
| $663
| $663
| 450.136, 641.029, 10.112
| nbtgardoor03
| 450.136261 638.3676758 11.60200119
| El Swanko Casa garage
| El Swanko Casa garage
|-
|-
| $667
| $667
| -848.225, 1303.119, 10.421
| dt_savedra
| -844.0419922 1305.114014 12.45499992
| Hyman Condo garage 1
| Hyman Condo garage 1
|-
|-
| $668
| $668
| -825.466, 1311.499, 10.537
| dt_savedrc
| -821.3129883 1312.927002 12.1350002
| Hyman Condo garage 2
| Hyman Condo garage 2
|-
|-
| $669
| $669
| -816.37, 1314.6899, 10.582
| dt_savedrd
| -812.2160034 1316.053955 12.15799999
| Hyman Condo garage 3
| Hyman Condo garage 3
|-
|-
| $681
| $681
| -914.129, -1263.54, 10.706
| dk_paynspraydoor
| -910.00177 -1264.709595 12.49232101
| Vice Port Pay n Spray
| Vice Port Pay n Spray
|-
|-
| $682
| $682
| -1014.341, -857.732, 6.325
| lh_showdoor03
| -1007.945923 -841.7789917 8.59442234
| Spray n Go
| Spray n Go
|-
|-
| $683
| $683
| -886.157, -115.158, 9.992
| haiwshpnsdoor
| -874.696167 -116.6956406 11.98748112
| Little Haiti Pay n Spray
| Little Haiti Pay n Spray
|-
|-
| $684
| $684
| 323.9, 427.4, 10.0
| nbecpnsdoor
| 325.083374 431.1365967 11.58715916
| Vice Point Pay n Spray
| Vice Point Pay n Spray
|-
|-
| $685
| $685
| -7.55, -1253.77, 9.322
| wshpnsdoor
| Washington Beach Pay n Spray
| -7.804682255 -1257.642944 10.81873512
| Ocean Beach Pay n Spray
|-
|-
| $686
| $686
| -362.12, -550.214, 11.722
| man_frntstepGD
| -357.618988 -539.7459717 14.97500038
| Vercetti Estate garage
| Vercetti Estate garage
|-
|-
| $687
| $687
| -966.016, -861.529, 5.761
| lh_showdoor1
| -975.4549561 -841.7965698 8.159034729
| Sunshine Autos export garage
| Sunshine Autos export garage
|-
|-
| $688
| $688
| -1056.05, -469.668, 10.053
| lhtankdoor
| -1054.399658 -478.0734253 12.5256424
| Cortez's garage used in "Sir, Yes Sir!"
| Cortez's garage used in "Sir, Yes Sir!"
|-
|-
| $689
| $689
| -823.448, -1488.083, 10.852
| dk_waretankdoor1
| Army garage used in "Sir, Yes Sir!"
| -832.9807739 -1484.412231 12.93357563
| Army warehouse used in "Sir, Yes Sir!"
|-
|-
| $690
| $690
| 449.137, 340.002, 10.794
| nbtgardoor
| 457.6314087 340.4080811 12.13403893
| Lockup garage used in "Cop Land"
| Lockup garage used in "Cop Land"
|-
|-
| $691
| $691
| -1163.248, -1407.282, 10.157
| dk_bombdoor
| -1161.317017 -1402.474976 12.79800034
| 8-Ball's bomb shop
| 8-Ball's bomb shop
|-
|-
| $692
| $692
| -981.654, -802.265, 6.325
| hav_garagedoor1
| -988.0856934 -821.6508789 8.51289463
| Sunshine Autos garage 1
| Sunshine Autos garage 1
|-
|-
| $693
| $693
| -992.416, -802.265, 6.325
| hav_garagedoor02
| -998.8513794 -821.6508789 8.580200195
| Sunshine Autos garage 2
| Sunshine Autos garage 2
|-
|-
| $694
| $694
| -1003.771, -802.265, 6.325
| hav_garagedoor03
| -1010.188171 -821.6508789 8.580200195
| Sunshine Autos garage 3
| Sunshine Autos garage 3
|-
|-
| $695
| $695
| -1015.436, -802.265, 6.325
| hav_garagedoor04
| -1021.867981 -821.6508789 8.566622734
| Sunshine Autos garage 4
| Sunshine Autos garage 4
|-
| -
| dt_savedrb
| -834.4660034 1308.406006 11.73600006
| Unused motorcycle garage at Hyman Condo<ref>[http://web.archive.org/web/20170624075302/http://www.gtaforums.com/index.php?showtopic=743880&view=findpost&p=1068417840 Discussion on Hyman Condo's unused garage]</ref>
|-
| -
| dk_camjonesdoor
| -837.134 -901.672 12.03
| Cam's Can Openers; door is not placed through the [[IPL]] but placed through the SCM
|}
|}
===San Andreas===
 
{|class="prettytable"
===GTA San Andreas===
{| class="wikitable"
! Name
! Name
! Location
! Location
Line 731: Line 864:
|}
|}


===Liberty City Stories===
===GTA Liberty City Stories===
{|class="prettytable"
{| class="wikitable"
! Name
! Variable
! Location
! Location
! Description
! Description
Line 759: Line 892:
| $1273
| $1273
| 1285.44 -102.5 13.6
| 1285.44 -102.5 13.6
|  
| Portland bomb shop garage
|-
|-
| $1274
| $1274
Line 767: Line 900:
| $1275
| $1275
| 293.5 -429.7 25.0
| 293.5 -429.7 25.0
| Portland bomb shop garage
| Staunton hideout garage
|-
|-
| $1276
| $1276
Line 779: Line 912:
| $1285
| $1285
| 386.0 -573.0 25.2
| 386.0 -573.0 25.2
| Staunton hideout garage
| Staunton bomb shop garage
|-
|-
| $1286
| $1286
Line 787: Line 920:
| $1287
| $1287
| 335.058 -418.987 20.0
| 335.058 -418.987 20.0
| used in "Search And Rescue"
| Newport garage used in "Search And Rescue"
|-
|-
| $1288
| $1288
Line 807: Line 940:
| $1296
| $1296
| -1078.9 58.0 56.0
| -1078.9 58.0 56.0
|  
| Shoreside Vale bomb shop garage
|}
|}
===Vice City Stories===
 
{|class="prettytable"
===GTA Vice City Stories===
! Name
{| class="wikitable"
! Variable
! Location
! Location
! Description
! Description
Line 841: Line 975:
| $1175
| $1175
| -7.55, -1253.77, 9.322
| -7.55, -1253.77, 9.322
| Washington Beach Pay n Spray
| Ocean Beach Pay n Spray
|-
|-
| $1176
| $1176
Line 849: Line 983:
| $1178
| $1178
| 168.9468, -949.7315, 9.3865
| 168.9468, -949.7315, 9.3865
| Washington Beach garage used in "Purple Haze"
| Ocean Beach garage used in "Purple Haze"
|-
|-
| $1179
| $1179
Line 856: Line 990:
|}
|}


==See also==
== Mission script ==
* [[Memory_Addresses_SA#Garages_and_Parking|Related memory addresses]]
Through the script, opcodes can be used to interact and control the behavior of garages.
* [[GTA_SA_Saves#Block_3:_Garages|Savegames]]
{|class="nowrap-col-2"
* [[GRGE|Garage format specification]]
|0219 ||{{Icon-square|3}} {{Icon-square|vc}} ||creates a garage
|-
|021A ||{{Icon-square|3}} ||creates a garage with target model
|-
|021B ||{{Icon-square|t}} ||sets the garage to accept a specific vehicle
|-
|021C ||{{Icon-square|3}} {{Icon-square|vc}} ||checks if a vehicle is in the garage
|-
|0299 ||{{Icon-square|3}} {{Icon-square|sa}} ||activates the garage
|-
|02B9 ||{{Icon-square|3}} {{Icon-square|sa}} ||deactivates the garage
|-
|02FA ||{{Icon-square|t}} ||changes the type of garage
|-
|0329 ||{{Icon-square|3}} {{Icon-square|vc}} ||checks if a respray at the garage has happened
|-
|0360 ||{{Icon-square|t}} ||opens the garage
|-
|0361 ||{{Icon-square|t}} ||closes the garage
|-
|03A5 ||{{Icon-square|3}} ||changes the type of garage and target model
|-
|03B0 ||{{Icon-square|t}} ||checks if the garage is opened
|-
|03B1 ||{{Icon-square|t}} ||checks if the garage is closed
|-
|03BB ||{{Icon-square|3}} {{Icon-square|vc}} ||sets the garage door to rotate
|-
|03DA ||{{Icon-square|3}} {{Icon-square|vc}} ||disables special camera when in the garage
|-
|0422 ||{{Icon-square|3}} ||checks if the garage contains the vehicle
|-
|057A ||style="text-align: center;" |{{Icon-square|vc}} ||sets the maximum number of vehicles for the save garage to open
|-
|0A14 ||style="text-align: right;" |{{Icon-square|sa}} ||disables spray shops
|}
 
== Item placement ==
:''Main article: [[GRGE]]
GTA San Andreas introduced the GRGE section in the [[IPL]] file. It replaces the previously used opcodes 0219, 03BB and 057A. It creates an invisible cube which interacts as a garage.
 
== Reference ==
<references />


{{gtasa}}{{fdl}}
{{fdl}}


{{modding}}
{{modding}}
12,236

edits