Difference between revisions of "Interior"

From GTAMods Wiki
Jump to navigation Jump to search
(cosmetic fixes)
m
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Cleanup-rewrite}}
+
{{I|need screenshots of interiors}}
An '''interior''' is an area in the game that is not rendered as part of the "outside world". This technique 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 script file. By default, the outside world has the render level "0", which doesn't act as an interior.
+
An '''interior''' is an area in the game that is not rendered as part of the "outside world". In GTA III, this is handled by the [[cullzone.dat]] file and is mainly used by road and subway tunnels. In Vice City, San Andreas, LCS, and VCS, objects in an interior are assigned a render level through the [[IPL]] file. In Vice City, the render level can only be changed through the script file. In San Andreas, it can additionally be changed through the IPL file. By default, the outside world has the render level "0", which doesn't act as an interior.
 +
 
 +
Interior '''13''' is a special interior that is reserved for pickups. Placing objects in that interior makes them stream regardless of the interior the player is in.
  
 
== IPL ==
 
== IPL ==
Line 18: Line 20:
 
| [[0566]] || {{Icon|VC}} {{Icon|SA}} || sets the visibility of an object to the interior
 
| [[0566]] || {{Icon|VC}} {{Icon|SA}} || sets the visibility of an object to the interior
 
|-
 
|-
| [[077E]] || {{Icon|SA}} || gets the active interior number
+
| [[077E]] || {{a|r}} | {{Icon|SA}} || gets the active interior number
 
|-
 
|-
| [[07B0]] || {{Icon|SA}} || gets the active interior name
+
| [[07B0]] || {{a|r}} | {{Icon|SA}} || gets the active interior name
 
|-
 
|-
| [[07FB]] || {{Icon|SA}} || toggles the interior markers to show
+
| [[07FB]] || {{a|r}} | {{Icon|SA}} || toggles the interior markers to show
 
|-
 
|-
| [[0840]] || {{Icon|SA}} || sets the visibility of a vehicle to the interior
+
| [[0840]] || {{a|r}} | {{Icon|SA}} || sets the visibility of a vehicle to the interior
 
|-
 
|-
| [[0860]] || {{Icon|SA}} || sets the visibility of a character to the interior
+
| [[0860]] || {{a|r}} | {{Icon|SA}} || sets the visibility of a character to the interior
 
|-
 
|-
| [[0864]] || {{Icon|SA}} || toggles the interior markers at that point to show
+
| [[0864]] || {{a|r}} | {{Icon|SA}} || toggles the interior markers at that point to show
 
|-
 
|-
| [[08AD]] || {{Icon|SA}} || places a pedestrian into an interior without linking it to an interior
+
| [[08AD]] || {{a|r}} | {{Icon|SA}} || places a pedestrian into an interior without linking it to an interior
 
|-
 
|-
| [[08DC]] || {{Icon|SA}} || creates an ornamental interior marker
+
| [[08DC]] || {{a|r}} | {{Icon|SA}} || creates an ornamental interior marker
 
|-
 
|-
| [[094B]] || {{Icon|SA}} || gets a pedestrian's entry exit interior name
+
| [[094B]] || {{a|r}} | {{Icon|SA}} || gets a pedestrian's entry exit interior name
 
|-
 
|-
| [[098E]] || {{Icon|SA}} || set interior entry exit flag
+
| [[098E]] || {{a|r}} | {{Icon|SA}} || set interior entry exit flag
 
|-
 
|-
| [[09E8]] || {{Icon|SA}} || gets a pedestrian's current interior number
+
| [[09E8]] || {{a|r}} | {{Icon|SA}} || gets a pedestrian's current interior number
 
|}
 
|}
  
Line 44: Line 46:
 
This is a list of interior numbers and their corresponding areas used in the games.
 
This is a list of interior numbers and their corresponding areas used in the games.
 
=== Vice City ===
 
=== Vice City ===
In Vice City, there are a few interiors that are [[hardcoded]] to play ambient music. Those that play ambient music will disable in-car [[List_of_radio_stations_(VC)|radio stations]]. All interiors but interior 13 disable ambient noise normally heard in the normal world. Interior 13 retains that ambient noise.
+
Not all interiors behave the same way and most of the behaviors are [[hardcoded]]. Most interiors disable environmental ambient noise in order to play ambient music, which also disables in-car [[List_of_radio_stations_(VC)|radio stations]]. Some disable ambient vehicle noise, which includes engine, door, and tire noises. Most interiors remove visible ocean water.
 
