housing
This commit is contained in:
parent
6d90da2841
commit
b71b47a9fb
169 changed files with 12687 additions and 2932 deletions
39
resources/[housing]/bob74_ipl/gtav/ammunations.lua
Normal file
39
resources/[housing]/bob74_ipl/gtav/ammunations.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
exports('GetAmmunationsObject', function()
|
||||
return Ammunations
|
||||
end)
|
||||
|
||||
Ammunations = {
|
||||
ammunationsId = {
|
||||
140289, -- 249.8, -47.1, 70.0
|
||||
153857, -- 844.0, -1031.5, 28.2
|
||||
168193, -- -664.0, -939.2, 21.8
|
||||
164609, -- -1308.7, -391.5, 36.7
|
||||
176385, -- -3170.0, 1085.0, 20.8
|
||||
175617, -- -1116.0, 2694.1, 18.6
|
||||
200961, -- 1695.2, 3756.0, 34.7
|
||||
180481, -- -328.7, 6079.0, 31.5
|
||||
178689 -- 2569.8, 297.8, 108.7
|
||||
},
|
||||
gunclubsId = {
|
||||
137729, -- 19.1, -1110.0, 29.8
|
||||
248065 -- 811.0, -2152.0, 29.6
|
||||
},
|
||||
|
||||
Details = {
|
||||
hooks = "GunStoreHooks", -- Hooks for gun displaying
|
||||
hooksClub = "GunClubWallHooks", -- Hooks for gun displaying
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
if details == Ammunations.Details.hooks then
|
||||
SetIplPropState(Ammunations.ammunationsId, details, state, refresh)
|
||||
elseif details == Ammunations.Details.hooksClub then
|
||||
SetIplPropState(Ammunations.gunclubsId, details, state, refresh)
|
||||
end
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
Ammunations.Details.Enable(Ammunations.Details.hooks, true, true)
|
||||
Ammunations.Details.Enable(Ammunations.Details.hooksClub, true, true)
|
||||
end
|
||||
}
|
||||
12
resources/[housing]/bob74_ipl/gtav/bahama.lua
Normal file
12
resources/[housing]/bob74_ipl/gtav/bahama.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- Bahama Mamas: -1388.0013, -618.41967, 30.819599
|
||||
exports('GetBahamaMamasObject', function()
|
||||
return BahamaMamas
|
||||
end)
|
||||
|
||||
BahamaMamas = {
|
||||
ipl = "hei_sm_16_interior_v_bahama_milo_",
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(BahamaMamas.ipl, state)
|
||||
end
|
||||
}
|
||||
114
resources/[housing]/bob74_ipl/gtav/base.lua
Normal file
114
resources/[housing]/bob74_ipl/gtav/base.lua
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
CreateThread(function()
|
||||
-- Heist Jewel: -637.20159 -239.16250 38.1
|
||||
RequestIpl("post_hiest_unload")
|
||||
|
||||
-- Max Renda: -585.8247, -282.72, 35.45475
|
||||
RequestIpl("refit_unload")
|
||||
|
||||
-- Heist Union Depository: 2.69689322, -667.0166, 16.1306286
|
||||
RequestIpl("FINBANK")
|
||||
|
||||
-- Morgue: 239.75195, -1360.64965, 39.53437
|
||||
RequestIpl("Coroner_Int_on")
|
||||
RequestIpl("coronertrash")
|
||||
|
||||
-- Cluckin Bell: -146.3837, 6161.5, 30.2062
|
||||
RequestIpl("CS1_02_cf_onmission1")
|
||||
RequestIpl("CS1_02_cf_onmission2")
|
||||
RequestIpl("CS1_02_cf_onmission3")
|
||||
RequestIpl("CS1_02_cf_onmission4")
|
||||
|
||||
-- Grapeseed's farm: 2447.9, 4973.4, 47.7
|
||||
RequestIpl("farm")
|
||||
RequestIpl("farmint")
|
||||
RequestIpl("farm_lod")
|
||||
RequestIpl("farm_props")
|
||||
RequestIpl("des_farmhouse")
|
||||
|
||||
-- FIB lobby: 105.4557, -745.4835, 44.7548
|
||||
RequestIpl("FIBlobby")
|
||||
|
||||
-- FIB Roof: 134.33, -745.95, 266.98
|
||||
RequestIpl("atriumglmission")
|
||||
|
||||
-- FIB Fountain 174.184, -667.902, 43.140
|
||||
RemoveIpl('dt1_05_hc_end')
|
||||
RemoveIpl('dt1_05_hc_req')
|
||||
RequestIpl('dt1_05_hc_remove')
|
||||
|
||||
-- Billboard: iFruit
|
||||
RequestIpl("FruitBB")
|
||||
RequestIpl("sc1_01_newbill")
|
||||
RequestIpl("hw1_02_newbill")
|
||||
RequestIpl("hw1_emissive_newbill")
|
||||
RequestIpl("sc1_14_newbill")
|
||||
RequestIpl("dt1_17_newbill")
|
||||
|
||||
-- Lester's factory: 716.84, -962.05, 31.59
|
||||
RequestIpl("id2_14_during_door")
|
||||
RequestIpl("id2_14_during1")
|
||||
|
||||
-- Life Invader lobby: -1047.9, -233.0, 39.0
|
||||
RequestIpl("facelobby")
|
||||
|
||||
-- Tunnels
|
||||
RequestIpl("v_tunnel_hole")
|
||||
|
||||
-- Carwash: 55.7, -1391.3, 30.5
|
||||
RequestIpl("Carwash_with_spinners")
|
||||
|
||||
-- Stadium "Fame or Shame": -248.49159240722656, -2010.509033203125, 34.57429885864258
|
||||
RequestIpl("sp1_10_real_interior")
|
||||
RequestIpl("sp1_10_real_interior_lod")
|
||||
|
||||
-- House in Banham Canyon: -3086.428, 339.2523, 6.3717
|
||||
RequestIpl("ch1_02_open")
|
||||
|
||||
-- Garage in La Mesa (autoshop): 970.27453, -1826.56982, 31.11477
|
||||
RequestIpl("bkr_bi_id1_23_door")
|
||||
|
||||
-- Hill Valley church - Grave: -282.46380000, 2835.84500000, 55.91446000
|
||||
RequestIpl("lr_cs6_08_grave_closed")
|
||||
|
||||
-- Lost's trailer park: 49.49379000, 3744.47200000, 46.38629000
|
||||
RequestIpl("methtrailer_grp1")
|
||||
|
||||
-- Lost safehouse: 984.1552, -95.3662, 74.50
|
||||
RequestIpl("bkr_bi_hw1_13_int")
|
||||
|
||||
-- Raton Canyon river: -1652.83, 4445.28, 2.52
|
||||
RequestIpl("CanyonRvrShallow")
|
||||
|
||||
-- Josh's house: -1117.1632080078, 303.090698, 66.52217
|
||||
RequestIpl("bh1_47_joshhse_unburnt")
|
||||
RequestIpl("bh1_47_joshhse_unburnt_lod")
|
||||
|
||||
-- Bahama Mamas: -1388.0013, -618.41967, 30.819599
|
||||
RequestIpl("hei_sm_16_interior_v_bahama_milo_")
|
||||
|
||||
-- Zancudo River (need streamed content): 86.815, 3191.649, 30.463
|
||||
RequestIpl("cs3_05_water_grp1")
|
||||
RequestIpl("cs3_05_water_grp1_lod")
|
||||
RequestIpl("trv1_trail_start")
|
||||
|
||||
-- Cassidy Creek (need streamed content): -425.677, 4433.404, 27.3253
|
||||
RequestIpl("canyonriver01")
|
||||
RequestIpl("canyonriver01_lod")
|
||||
|
||||
-- Ferris wheel
|
||||
RequestIpl("ferris_finale_anim")
|
||||
|
||||
-- Train track: 2626.374, 2949.869, 39.1409
|
||||
RequestIpl("ld_rail_01_track")
|
||||
RequestIpl("ld_rail_02_track")
|
||||
|
||||
-- Docks cranes: 887.7344, -2922.285, 34.000
|
||||
RequestIpl("dockcrane1")
|
||||
RequestIpl("pcranecont")
|
||||
|
||||
-- Construction lift: -180.5771, -1016.9276, 28.2893
|
||||
RequestIpl("dt1_21_prop_lift_on")
|
||||
|
||||
-- Davis Quartz train: 2773.6099, 2835.3274, 35.1903
|
||||
RequestIpl("cs5_4_trains")
|
||||
end)
|
||||
33
resources/[housing]/bob74_ipl/gtav/cargoship.lua
Normal file
33
resources/[housing]/bob74_ipl/gtav/cargoship.lua
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
-- Cargo ship: -168.1825, -2364.8259, 20.000
|
||||
exports('GetCargoShipObject', function()
|
||||
return CargoShip
|
||||
end)
|
||||
|
||||
CargoShip = {
|
||||
State = {
|
||||
normal = {
|
||||
"cargoship",
|
||||
"ship_occ_grp1"
|
||||
},
|
||||
sunk = {
|
||||
"sunkcargoship",
|
||||
"ship_occ_grp2"
|
||||
},
|
||||
|
||||
Set = function(state)
|
||||
CargoShip.State.Clear(false)
|
||||
|
||||
EnableIpl(state, state)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
EnableIpl({
|
||||
CargoShip.State.normal,
|
||||
CargoShip.State.sunk
|
||||
}, false)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
CargoShip.State.Set(CargoShip.State.normal)
|
||||
end
|
||||
}
|
||||
63
resources/[housing]/bob74_ipl/gtav/floyd.lua
Normal file
63
resources/[housing]/bob74_ipl/gtav/floyd.lua
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
exports('GetFloydObject', function()
|
||||
return Floyd
|
||||
end)
|
||||
|
||||
Floyd = {
|
||||
interiorId = 171777,
|
||||
|
||||
Style = {
|
||||
normal = {
|
||||
"swap_clean_apt",
|
||||
"layer_debra_pic",
|
||||
"layer_whiskey",
|
||||
"swap_sofa_A"
|
||||
},
|
||||
messedUp = {
|
||||
"layer_mess_A",
|
||||
"layer_mess_B",
|
||||
"layer_mess_C",
|
||||
"layer_sextoys_a",
|
||||
"swap_sofa_B",
|
||||
"swap_wade_sofa_A",
|
||||
"layer_wade_shit",
|
||||
"layer_torture"
|
||||
},
|
||||
|
||||
Set = function(style, refresh)
|
||||
Floyd.Style.Clear(false)
|
||||
|
||||
SetIplPropState(Floyd.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Floyd.interiorId, {
|
||||
Floyd.Style.normal,
|
||||
Floyd.Style.messedUp
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
MrJam = {
|
||||
normal = "swap_mrJam_A",
|
||||
jammed = "swap_mrJam_B",
|
||||
jammedOnTable = "swap_mrJam_C",
|
||||
|
||||
Set = function(mrJam, refresh)
|
||||
Floyd.MrJam.Clear(false)
|
||||
|
||||
SetIplPropState(Floyd.interiorId, mrJam, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Floyd.interiorId, {
|
||||
Floyd.MrJam.normal,
|
||||
Floyd.MrJam.jammed,
|
||||
Floyd.MrJam.jammedOnTable
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
Floyd.Style.Set(Floyd.Style.normal)
|
||||
Floyd.MrJam.Set(Floyd.MrJam.normal)
|
||||
|
||||
RefreshInterior(Floyd.interiorId)
|
||||
end
|
||||
}
|
||||
73
resources/[housing]/bob74_ipl/gtav/franklin.lua
Normal file
73
resources/[housing]/bob74_ipl/gtav/franklin.lua
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
exports('GetFranklinObject', function()
|
||||
return Franklin
|
||||
end)
|
||||
|
||||
Franklin = {
|
||||
interiorId = 206849,
|
||||
|
||||
Style = {
|
||||
empty = "",
|
||||
unpacking = "franklin_unpacking",
|
||||
settled = {
|
||||
"franklin_unpacking",
|
||||
"franklin_settled"
|
||||
},
|
||||
cardboxes = "showhome_only",
|
||||
|
||||
Set = function(style, refresh)
|
||||
Franklin.Style.Clear(false)
|
||||
|
||||
if style ~= "" then
|
||||
SetIplPropState(Franklin.interiorId, style, true, refresh)
|
||||
else
|
||||
if refresh then
|
||||
RefreshInterior(Franklin.interiorId)
|
||||
end
|
||||
end
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Franklin.interiorId, {
|
||||
Franklin.Style.settled,
|
||||
Franklin.Style.unpacking,
|
||||
Franklin.Style.cardboxes
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
GlassDoor = {
|
||||
opened = "unlocked",
|
||||
closed = "locked",
|
||||
|
||||
Set = function(door, refresh)
|
||||
Franklin.GlassDoor.Clear(false)
|
||||
|
||||
SetIplPropState(Franklin.interiorId, door, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Franklin.interiorId, {
|
||||
Franklin.GlassDoor.opened,
|
||||
Franklin.GlassDoor.closed
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
Details = {
|
||||
flyer = "progress_flyer", -- Mountain flyer on the kitchen counter
|
||||
tux = "progress_tux", -- Tuxedo suit in the wardrobe
|
||||
tshirt = "progress_tshirt", -- "I <3 LS" tshirt on the bed
|
||||
bong = "bong_and_wine", -- Bong on the table
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(Franklin.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
Franklin.Style.Set(Franklin.Style.empty)
|
||||
Franklin.GlassDoor.Set(Franklin.GlassDoor.opened)
|
||||
Franklin.Details.Enable(Franklin.Details.flyer, false)
|
||||
Franklin.Details.Enable(Franklin.Details.tux, false)
|
||||
Franklin.Details.Enable(Franklin.Details.tshirt, false)
|
||||
Franklin.Details.Enable(Franklin.Details.bong, false)
|
||||
|
||||
RefreshInterior(Franklin.interiorId)
|
||||
end
|
||||
}
|
||||
47
resources/[housing]/bob74_ipl/gtav/franklin_aunt.lua
Normal file
47
resources/[housing]/bob74_ipl/gtav/franklin_aunt.lua
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
exports('GetFranklinAuntObject', function()
|
||||
return FranklinAunt
|
||||
end)
|
||||
|
||||
FranklinAunt = {
|
||||
interiorId = 197889,
|
||||
|
||||
Style = {
|
||||
empty = "",
|
||||
franklinStuff = "V_57_FranklinStuff",
|
||||
franklinLeft = "V_57_Franklin_LEFT",
|
||||
|
||||
Set = function(style, refresh)
|
||||
FranklinAunt.Style.Clear(false)
|
||||
|
||||
if style ~= "" then
|
||||
SetIplPropState(FranklinAunt.interiorId, style, true, refresh)
|
||||
else
|
||||
if refresh then
|
||||
RefreshInterior(FranklinAunt.interiorId)
|
||||
end
|
||||
end
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(FranklinAunt.interiorId, {
|
||||
FranklinAunt.Style.franklinStuff,
|
||||
FranklinAunt.Style.franklinLeft
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
Details = {
|
||||
bandana = "V_57_GangBandana", -- Bandana on the bed
|
||||
bag = "V_57_Safari", -- Bag in the closet
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(FranklinAunt.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
FranklinAunt.Style.Set(FranklinAunt.Style.empty)
|
||||
FranklinAunt.Details.Enable(FranklinAunt.Details.bandana, false)
|
||||
FranklinAunt.Details.Enable(FranklinAunt.Details.bag, false)
|
||||
|
||||
RefreshInterior(FranklinAunt.interiorId)
|
||||
end
|
||||
}
|
||||
14
resources/[housing]/bob74_ipl/gtav/graffitis.lua
Normal file
14
resources/[housing]/bob74_ipl/gtav/graffitis.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
exports('GetGraffitisObject', function()
|
||||
return Graffitis
|
||||
end)
|
||||
|
||||
Graffitis = {
|
||||
ipl = {
|
||||
"ch3_rd2_bishopschickengraffiti", -- 1861.28, 2402.11, 58.53
|
||||
"cs5_04_mazebillboardgraffiti", -- 2697.32, 3162.18, 58.1
|
||||
"cs5_roads_ronoilgraffiti" -- 2119.12, 3058.21, 53.25
|
||||
},
|
||||
Enable = function(state)
|
||||
EnableIpl(Graffitis.ipl, state)
|
||||
end
|
||||
}
|
||||
31
resources/[housing]/bob74_ipl/gtav/lester_factory.lua
Normal file
31
resources/[housing]/bob74_ipl/gtav/lester_factory.lua
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
exports('GetLesterFactoryObject', function()
|
||||
return LesterFactory
|
||||
end)
|
||||
|
||||
LesterFactory = {
|
||||
interiorId = 92674,
|
||||
|
||||
Details = {
|
||||
bluePrint = "V_53_Agency_Blueprint", -- Blueprint on the office desk
|
||||
bag = "V_35_KitBag", -- Bag under the office desk
|
||||
fireMan = "V_35_Fireman", -- Firemans helmets in the office
|
||||
armour = "V_35_Body_Armour", -- Body armor in storage
|
||||
gasMask = "Jewel_Gasmasks", -- Gas mask and suit in storage
|
||||
janitorStuff = "v_53_agency _overalls", -- Janitor stuff in the storage (yes, there is a whitespace)
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(LesterFactory.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
LesterFactory.Details.Enable(LesterFactory.Details.bluePrint, false)
|
||||
LesterFactory.Details.Enable(LesterFactory.Details.bag, false)
|
||||
LesterFactory.Details.Enable(LesterFactory.Details.fireMan, false)
|
||||
LesterFactory.Details.Enable(LesterFactory.Details.armour, false)
|
||||
LesterFactory.Details.Enable(LesterFactory.Details.gasMask, false)
|
||||
LesterFactory.Details.Enable(LesterFactory.Details.janitorStuff, false)
|
||||
|
||||
RefreshInterior(LesterFactory.interiorId)
|
||||
end
|
||||
}
|
||||
85
resources/[housing]/bob74_ipl/gtav/michael.lua
Normal file
85
resources/[housing]/bob74_ipl/gtav/michael.lua
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
exports('GetMichaelObject', function()
|
||||
return Michael
|
||||
end)
|
||||
|
||||
Michael = {
|
||||
interiorId = 166657,
|
||||
garageId = 166401,
|
||||
|
||||
Style = {
|
||||
normal = {
|
||||
"V_Michael_bed_tidy",
|
||||
"V_Michael_M_items",
|
||||
"V_Michael_D_items",
|
||||
"V_Michael_S_items",
|
||||
"V_Michael_L_Items"
|
||||
},
|
||||
moved = {
|
||||
"V_Michael_bed_Messy",
|
||||
"V_Michael_M_moved",
|
||||
"V_Michael_D_Moved",
|
||||
"V_Michael_L_Moved",
|
||||
"V_Michael_S_items_swap",
|
||||
"V_Michael_M_items_swap"
|
||||
},
|
||||
|
||||
Set = function(style, refresh)
|
||||
Michael.Style.Clear(false)
|
||||
|
||||
SetIplPropState(Michael.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Michael.interiorId, {
|
||||
Michael.Style.normal,
|
||||
Michael.Style.moved
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
Bed = {
|
||||
tidy = "V_Michael_bed_tidy",
|
||||
messy = "V_Michael_bed_Messy",
|
||||
|
||||
Set = function(bed, refresh)
|
||||
Michael.Bed.Clear(false)
|
||||
|
||||
SetIplPropState(Michael.interiorId, bed, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Michael.interiorId, {
|
||||
Michael.Bed.tidy,
|
||||
Michael.Bed.messy
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
Garage = {
|
||||
scuba = "V_Michael_Scuba", -- Scuba diver gear
|
||||
|
||||
Enable = function(scuba, state, refresh)
|
||||
SetIplPropState(Michael.garageId, scuba, state, refresh)
|
||||
end
|
||||
},
|
||||
Details = {
|
||||
moviePoster = "Michael_premier", -- Meltdown movie poster
|
||||
fameShamePoste = "V_Michael_FameShame", -- Next to Tracey's bed
|
||||
planeTicket = "V_Michael_plane_ticket", -- Plane ticket
|
||||
spyGlasses = "V_Michael_JewelHeist", -- On the shelf inside Michael's bedroom
|
||||
bugershot = "burgershot_yoga", -- Bag and cup in the kitchen, next to the sink
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(Michael.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
Michael.Garage.Enable(Michael.Garage.scuba, false, true)
|
||||
Michael.Style.Set(Michael.Style.normal)
|
||||
Michael.Bed.Set(Michael.Bed.tidy)
|
||||
Michael.Details.Enable(Michael.Details.moviePoster, false)
|
||||
Michael.Details.Enable(Michael.Details.fameShamePoste, false)
|
||||
Michael.Details.Enable(Michael.Details.spyGlasses, false)
|
||||
Michael.Details.Enable(Michael.Details.planeTicket, false)
|
||||
Michael.Details.Enable(Michael.Details.bugershot, false)
|
||||
|
||||
RefreshInterior(Michael.interiorId)
|
||||
end
|
||||
}
|
||||
74
resources/[housing]/bob74_ipl/gtav/north_yankton.lua
Normal file
74
resources/[housing]/bob74_ipl/gtav/north_yankton.lua
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
exports('GetNorthYanktonObject', function()
|
||||
return NorthYankton
|
||||
end)
|
||||
|
||||
NorthYankton = {
|
||||
ipl = {
|
||||
"prologue01",
|
||||
"prologue01c",
|
||||
"prologue01d",
|
||||
"prologue01e",
|
||||
"prologue01f",
|
||||
"prologue01g",
|
||||
"prologue01h",
|
||||
"prologue01i",
|
||||
"prologue01j",
|
||||
"prologue01k",
|
||||
"prologue01z",
|
||||
"prologue02",
|
||||
"prologue03",
|
||||
"prologue03b",
|
||||
"prologue04",
|
||||
"prologue04b",
|
||||
"prologue05",
|
||||
"prologue05b",
|
||||
"prologue06",
|
||||
"prologue06b",
|
||||
"prologue_occl",
|
||||
"prologue06_int",
|
||||
"prologuerd",
|
||||
"prologuerdb",
|
||||
"prologue_DistantLights",
|
||||
"prologue_LODLights",
|
||||
"DES_ProTree_start",
|
||||
"prologue_m2_door",
|
||||
"prologue03_grv_cov"
|
||||
},
|
||||
|
||||
Grave = {
|
||||
covered = "prologue03_grv_cov",
|
||||
dug = "prologue03_grv_dug",
|
||||
funeral = "prologue03_grv_fun",
|
||||
|
||||
Set = function(grave)
|
||||
NorthYankton.Grave.Clear()
|
||||
|
||||
EnableIpl(grave, true)
|
||||
end,
|
||||
Clear = function()
|
||||
EnableIpl({
|
||||
NorthYankton.Grave.covered,
|
||||
NorthYankton.Grave.dug,
|
||||
NorthYankton.Grave.funeral
|
||||
}, false)
|
||||
end
|
||||
},
|
||||
|
||||
Traffic = {
|
||||
Enable = function(state)
|
||||
SetAllPathsCacheBoundingstruct(state)
|
||||
|
||||
SetRoadsInAngledArea(5526.24, -5137.23, 61.78925, 3679.327, -4973.879, 125.0828, 192, false, state, true);
|
||||
SetRoadsInAngledArea(3691.211, -4941.24, 94.59368, 3511.115, -4869.191, 126.7621, 16, false, state, true);
|
||||
SetRoadsInAngledArea(3510.004, -4865.81, 94.69557, 3204.424, -4833.817, 126.8152, 16, false, state, true);
|
||||
SetRoadsInAngledArea(3186.534, -4832.798, 109.8148, 3202.187, -4833.993, 114.815, 16, false, state, true);
|
||||
end
|
||||
},
|
||||
|
||||
Enable = function(state)
|
||||
NorthYankton.Grave.Clear()
|
||||
NorthYankton.Traffic.Enable(state)
|
||||
|
||||
EnableIpl(NorthYankton.ipl, state)
|
||||
end
|
||||
}
|
||||
12
resources/[housing]/bob74_ipl/gtav/pillbox_hospital.lua
Normal file
12
resources/[housing]/bob74_ipl/gtav/pillbox_hospital.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
-- Pillbox hospital: 307.1680, -590.807, 43.280
|
||||
exports('GetPillboxHospitalObject', function()
|
||||
return PillboxHospital
|
||||
end)
|
||||
|
||||
PillboxHospital = {
|
||||
ipl = "rc12b_default",
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(PillboxHospital.ipl, state)
|
||||
end
|
||||
}
|
||||
11
resources/[housing]/bob74_ipl/gtav/red_carpet.lua
Normal file
11
resources/[housing]/bob74_ipl/gtav/red_carpet.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
exports('GetRedCarpetObject', function()
|
||||
return RedCarpet
|
||||
end)
|
||||
|
||||
RedCarpet = {
|
||||
ipl = "redCarpet",
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(RedCarpet.ipl, state)
|
||||
end
|
||||
}
|
||||
73
resources/[housing]/bob74_ipl/gtav/simeon.lua
Normal file
73
resources/[housing]/bob74_ipl/gtav/simeon.lua
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
exports('GetSimeonObject', function()
|
||||
return Simeon
|
||||
end)
|
||||
|
||||
Simeon = {
|
||||
interiorId = 7170,
|
||||
|
||||
Ipl = {
|
||||
Interior = {
|
||||
ipl = {
|
||||
"shr_int"
|
||||
},
|
||||
|
||||
Load = function()
|
||||
EnableIpl(Simeon.Ipl.Interior.ipl, true)
|
||||
end,
|
||||
Remove = function()
|
||||
EnableIpl(Simeon.Ipl.Interior.ipl, false)
|
||||
end
|
||||
}
|
||||
},
|
||||
Style = {
|
||||
normal = "csr_beforeMission",
|
||||
noGlass = "csr_inMission",
|
||||
destroyed = "csr_afterMissionA",
|
||||
fixed = "csr_afterMissionB",
|
||||
|
||||
Set = function(style, refresh)
|
||||
Simeon.Style.Clear(false)
|
||||
|
||||
SetIplPropState(Simeon.interiorId, style, true, refresh)
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Simeon.interiorId, {
|
||||
Simeon.Style.normal,
|
||||
Simeon.Style.noGlass,
|
||||
Simeon.Style.destroyed,
|
||||
Simeon.Style.fixed
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
Shutter = {
|
||||
none = "",
|
||||
opened = "shutter_open",
|
||||
closed = "shutter_closed",
|
||||
|
||||
Set = function(shutter, refresh)
|
||||
Simeon.Shutter.Clear(false)
|
||||
|
||||
if shutter ~= "" then
|
||||
SetIplPropState(Simeon.interiorId, shutter, true, refresh)
|
||||
else
|
||||
if refresh then
|
||||
RefreshInterior(Simeon.interiorId)
|
||||
end
|
||||
end
|
||||
end,
|
||||
Clear = function(refresh)
|
||||
SetIplPropState(Simeon.interiorId, {
|
||||
Simeon.Shutter.opened,
|
||||
Simeon.Shutter.closed
|
||||
}, false, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
Simeon.Ipl.Interior.Load()
|
||||
Simeon.Style.Set(Simeon.Style.normal)
|
||||
Simeon.Shutter.Set(Simeon.Shutter.opened)
|
||||
|
||||
RefreshInterior(Simeon.interiorId)
|
||||
end
|
||||
}
|
||||
18
resources/[housing]/bob74_ipl/gtav/stripclub.lua
Normal file
18
resources/[housing]/bob74_ipl/gtav/stripclub.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
exports('GetStripClubObject', function()
|
||||
return StripClub
|
||||
end)
|
||||
|
||||
StripClub = {
|
||||
interiorId = 197121,
|
||||
|
||||
Mess = {
|
||||
mess = "V_19_Trevor_Mess", -- A bit of mess in the office
|
||||
Enable = function(state)
|
||||
SetIplPropState(StripClub.interiorId, StripClub.Mess.mess, state, true)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
StripClub.Mess.Enable(false)
|
||||
end
|
||||
}
|
||||
42
resources/[housing]/bob74_ipl/gtav/trevors_trailer.lua
Normal file
42
resources/[housing]/bob74_ipl/gtav/trevors_trailer.lua
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
exports('GetTrevorsTrailerObject', function()
|
||||
return TrevorsTrailer
|
||||
end)
|
||||
|
||||
TrevorsTrailer = {
|
||||
interiorId = 2562,
|
||||
|
||||
Interior = {
|
||||
tidy = "trevorstrailertidy",
|
||||
trash = "TrevorsTrailerTrash",
|
||||
|
||||
Set = function(interior)
|
||||
TrevorsTrailer.Interior.Clear()
|
||||
|
||||
EnableIpl(interior, true)
|
||||
end,
|
||||
Clear = function()
|
||||
EnableIpl({
|
||||
TrevorsTrailer.Interior.tidy,
|
||||
TrevorsTrailer.Interior.trash
|
||||
}, false)
|
||||
end
|
||||
},
|
||||
Details = {
|
||||
copHelmet = "V_26_Trevor_Helmet3", -- Cop helmet in the closet
|
||||
briefcase = "V_24_Trevor_Briefcase3", -- Briefcase in the main room
|
||||
michaelStuff = "V_26_Michael_Stay3", -- Michael's suit hanging on the window
|
||||
|
||||
Enable = function(details, state, refresh)
|
||||
SetIplPropState(TrevorsTrailer.interiorId, details, state, refresh)
|
||||
end
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
TrevorsTrailer.Interior.Set(TrevorsTrailer.Interior.trash)
|
||||
TrevorsTrailer.Details.Enable(TrevorsTrailer.Details.copHelmet, false, false)
|
||||
TrevorsTrailer.Details.Enable(TrevorsTrailer.Details.briefcase, false, false)
|
||||
TrevorsTrailer.Details.Enable(TrevorsTrailer.Details.michaelStuff, false, false)
|
||||
|
||||
RefreshInterior(TrevorsTrailer.interiorId)
|
||||
end
|
||||
}
|
||||
27
resources/[housing]/bob74_ipl/gtav/ufo.lua
Normal file
27
resources/[housing]/bob74_ipl/gtav/ufo.lua
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
exports('GetUFOObject', function()
|
||||
return UFO
|
||||
end)
|
||||
|
||||
UFO = {
|
||||
Hippie = {
|
||||
ipl = "ufo", -- Hippie base: 2490.47729, 3774.84351, 2414.035
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(UFO.Hippie.ipl, state)
|
||||
end
|
||||
},
|
||||
Chiliad = {
|
||||
ipl = "ufo_eye", -- Chiliad: 501.5288, 5593.865, 796.2325
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(UFO.Chiliad.ipl, state)
|
||||
end
|
||||
},
|
||||
Zancudo = {
|
||||
ipl = "ufo_lod", -- Zancudo: -2051.99463, 3237.05835, 1456.97021
|
||||
|
||||
Enable = function(state)
|
||||
EnableIpl(UFO.Zancudo.ipl, state)
|
||||
end
|
||||
}
|
||||
}
|
||||
19
resources/[housing]/bob74_ipl/gtav/zancudo_gates.lua
Normal file
19
resources/[housing]/bob74_ipl/gtav/zancudo_gates.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- Zancudo Gates (GTAO like): -1600.30100000 2806.73100000 18.79683000
|
||||
exports('GetZancudoGatesObject', function()
|
||||
return ZancudoGates
|
||||
end)
|
||||
|
||||
ZancudoGates = {
|
||||
Gates = {
|
||||
Open = function()
|
||||
EnableIpl("CS3_07_MPGates", false)
|
||||
end,
|
||||
Close = function()
|
||||
EnableIpl("CS3_07_MPGates", true)
|
||||
end,
|
||||
},
|
||||
|
||||
LoadDefault = function()
|
||||
ZancudoGates.Gates.Open()
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue