12,236
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
:''For general information on garages, see [[garages]]. | :''For general information on garages, see [[garages]]. | ||
A '''garage''' is an area in the game where | 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 [[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== | ||
The following opcodes are related to the garage. Not all opcodes work for all games. | |||
[[0219]] - Creates a garage<br> | [[0219]] - Creates a garage<br> | ||
[[021B]] - Sets the garage to accept only a specific vehicle's ID<br> | [[021B]] - Sets the garage to accept only a specific vehicle's ID<br> | ||
Line 26: | Line 26: | ||
==Types of Garages== | ==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=== | ||
{|class=" | {|class="wikitable" | ||
! ID | ! ID | ||
! Description | ! Description | ||
Line 96: | Line 96: | ||
| 5 | | 5 | ||
| Spray garage | | Spray garage | ||
|- | |||
| 6 | |||
| invalid garage | |||
|- | |||
| 7 | |||
| Car eater, functions similar to export garages but accepts any cars and gives no reward | |||
|- | |- | ||
| 8 | | 8 | ||
Line 105: | Line 111: | ||
| 10 | | 10 | ||
| Sunshine Autos export garage 3 | | Sunshine Autos export garage 3 | ||
|- | |||
| 11 | |||
| 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 | |||
| invalid garage | |||
|- | |||
| 13 | |||
| invalid garage | |||
|- | |||
| 14 | |||
| unused garage, normally closed but if opened it will always close itself | |||
|- | |||
| 15 | |||
| unused garage, normally closed but if opened it can't close | |||
|- | |- | ||
| 16 | | 16 | ||
Line 116: | Line 137: | ||
|- | |- | ||
| 19 | | 19 | ||
| garage used in "Copland" | | garage used in "Copland", normally closed and can be controlled normally | ||
|- | |||
| 20 | |||
| unused garage, normally closed and can be controlled normally | |||
|- | |||
| 21 | |||
| unused garage, normally closed but if opened it will always close itself | |||
|- | |- | ||
| 22 | | 22 | ||
Line 149: | Line 176: | ||
|- | |- | ||
| 32 | | 32 | ||
| | | Save garage (unused) | ||
|} | |} | ||
===San Andreas=== | ===San Andreas=== | ||
Line 288: | Line 315: | ||
==List of Garages== | ==List of Garages== | ||
The following will list the garages used from | 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. | ||
=== | ===GTA III=== | ||
{|class="prettytable" | {|class="prettytable" | ||
! Name | ! Name | ||
Line 834: | Line 861: | ||
* [[GRGE|Garage format specification]] | * [[GRGE|Garage format specification]] | ||
{{gtasa}}{{fdl}} | {{gtasa}}{{fdl}} | ||
{{modding}} | {{modding}} | ||
[[Category:Map Formats]] | |||
[[Category:Mission Script]] | |||
[[Category:GTA III Modifications]] | |||
[[Category:GTA Vice City]] | |||
[[Category:GTA San Andreas]] | |||
[[Category:Modifications]] |