Interior: Difference between revisions

1,886 bytes removed ,  17 January 2011
no edit summary
No edit summary
No edit summary
 
Line 1: Line 1:
{{cleanup}}
:''Main page at [http://www.gtamodding.com/index.php?title=Interior GTAModding.com]''
An '''interior''' is an area in the game that is not part of the outside world. This is used in Vice City, San Andreas, LCS, and VCS. The interior is not seen in the outside world and has to be loaded through the [[Item Placement|IPL]] file or the mission script. By default, the outside world has an interior number of 0, which doesn't act as an interior.
An '''interior''' is an area in the game that is not part of the outside world. This is used in GTA Vice City, GTA San Andreas, GTA Liberty City Stories, and GTA Vice City Stories. The interior is not seen in the outside world and has to be loaded through the [[Item Placement|IPL]] file or the script file.


==IPL==
==List of interiors==
There is a section in the IPL that defines the interior number of an object for Vice City and San Andreas. In the [[INST]] section, the third column denotes the interior number of the object. The object can only be viewed within this interior number. Any other objects with a different interior number will not load.
This is a list of all areas that are defined as interiors by the game.


For San Andreas only, you can create an access to interiors using the [[ENEX]] section of the IPL file.
===GTA Vice City===
 
==Mission Script==
For Vice City, you have to use the mission script to create an access to interiors. San Andreas can also use the mission script to create an access to interiors.
===Opcodes===
You can use the following opcodes to do stuff to interiors.
===Vice City===
[[04BB]] - Selects the interior number of the world.<br>
[[04F9]] - Sets the interior colors<br>
[[04FA]] - Resets the interior colors to default<br>
[[0566]] - Links an object to an interior number<br>
===San Andreas===
[[04BB]] - Selects the interior number of the world.<br>
[[04F9]] - Sets the interior colors<br>
[[04FA]] - Resets the interior colors to default<br>
[[0566]] - Links an object to an interior number<br>
[[077E]] - Gets the active interior number<br>
[[07B0]] - Gets the active interior name<br>
[[07FB]] - Toggles the interior markers to show<br>
[[0840]] - Links a vehicle to an interior number<br>
[[0860]] - Links a pedestrian to an interior number<br>
[[0864]] - Toggles the interior markers at that point to show<br>
[[08AD]] - Places a pedestrian into an interior without linking it to an interior<br>
[[08DC]] - Creates an ornamental interior marker<br>
[[094B]] - Gets a pedestrian's active interior name (not tested)<br>
[[098E]] - Unknown opcode related to interiors<br>
[[09E8]] - Gets a pedestrian's current interior number<br>
 
==List==
This is a list of interiors numbers and their names used in the game.
===Vice City===
In Vice City, there are a few interiors that are [[hardcoded]] to play ambient music.
In Vice City, there are a few interiors that are [[hardcoded]] to play ambient music.
{| class="prettytable"
{| class="wikitable"
! Number
! Number
! Interior
! Interior
! Notes
|-
|-
| 1
| 1
| Ocean View Hotel
| Ocean View Hotel
| Plays Hotel.mp3
|-
|-
| 2
| 2
| Diaz's Mansion/Vercetti Estate
| Diaz's Mansion/Vercetti Estate
|
|-
|-
| 3
| 3
| El Banco Corrupto Grande
| El Banco Corrupto Grande
|
|-
|-
| 4
| 4
| North Point Mall
| North Point Mall
| Plays MallAmb.mp3
|-
|-
| 5
| 5
| Pole Position Club
| Pole Position Club
| Plays Strip.mp3
|-
|-
| 6
| 6
| Ken Rosenburg's office
| Ken Rosenburg's office
|
|-
|-
| 7
| 7
| Cafe Robina
| Cafe Robina
|
|-
|-
| 8
| 8
| Love Fist concert hall
| Love Fist concert hall
|
|-
|-
| 9
| 9
| Love Fist recording studio
| Love Fist recording studio
|
|-
|-
| 10
| 10
| Shooting Range
| Shooting Range
|
|-
|-
| 11
| 11
| Apartment 3C, Greasy Choppers
| Apartment 3C, Greasy Choppers
|
|-
|-
| 12
| 12
| VCPD HQ, Auntie Poulet's
| VCPD HQ, Auntie Poulet's
|
|-
|-
| 14
| 14
| Dirt Ring
| Dirt Ring
| Plays DirtRing.mp3
|-
|-
| 15
| 15
| Bloodring
| Bloodring
| Plays DirtRing.mp3
|-
|-
| 16
| 16
| Hotring
| Hotring
| Plays DirtRing.mp3
|-
|-
| 17
| 17
| The Malibu Club
| The Malibu Club
| Plays Malibu.mp3
|-
|-
| 18
| 18
| Print Works
| Print Works
|
|}
|}


===San Andreas===
===GTA San Andreas===
{| class="prettytable sortable"
{| class="wikitable sortable"
! Number
! Number
! Name
! Name
12,236

edits