Difference between revisions of "Interior"
Line 2: | Line 2: | ||
==IPL== | ==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. | + | There is a section in the IPL that defines the interior number of an object. In the [[IPL#INST|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. |
+ | |||
+ | For San Andreas only, you can create an access to interiors using the [[IPL#ENEX|ENEX]] section of the IPL file. | ||
==Mission Script== | ==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. | You can use the following opcodes to do stuff to interiors. | ||
===Vice City=== | ===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=== | ===San Andreas=== | ||
[[04BB]] - Selects the interior number of the world.<br> | [[04BB]] - Selects the interior number of the world.<br> | ||
Line 25: | Line 32: | ||
[[09E8]] - Gets a pdestrian's current interior number<br> | [[09E8]] - Gets a pdestrian's current interior number<br> | ||
===LCS=== | ===LCS=== | ||
− | + | [[04C0]] - Selects the interior number of the world.<br> | |
+ | [[04FE]] - Sets the interior colors<br> | ||
+ | [[04FF]] - Resets the interior colors to default<br> | ||
==List== | ==List== | ||
This is a list of interiors numbers and their names used in the game. | This is a list of interiors numbers and their names used in the game. | ||
===Vice City=== | ===Vice City=== | ||
− | + | {| | |
+ | ! Number | ||
+ | ! Interior | ||
+ | |- | ||
+ | | 1 | ||
+ | | Ocean View Hotel | ||
+ | |- | ||
+ | | 2 | ||
+ | | Diaz's Mansion/Vercetti Estate | ||
+ | |- | ||
+ | | 3 | ||
+ | | El Banco Corrupto Grande | ||
+ | |- | ||
+ | | 4 | ||
+ | | North Point Mall | ||
+ | |- | ||
+ | | 5 | ||
+ | | Pole Position Club | ||
+ | |- | ||
+ | | 6 | ||
+ | | Ken Rosenburg's office | ||
+ | |- | ||
+ | | 7 | ||
+ | | Cafe Robina | ||
+ | |- | ||
+ | | 8 | ||
+ | | Love Fist concert hall | ||
+ | |- | ||
+ | | 9 | ||
+ | | Love Fist recording studio | ||
+ | |- | ||
+ | | 10 | ||
+ | | Shooting Range | ||
+ | |- | ||
+ | | 11 | ||
+ | | Apartment 3C, Greasy Choppers | ||
+ | |- | ||
+ | | 12 | ||
+ | | VCPD HQ, Auntie Poulet's | ||
+ | |- | ||
+ | | 14 | ||
+ | | Dirt Ring | ||
+ | |- | ||
+ | | 15 | ||
+ | | Bloodring | ||
+ | |- | ||
+ | | 16 | ||
+ | | Hotring | ||
+ | |- | ||
+ | | 17 | ||
+ | | The Malibu Club | ||
+ | |- | ||
+ | | 18 | ||
+ | | Print Works | ||
+ | |} | ||
===San Andreas=== | ===San Andreas=== | ||
{| | {| |
Revision as of 22:07, 16 April 2007
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.
Contents
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.
For San Andreas only, you can create an access to interiors using the ENEX section of the IPL file.
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.
04F9 - Sets the interior colors
04FA - Resets the interior colors to default
0566 - Links an object to an interior number
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
04C0 - Selects the interior number of the world.
04FE - Sets the interior colors
04FF - Resets the interior colors to default
List
This is a list of interiors numbers and their names used in the game.
Vice City
Number | Interior |
---|---|
1 | Ocean View Hotel |
2 | Diaz's Mansion/Vercetti Estate |
3 | El Banco Corrupto Grande |
4 | North Point Mall |
5 | Pole Position Club |
6 | Ken Rosenburg's office |
7 | Cafe Robina |
8 | Love Fist concert hall |
9 | Love Fist recording studio |
10 | Shooting Range |
11 | Apartment 3C, Greasy Choppers |
12 | VCPD HQ, Auntie Poulet's |
14 | Dirt Ring |
15 | Bloodring |
16 | Hotring |
17 | The Malibu Club |
18 | Print Works |
San Andreas
Number | Name | Description |
---|---|---|
1 | ABATOIR | Sindacco Abattoir |
1 | AMMUN1 | Ammu-Nation |
1 | CARMOD1 | TransFender |
1 | FDREST1 | World of Coq |
1 | GF1 | Denise's |
1 | JETINT | Shamal interior |
1 | LACS1 | Sub Urban |
1 | LAHS1B | House |
1 | MAFCAS | Caligulas Casino |
1 | MAFCAS2 | Penthouse Suites |
1 | SVVGHO1 | Hotel Suite |
1 | SWEETS | Sweet's House |
1 | WUZIBET | Wu Zi Mu's |
2 | BARBERS | Barber |
2 | BDUPS1 | B Dup's Crack Palace |
2 | CARMOD2 | Loco Low Co. |
2 | CARTER | Smokes Crack Palace |
2 | GF2 | |
2 | RYDERS | Ryder's Place |
2 | SVVGHO2 | Hotel Suite |
3 | BARBER2 | Barber |
3 | BDUPS | B Dup's apartment |
3 | BIKESCH | Bike School |
3 | BROTHL1 | Whore House |
3 | CARLS | The Johnson House |
3 | CARMOD3 | Wheel Arch Angels |
3 | CHANGER | Wardrobe |
3 | CSSPRT | Pro-Laps |
3 | DRIVES | Driving School |
3 | DRIVES2 | Driving School |
3 | GF3 | |
3 | OGLOCS | OG Loc's |
3 | PDOMES | The Pleasure Domes |
3 | SEXSHOP | Sex Shop |
3 | STUDIO | Blastin' Fools Records studio |
3 | TATTO3 | Tattoo Parlor |
4 | AMMUN2 | Ammu-Nation |
4 | GF4 | |
4 | SFHSM2 | House |
4 | X711S2 | 24-7 |
5 | FDPIZA | Pizza Stack |
5 | GANG | Vagos Gang House |
5 | GF5 | |
5 | MADDOGS | Madd Doggs Crib |
5 | MDDOGS | Madd Doggs Crib |
5 | SFHSB1 | House |
5 | SVHOT1 | Hotel Suite |
6 | AMMUN3 | Ammu-Nation |
6 | BROTHEL | Whore House |
6 | GF6 | |
6 | RCPLAY | Zeros RC Shop |
6 | REST2 | Secret Valley |
6 | SFHSB2 | House |
6 | SFHSS2 | House |
6 | SVCUNT | Safe House |
6 | SVSFSM | Safe House |
6 | X7_11S | 24-7 |
7 | AMMUN4 | Ammu-Nation |
8 | BURHOUS | Colonel Fuhrbergers |
8 | SFHSS1 | House |
8 | SVLAMD | Safe House |
9 | FDCHICK | Cluckin Bell |
9 | SFHSB3 | House |
9 | SVGNMT2 | Motel room |
9 | SVVGMD | Safe House |
10 | DESHOUS | Abandoned AC tower |
10 | FDBURG | Burger Shot |
10 | SVGNMT1 | Motel room |
10 | TRICAS | The Four Dragons |
10 | SVSFMD | Safe House |
10 | X711S3 | 24-7 |
11 | BAR2 | Bar |
11 | SVLASM | Safe House |
12 | BARBER3 | Barber |
12 | MOROOM | Motel room |
12 | - | Trailer |
12 | SVLABIG | Safe House |
14 | CSEXL | Didier Sachs |
15 | CSCHP | Binco |
15 | MOTEL1 | Jefferson Motel |
15 | SFHSM1 | House |
16 | POLICE2 | SFPD HQ |
16 | TATTOO | Tattoo Parlor |
16 | X7_11C | 24-7 |
17 | BAR1 | Bar |
17 | DAMIN | Generator Hall |
17 | FDDONUT | Rusty Brown's |
17 | TATTO2 | Tattoo Parlor |
17 | X7_11D | 24-7 |
18 | ATRIUME | Atrium |
18 | ATRIUMX | Attrium |
18 | CLOTHGP | Zip |
18 | GENWRHS | Warehouse |
18 | UFOBAR | Lil Probe Inn |
18 | X7_11B | 24-7 |
LCS
Not coming soon (not from me).