{| class="wikitable"
 
{| class="wikitable"
 
! Number
 
! Number
! Interior
+
! Enum
 +
! Areas
 +
! [[Audio directory (VC)|Plays]]{{ref|1}}
 
! Notes
 
! Notes
 +
|-
 +
| 0
 +
| VIS_MAIN_MAP
 +
| colspan="3" {{a|c}} | The main world
 
|-
 
|-
 
| 1
 
| 1
 +
| VIS_HOTEL
 
| Ocean View Hotel
 
| Ocean View Hotel
| Plays Hotel.mp3
+
| Hotel.mp3
 +
| Draws ocean water.
 
|-
 
|-
 
| 2
 
| 2
 +
| VIS_MANSION
 
| Diaz's Mansion/Vercetti Estate
 
| Diaz's Mansion/Vercetti Estate
|
+
| ambsil.mp3
 +
| Draws ocean water.
 
|-
 
|-
 
| 3
 
| 3
 +
| VIS_BANK
 
| El Banco Corrupto Grande
 
| El Banco Corrupto Grande
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 4
 
| 4
 +
| VIS_MALL
 
| North Point Mall
 
| North Point Mall
| Plays MallAmb.mp3
+
| MallAmb.mp3
 +
| Allows some ambient vehicle noise. Allows peds to group up like gang members.
 
|-
 
|-
 
| 5
 
| 5
 +
| VIS_STRIP_CLUB
 
| Pole Position Club
 
| Pole Position Club
| Plays Strip.mp3
+
| Strip.mp3
 +
|
 
|-
 
|-
 
| 6
 
| 6
 +
| VIS_LAWYERS
 
| Ken Rosenburg's office
 
| Ken Rosenburg's office
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 7
 
| 7
 +
| VIS_COFFEE_SHOP
 
| Cafe Robina
 
| Cafe Robina
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 8
 
| 8
 +
| VIS_CONCERT_HALL
 
| Love Fist concert hall
 
| Love Fist concert hall
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 9
 
| 9
 +
| VIS_STUDIO
 
| Love Fist recording studio
 
| Love Fist recording studio
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 10
 
| 10
 +
| VIS_RIFLE_RANGE
 
| Shooting Range
 
| Shooting Range
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 11
 
| 11
 +
| VIS_BIKER_BAR
 
| Apartment 3C, Greasy Choppers
 
| Apartment 3C, Greasy Choppers
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 12
 
| 12
 +
| VIS_POLICE_STATION
 
| VCPD HQ, Auntie Poulet's
 
| VCPD HQ, Auntie Poulet's
 +
| ambsil.mp3
 
|
 
|
 
|-
 
|-
 
| 13
 
| 13
| unused
+
| VIS_EVERYWHERE
| retains normal ambient noise
+
| ''reserved''
 +
| colspan="2" | Retains all ambient noise. If an object is assigned this number, it can be visible in any interior.
 
|-
 
|-
 
| 14
 
| 14
 +
| VIS_DIRT
 
| Dirt Ring
 
| Dirt Ring
| Plays DirtRing.mp3
+
| DirtRing.mp3
 +
| Allows all ambient vehicle noise.
 
|-
 
|-
 
| 15
 
| 15
 +
| VIS_BLOOD
 
| Bloodring
 
| Bloodring
| Plays DirtRing.mp3
+
| DirtRing.mp3
 +
| Allows all ambient vehicle noise.
 
|-
 
|-
 
| 16
 
| 16
 +
| VIS_OVALRING
 
| Hotring
 
| Hotring
| Plays DirtRing.mp3
+
| DirtRing.mp3
 +
| Allows all ambient vehicle noise.
 
|-
 
|-
 
| 17
 
| 17
 +
| VIS_MALIBU_CLUB
 
| The Malibu Club
 
| The Malibu Club
| Plays Malibu.mp3
+
| Malibu.mp3
 +
|
 
|-
 
|-
 
| 18
 
| 18
 +
| VIS_PRINT_WORKS
 
| Print Works
 
| Print Works
 +
| ambsil.mp3
 
|
 
|
 
|}
 
|}
 +
