-
Notifications
You must be signed in to change notification settings - Fork 238
The Doomsday Heist: Facility
Bob74 edited this page Oct 20, 2019
·
3 revisions
Getting the main object to interact with the interior:
DoomsdayFacility = exports['bob74_ipl']:GetDoomsdayFacilityObject()
This interior can be found at:
X | Y | Z |
---|---|---|
345.0 | 4842.0 | -60.0 |
DoomsdayFacility
+-- interiorId
+-- Ipl
| +-- Interior
| +-- ipl
| +-- Load()
| +-- Remove()
| +-- Exterior
| +-- ipl
| +-- Load()
| +-- Remove()
+-- Colors
| +-- utility
| +-- expertise
| +-- altitude
| +-- power
| +-- authority
| +-- influence
| +-- order
| +-- empire
| +-- supremacy
+-- Walls
| +-- default
| +-- SetColor(color, refresh)
+-- Decals
| +-- style01
| +-- style02
| +-- style03
| +-- style04
| +-- style05
| +-- style06
| +-- style07
| +-- style08
| +-- style09
| +-- Set(decal, refresh)
| +-- Clear(refresh)
+-- Lounge
| +-- utility
| +-- prestige
| +-- premier
| +-- Set(lounge, color, refresh)
| +-- Clear(refresh)
+-- Sleeping
| +-- none
| +-- utility
| +-- prestige
| +-- premier
| +-- Set(sleep, color, refresh)
| +-- Clear(refresh)
+-- Security
| +-- on
| +-- off
| +-- Set(security, color, refresh)
| +-- Clear(refresh)
+-- Cannon
| +-- on
| +-- off
| +-- Set(cannon, color, refresh)
| +-- Clear(refresh)
+-- PrivacyGlass
| +-- Bedroom
| +-- Enable(state)
| +-- Control
| +-- Enable(state)
| +-- Lounge
| +-- Enable(state)
| +-- Control
| +-- Enable(state)
+-- Details
| +-- PatherPart
| +-- A
| +-- B
| +-- C
| +-- RiotParts
| +-- A
| +-- B
| +-- C
| +-- ChenoParts
| +-- A
| +-- B
| +-- C
| +-- ThrusterParts
| +-- A
| +-- B
| +-- C
| +-- AvengerParts
| +-- A
| +-- B
| +-- C
| +-- Outfits
| +-- paramedic
| +-- morgue
| +-- serverFarm
| +-- iaa
| +-- stealAvenger
| +-- foundry
| +-- riot
| +-- stromberg
| +-- submarine
| +-- predator
| +-- khanjali
| +-- volatol
| +-- Trophies
| +-- eagle
| +-- iaa
| +-- submarine
| +-- SetColor(color, refresh)
| +-- Clutter
| +-- A
| +-- B
| +-- C
| +-- D
| +-- E
| +-- crewEmblem
| +-- Enable(details, state, refresh)
+-- LoadDefault()
Loading Ipls related files in game:
DoomsdayFacility.Ipl.Interior.Load()
Removing Ipls from game:
DoomsdayFacility.Ipl.Interior.Remove()
Setting the walls color:
DoomsdayFacility.Walls.SetColor(color, refresh)
Parameter | Description | Valid values |
---|---|---|
color | Utility | DoomsdayFacility.Colors.utility |
Expertise | DoomsdayFacility.Colors.expertise |
|
Altitude | DoomsdayFacility.Colors.altitude |
|
Power | DoomsdayFacility.Colors.power |
|
Authority | DoomsdayFacility.Colors.authority |
|
Influence | DoomsdayFacility.Colors.influence |
|
Order | DoomsdayFacility.Colors.order |
|
Empire | DoomsdayFacility.Colors.empire |
|
Supremacy | DoomsdayFacility.Colors.supremacy |
|
refresh | Refresh the whole interior |
true or false
|
Setting the decals (pattern on the walls and glasses):
DoomsdayFacility.Decals.Set(decal, refresh)
Parameter | Description | Valid values |
---|---|---|
decal | No pattern | DoomsdayFacility.Decals.none |
Patterns | from DoomsdayFacility.Decals.style01 to DoomsdayFacility.Decals.style09
|
|
refresh | Refresh the whole interior |
true or false
|
Setting the lounge style:
DoomsdayFacility.Lounge.Set(lounge, color, refresh)
Parameter | Description | Valid values |
---|---|---|
lounge | Utility | DoomsdayFacility.Lounge.utility |
Prestige | DoomsdayFacility.Lounge.prestige |
|
Premier | DoomsdayFacility.Lounge.premier |
|
color | Utility | DoomsdayFacility.Colors.utility |
Expertise | DoomsdayFacility.Colors.expertise |
|
Altitude | DoomsdayFacility.Colors.altitude |
|
Power | DoomsdayFacility.Colors.power |
|
Authority | DoomsdayFacility.Colors.authority |
|
Influence | DoomsdayFacility.Colors.influence |
|
Order | DoomsdayFacility.Colors.order |
|
Empire | DoomsdayFacility.Colors.empire |
|
Supremacy | DoomsdayFacility.Colors.supremacy |
|
refresh | Refresh the whole interior |
true or false
|
Setting the bedroom style:
DoomsdayFacility.Sleeping.Set(sleep, color, refresh)
Parameter | Description | Valid values |
---|---|---|
sleep | No bedroom | DoomsdayFacility.Sleeping.none |
Utility | DoomsdayFacility.Sleeping.utility |
|
Prestige | DoomsdayFacility.Sleeping.prestige |
|
Premier | DoomsdayFacility.Sleeping.premier |
|
color | Utility | DoomsdayFacility.Colors.utility |
Expertise | DoomsdayFacility.Colors.expertise |
|
Altitude | DoomsdayFacility.Colors.altitude |
|
Power | DoomsdayFacility.Colors.power |
|
Authority | DoomsdayFacility.Colors.authority |
|
Influence | DoomsdayFacility.Colors.influence |
|
Order | DoomsdayFacility.Colors.order |
|
Empire | DoomsdayFacility.Colors.empire |
|
Supremacy | DoomsdayFacility.Colors.supremacy |
|
refresh | Refresh the whole interior |
true or false
|
Setting the security room:
DoomsdayFacility.Security.Set(security, color, refresh)
Parameter | Description | Valid values |
---|---|---|
security | No security room | DoomsdayFacility.Security.off |
Security room | DoomsdayFacility.Security.on |
|
color | Utility | DoomsdayFacility.Colors.utility |
Expertise | DoomsdayFacility.Colors.expertise |
|
Altitude | DoomsdayFacility.Colors.altitude |
|
Power | DoomsdayFacility.Colors.power |
|
Authority | DoomsdayFacility.Colors.authority |
|
Influence | DoomsdayFacility.Colors.influence |
|
Order | DoomsdayFacility.Colors.order |
|
Empire | DoomsdayFacility.Colors.empire |
|
Supremacy | DoomsdayFacility.Colors.supremacy |
|
refresh | Refresh the whole interior |
true or false
|
Setting the orbital cannon room:
DoomsdayFacility.Cannon.Set(cannon, color, refresh)
Parameter | Description | Valid values |
---|---|---|
cannon | No cannon room | DoomsdayFacility.Cannon.off |
Cannon room | DoomsdayFacility.Cannon.on |
|
color | Utility | DoomsdayFacility.Colors.utility |
Expertise | DoomsdayFacility.Colors.expertise |
|
Altitude | DoomsdayFacility.Colors.altitude |
|
Power | DoomsdayFacility.Colors.power |
|
Authority | DoomsdayFacility.Colors.authority |
|
Influence | DoomsdayFacility.Colors.influence |
|
Order | DoomsdayFacility.Colors.order |
|
Empire | DoomsdayFacility.Colors.empire |
|
Supremacy | DoomsdayFacility.Colors.supremacy |
|
refresh | Refresh the whole interior |
true or false
|
Enable or disable the privacy glass:
DoomsdayFacility.PrivacyGlass.Bedroom.Enable(state)
DoomsdayFacility.PrivacyGlass.Lounge.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enable or disable the glass |
true or false
|
Enable or disable the privacy glass controller box:
DoomsdayFacility.PrivacyGlass.Bedroom.Control.Enable(state)
DoomsdayFacility.PrivacyGlass.Lounge.Control.Enable(state)
Parameter | Description | Valid values |
---|---|---|
state | Enable or disable the controller |
true or false
|
Enable or disable some interior related details:
DoomsdayFacility.Details.Enable(details, state, refresh)
Parameter | Description | Valid values |
---|---|---|
details | TM-02 Khanjali parts (all) | DoomsdayFacility.Details.KhanjaliParts |
TM-02 Khanjali part | DoomsdayFacility.Details.KhanjaliParts.A |
|
TM-02 Khanjali part | DoomsdayFacility.Details.KhanjaliParts.B |
|
TM-02 Khanjali part | DoomsdayFacility.Details.KhanjaliParts.C |
|
Riot Control Vehicle parts (all) | DoomsdayFacility.Details.RiotParts |
|
Riot Control Vehicle part | DoomsdayFacility.Details.RiotParts.A |
|
Riot Control Vehicle part | DoomsdayFacility.Details.RiotParts.B |
|
Riot Control Vehicle part | DoomsdayFacility.Details.RiotParts.C |
|
Chernobog parts (all) | DoomsdayFacility.Details.ChenoParts |
|
Chernobog part | DoomsdayFacility.Details.ChenoParts.A |
|
Chernobog part | DoomsdayFacility.Details.ChenoParts.B |
|
Chernobog part | DoomsdayFacility.Details.ChenoParts.C |
|
Thruster parts (all) | DoomsdayFacility.Details.ThrusterParts |
|
Thruster part | DoomsdayFacility.Details.ThrusterParts.A |
|
Thruster part | DoomsdayFacility.Details.ThrusterParts.B |
|
Thruster part | DoomsdayFacility.Details.ThrusterParts.C |
|
Avenger parts (all) | DoomsdayFacility.Details.AvengerParts |
|
Avenger part | DoomsdayFacility.Details.AvengerParts.A |
|
Avenger part | DoomsdayFacility.Details.AvengerParts.B |
|
Avenger part | DoomsdayFacility.Details.AvengerParts.C |
|
Outfits (all) | DoomsdayFacility.Details.Outfits |
|
Outfit paramedic | DoomsdayFacility.Details.Outfits.paramedic |
|
Outfit morgue | DoomsdayFacility.Details.Outfits.morgue |
|
Outfit serverFarm | DoomsdayFacility.Details.Outfits.serverFarm |
|
Outfit iaa | DoomsdayFacility.Details.Outfits.iaa |
|
Outfit stealAvenger | DoomsdayFacility.Details.Outfits.stealAvenger |
|
Outfit foundry | DoomsdayFacility.Details.Outfits.foundry |
|
Outfit riot | DoomsdayFacility.Details.Outfits.riot |
|
Outfit stromberg | DoomsdayFacility.Details.Outfits.stromberg |
|
Outfit submarine | DoomsdayFacility.Details.Outfits.submarine |
|
Outfit predator | DoomsdayFacility.Details.Outfits.predator |
|
Outfit khanjali | DoomsdayFacility.Details.Outfits.khanjali |
|
Outfit volatol | DoomsdayFacility.Details.Outfits.volatol |
|
Trophies (all) | DoomsdayFacility.Details.Trophies |
|
Trophy Eagle statue | DoomsdayFacility.Details.Trophies.eagle |
|
Trophy IAA | DoomsdayFacility.Details.Trophies.iaa |
|
Trophy Submarine | DoomsdayFacility.Details.Trophies.submarine |
|
Bowls, food, clutters (all) | DoomsdayFacility.Details.Clutter |
|
Bowls, food, clutters | DoomsdayFacility.Details.Clutter.A |
|
Bowls, food, clutters | DoomsdayFacility.Details.Clutter.B |
|
Bowls, food, clutters | DoomsdayFacility.Details.Clutter.C |
|
Bowls, food, clutters | DoomsdayFacility.Details.Clutter.D |
|
Bowls, food, clutters | DoomsdayFacility.Details.Clutter.E |
|
Ring around the crew emblem | DoomsdayFacility.Details.crewEmblem |
|
state | Enabled or disabled |
true or false
|
refresh | Refresh the whole interior |
true or false
|
Set the color of the submarine trophy:
DoomsdayFacility.Details.Trophies.SetColor(color, refresh)
LoadDefault = function()
DoomsdayFacility.Ipl.Exterior.Load()
DoomsdayFacility.Ipl.Interior.Load()
DoomsdayFacility.Walls.SetColor(DoomsdayFacility.Colors.utility)
DoomsdayFacility.Decals.Set(DoomsdayFacility.Decals.style01)
DoomsdayFacility.Lounge.Set(DoomsdayFacility.Lounge.premier, DoomsdayFacility.Colors.utility)
DoomsdayFacility.Sleeping.Set(DoomsdayFacility.Sleeping.premier, DoomsdayFacility.Colors.utility)
DoomsdayFacility.Security.Set(DoomsdayFacility.Security.on, DoomsdayFacility.Colors.utility)
DoomsdayFacility.Cannon.Set(DoomsdayFacility.Cannon.on, DoomsdayFacility.Colors.utility)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.crewEmblem, false)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.AvengerParts, true)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Outfits, true)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Trophies, true)
DoomsdayFacility.Details.Trophies.SetColor(DoomsdayFacility.Colors.utility)
DoomsdayFacility.Details.Enable({DoomsdayFacility.Details.Clutter.A, DoomsdayFacility.Details.Clutter.B}, true)
RefreshInterior(DoomsdayFacility.interiorId)
end
You can handle and customize the interiors in your own resources using the exported functions:
Citizen.CreateThread(function()
-- Getting the object to interact with
DoomsdayFacility = exports['bob74_ipl']:GetDoomsdayFacilityObject()
-- Setting the color of the walls to "Expertise"
DoomsdayFacility.Walls.SetColor(DoomsdayFacility.Colors.expertise)
DoomsdayFacility.Decals.Set(DoomsdayFacility.Decals.style06)
-- Prestige lounge
DoomsdayFacility.Lounge.Set(DoomsdayFacility.Lounge.prestige, DoomsdayFacility.Colors.expertise)
-- Prestige bedroom
DoomsdayFacility.Sleeping.Set(DoomsdayFacility.Sleeping.prestige, DoomsdayFacility.Colors.expertise)
-- No security room
DoomsdayFacility.Security.Set(DoomsdayFacility.Security.off, DoomsdayFacility.Colors.expertise)
-- No orbital cannon
DoomsdayFacility.Cannon.Set(DoomsdayFacility.Cannon.off, DoomsdayFacility.Colors.expertise)
-- Privacy glass remote
DoomsdayFacility.PrivacyGlass.Bedroom.Control.Enable(true)
DoomsdayFacility.PrivacyGlass.Lounge.Control.Enable(true)
-- No crew emblem circle
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.crewEmblem, false)
-- Parts of all vehicles enabled
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.KhanjaliParts, true)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.RiotParts, true)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.ChenoParts, true)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.ThrusterParts, true)
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.AvengerParts, true)
-- All outfits enabled
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Outfits, true)
-- All trophies enabled
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Trophies, true)
-- Sets the color of the submarine trophy to "Expertise"
DoomsdayFacility.Details.Trophies.SetColor(DoomsdayFacility.Colors.expertise)
-- All clutters enabled
DoomsdayFacility.Details.Enable(DoomsdayFacility.Details.Clutter, true)
RefreshInterior(DoomsdayFacility.interiorId)
end)
- Home
- GTA V
- GTA Online
- DLC: High life
- DLC: Heists
- DLC: Executives & Other Criminals
- DLC: Finance & Felony
- DLC: Bikers
- DLC: Import/Export
- DLC: Gunrunning
- DLC: Smuggler's Run
- DLC: The Doomsday Heist
- DLC: After Hours
- DLC: Los Santos Drug Wars
- DLC: San Andreas Mercenaries
- DLC: The Chop Shop
- DLC: Bottom Dollar Bounties