Interior

From GTAMods Wiki
Revision as of 02:29, 15 April 2007 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 IPL file or the mission script. By default, the outside world has an interior number of 0, which doesn't act as an interior.

IPL

There is a section in the IPL that defines the interior number of an object. 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.

Mission Script

You can use the following opcodes to do stuff to interiors.

Vice City

Coming soon.

San Andreas

04BB - Selects the interior number of the world.
04F9 - Sets the interior colors
04FA - Resets the interior colors to default
0566 - Links an object to an interior number
077E - Gets the active interior number
07B0 - Gets the active interior name
07FB - Toggles the interior markers to show
0840 - Links a vehicle to an interior number
0860 - Links a pedestrian to an interior number
0864 - Toggles the interior markers at that point to show
08AD - Places a pedestrian into an interior without linking it to an interior
08DC - Creates an ornamental interior marker
094B - Gets a pedestrian's active interior name (not tested)
098E - Unknown opcode related to interiors
09E8 - Gets a pdestrian's current interior number

LCS

Coming soon.

List

This is a list of interiors numbers and their names used in the game.

Vice City

Coming soon.

San Andreas

Number Name Description
1 CARMOD1 TransFender
1 GF1 Denise's
1 SWEETS Sweet's House
1 WUZIBET Wu Zi Mu's
2 BDUPS1 B Dup's Crack Palace
2 CARMOD2 Loco Low Co.
2 GF2
2 RYDERS Ryder's Place
3 BDUPS B Dup's apartment
3 BIKESCH Bike School
3 BROTHL1 Whore House
3 CARMOD3 Wheel Arch Angels
3 GF3
3 OGLOCS OG Loc's
3 STUDIO Blastin' Fools Records studio
4 GF4
5 GF5
6 BROTHEL Whore House
6 GF6
7 AMMUN4 Ammu-Nation
9 SVGNMT2 Motel room
10 SVGNMT1 Motel room
12 MOROOM Motel room
12 - Trailer
16 POLICE2 SFPD HQ
17 FDDONUT Rusty Brown's
18 GENWRHS Warehouse

LCS

Not coming soon (not from me).