# {{note|1}} Array in memory for VC v1.0 starts at 0x6CDAE4.
  
 
=== San Andreas ===
 
=== San Andreas ===
Line 702: Line 746:
 
|}
 
|}
  
{{N|SA|VC}}
+
{{N|LCS|SA|VC}}
  
 
[[Category:Map Formats]][[Category:Mission Script]][[Category:GTA LCS]]
 
[[Category:Map Formats]][[Category:Mission Script]][[Category:GTA LCS]]

Latest revision as of 23:22, 11 January 2019

An interior is an area in the game that is not rendered as part of the "outside world". In GTA III, this is handled by the cullzone.dat file and is mainly used by road and subway tunnels. In Vice City, San Andreas, LCS, and VCS, objects in an interior are assigned a render level through the IPL file. In Vice City, the render level can only be changed through the script file. In San Andreas, it can additionally be changed through the IPL file. By default, the outside world has the render level "0", which doesn't act as an interior.

Interior 13 is a special interior that is reserved for pickups. Placing objects in that interior makes them stream regardless of the interior the player is in.

IPL

In the INST section in Vice City and San Andreas, the third column denotes the render level ("interior number") of the object. Objects can only be viewed within a level; objects on other levels will not load and cannot be viewed.

For San Andreas only, you can create an access points to interiors using the ENEX section of the IPL file.

Mission script

For Vice City, you have to use the script to create an access to interiors. San Andreas can also use the script to create an access to interiors.

04BB Vice City San Andreas sets the visibility of the interior
04F9 Vice City San Andreas sets the interior sky colors
04FA Vice City San Andreas resets the interior sky colors to default
0566 Vice City San Andreas sets the visibility of an object to the interior
077E San Andreas gets the active interior number
07B0 San Andreas gets the active interior name
07FB San Andreas toggles the interior markers to show
0840 San Andreas sets the visibility of a vehicle to the interior
0860 San Andreas sets the visibility of a character to the interior
0864 San Andreas toggles the interior markers at that point to show
08AD San Andreas places a pedestrian into an interior without linking it to an interior
08DC San Andreas creates an ornamental interior marker
094B San Andreas gets a pedestrian's entry exit interior name
098E San Andreas set interior entry exit flag
09E8 San Andreas gets a pedestrian's current interior number

List of areas

This is a list of interior numbers and their corresponding areas used in the games.

Vice City

Not all interiors behave the same way and most of the behaviors are hardcoded. Most interiors disable environmental ambient noise in order to play ambient music, which also disables in-car radio stations. Some disable ambient vehicle noise, which includes engine, door, and tire noises. Most interiors remove visible ocean water.

Number Enum Areas Plays[1] Notes
0 VIS_MAIN_MAP The main world
1 VIS_HOTEL Ocean View Hotel Hotel.mp3 Draws ocean water.
2 VIS_MANSION Diaz's Mansion/Vercetti Estate ambsil.mp3 Draws ocean water.
3 VIS_BANK El Banco Corrupto Grande ambsil.mp3
4 VIS_MALL North Point Mall MallAmb.mp3 Allows some ambient vehicle noise. Allows peds to group up like gang members.
5 VIS_STRIP_CLUB Pole Position Club Strip.mp3
6 VIS_LAWYERS Ken Rosenburg's office ambsil.mp3
7 VIS_COFFEE_SHOP Cafe Robina ambsil.mp3
8 VIS_CONCERT_HALL Love Fist concert hall ambsil.mp3
9 VIS_STUDIO Love Fist recording studio ambsil.mp3
10 VIS_RIFLE_RANGE Shooting Range ambsil.mp3
11 VIS_BIKER_BAR Apartment 3C, Greasy Choppers ambsil.mp3
12 VIS_POLICE_STATION VCPD HQ, Auntie Poulet's ambsil.mp3
13 VIS_EVERYWHERE reserved Retains all ambient noise. If an object is assigned this number, it can be visible in any interior.
14 VIS_DIRT Dirt Ring DirtRing.mp3 Allows all ambient vehicle noise.
15 VIS_BLOOD Bloodring DirtRing.mp3 Allows all ambient vehicle noise.
16 VIS_OVALRING Hotring DirtRing.mp3 Allows all ambient vehicle noise.
17 VIS_MALIBU_CLUB The Malibu Club Malibu.mp3
18 VIS_PRINT_WORKS Print Works ambsil.mp3
  1. ^ Array in memory for VC v1.0 starts at 0x6CDAE4.

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 - Saint Mark's
1 SMASHTV Warehouse
1 - Stadium with wooden sandbox
1 SVVGHO1 Hotel Suite
1 SWEETS Sweet's House
1 - Trailer
1 TSDINER Truck Stop
1 WUZIBET Wu Zi Mu's
2 BARBERS Barber
2 BDUPS1 B Dup's Crack Palace
2 CARMOD2 Loco Low Co.
2 CARTER Smoke's Crack Palace
2 GF2 Katie's
2 LAHS1A House
2 LASTRIP Strip Club
2 RYDERS Ryder's Place
2 SVVGHO2 Hotel Suite
2 VGHSB1 House
2 VGHSB3 House
2 - Salvatore's Caligula room
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 GENOTB Inside Track Betting
3 GF3 Helena's
3 LAHSB4 House
3 OGLOCS OG Loc's
3 PAPER Planning Department
3 PDOMES The Pleasure Domes
3 PDOMES2 The Pleasure Domes
3 POLICE3 LVPD HQ
3 SEXSHOP Sex Shop
3 S1TEST Middle of nowhere
3 STRIP2 Strip Club
3 STUDIO Blastin' Fools Records studio
3 TATTO3 Tattoo Parlor
4 AMMUN2 Ammu-Nation
4 DINER1 Diner
4 DIRBIKE Dirt Stadium
4 GF4 Michelle's
4 LAHS2A House
4 LAHSS6 House
4 SFHSM2 House
4 X711S2 24-7
5 CSDESGN Victim
5 DINER2 Diner
5 FDPIZA Pizza Stack
5 GANG Vagos Gang House
5 GF5 Barbara's
5 GYM1 Ganton Gym
5 LACRAK Crack Den
5 LAHSB3 House
5 MADDOGS Madd Dogg's Crib
5 MDDOGS Madd Dogg's Crib
5 SFHSB1 House
5 SVHOT1 Hotel Suite
5 VGHSM2 House
6 AMMUN3 Ammu-Nation
6 AMMUN5 Ammu-Nation
6 BROTHEL Whore House
6 GF6 Millie's
6 GYM2 Cobra Marital Arts
6 LAHSB1 House
6 POLICE1 LSPD HQ
6 RCPLAY Zero's RC Shop
6 REST2 Secret Valley
6 SFHSB2 House
6 SFHSS2 House
6 SVCUNT Safe House
6 SVSFBG Safe House
6 SVSFSM Safe House
6 X7_11S 24-7
7 8TRACK 8-Track Stadium
7 AMMUN4 Ammu-Nation
7 GYM3 Below the Belt Gym
7 LAHSB2 House
7 OFTEST Middle of nowhere
8 BURHOUS Colonel Fuhrberger's
8 SFHSS1 House
8 SVLAMD Safe House
9 - Andromada cargo hold
9 FDCHICK Cluckin' Bell
9 LAHS2B House
9 SFHSB3 House
9 SVGNMT2 Motel room
9 SVVGMD Safe House
10 DESHOUS Abandoned AC tower
10 FDBURG Burger Shot
10 POLICE2 SFPD HQ
10 SVGNMT1 Motel room
10 TRICAS The Four Dragon's
10 - The Four Dragon's Casino's maintenance room
10 SVSFMD Safe House
10 VGHSM3 House
10 X711S3 24-7
10 - Zero's No Man's Land
11 BAR2 Bar
11 SVLASM Safe House
12 BARBER3 Barber
12 CASINO2 Casino Floor
12 MOROOM Motel room
12 SVLABIG Safe House
14 CSEXL Didier Sachs
14 AIRPOR2 Los Santos International Airport
14 AIRPORT Francis Intl. Airport
15 CSCHP Binco
15 MOTEL1 Jefferson Motel
15 SFHSM1 House
15 VGHSS1 House
15 VGSHM2 House
15 VGSHM3 House
15 VGSHS2 House
16 - Stadium with giant round circular raised platform in middle
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