Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Introduced Arcade + San Andreas Mercenary
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzCelyrian committed Jan 15, 2024
1 parent 5bb2374 commit ae9af59
Show file tree
Hide file tree
Showing 11 changed files with 111 additions and 0 deletions.
66 changes: 66 additions & 0 deletions dlc_mercenary/avenger.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
local function ToggleEntitySet(interior, entitySet, toggle)
if toggle then
ActivateInteriorEntitySet(interior, entitySet)
else
DeactivateInteriorEntitySet(interior, entitySet)
end
end

CreateThread(function()
RequestIpl("m23_1_int_placement_m23_1_interior_0_dlc_int_01_m23_1_milo_")

-- -880.0, -2770.0, -50.0
local interiorid = 291585

EnableInteriorProp(interiorid, "m23_1_m231_1_tint_fabric_01a")

EnableInteriorProp(interiorid, "m23_1_m231_1_avenger_door")

EnableInteriorProp(interiorid, "prop_fire_exting_2a")

EnableInteriorProp(interiorid, "m23_1_m231_1_tint_netting_01a")

EnableInteriorProp(interiorid, "m23_1_m231_1_tint_seat_01a")
EnableInteriorProp(interiorid, "m23_1_m231_1_tint_seat_01b")
EnableInteriorProp(interiorid, "m23_1_m231_1_tint_seat_01c")

EnableInteriorProp(interiorid, "m23_1_m231_1_prop_am_decal_strip_01c")
EnableInteriorProp(interiorid, "m23_1_m231_1_prop_am_decal_strip_01b")
EnableInteriorProp(interiorid, "m23_1_m231_1_prop_am_decal_strip_01a")

EnableInteriorProp(interiorid, "m23_1_m231_1_cctv_unit")

EnableInteriorProp(interiorid, "m23_1_m231_1_tint_floor_01a")

EnableInteriorProp(interiorid, "m23_1_m231_1_tint_bolts_01a")

EnableInteriorProp(interiorid, "m23_1_m231_1_shadow_mesh")

EnableInteriorProp(interiorid, "m23_1_m231_1_avenger_col_dummy")

ToggleEntitySet(interiorid, "vehicle_mod", true)
SetInteriorEntitySetColor(interiorid, "vehicle_mod", 1)

ToggleEntitySet(interiorid, "weapons_mod", true)
SetInteriorEntitySetColor(interiorid, "weapons_mod", 1)

ToggleEntitySet(interiorid, "control_1", true)
SetInteriorEntitySetColor(interiorid, "control_1", 1)

ToggleEntitySet(interiorid, "control_2", true)
SetInteriorEntitySetColor(interiorid, "control_2", 1)

ToggleEntitySet(interiorid, "control_3", true)
SetInteriorEntitySetColor(interiorid, "control_3", 1)

ToggleEntitySet(interiorid, "gold_bling", true)

ToggleEntitySet(interiorid, "screen_control", true) -- Controle table
SetInteriorEntitySetColor(interiorid, "screen_control", 1)
ToggleEntitySet(interiorid, "seat_01", false) -- seat under the controle table

ToggleEntitySet(interiorid, "jetpack_stand", true) -- Jetpack stand
ToggleEntitySet(interiorid, "seat_02", false) -- seat under the jetpack stand

RefreshInterior(interiorid)
end)
20 changes: 20 additions & 0 deletions dlc_mercenary/garage.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
local function ToggleEntitySet(interior, entitySet, toggle)
if toggle then
ActivateInteriorEntitySet(interior, entitySet)
else
DeactivateInteriorEntitySet(interior, entitySet)
end
end

CreateThread(function()
-- 1200.0, -3250.0, -50.0
local interiorid = 291841

ToggleEntitySet(interiorid, "showroom", true) -- expo zone
ToggleEntitySet(interiorid, "extra_light", false) -- extra light
ToggleEntitySet(interiorid, "showroom_wall", true) -- wall vinewood car club on expo zone
ToggleEntitySet(interiorid, "extra_door", true) -- extra door
ToggleEntitySet(interiorid, "wall_sign", true) -- sign on the wall

RefreshInterior(interiorid)
end)
19 changes: 19 additions & 0 deletions dlc_mercenary/zancudo.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
local function ToggleEntitySet(interior, entitySet, toggle)
if toggle then
ActivateInteriorEntitySet(interior, entitySet)
else
DeactivateInteriorEntitySet(interior, entitySet)
end
end

CreateThread(function()
-- -1876.62, 3750.0, -100.0
local interiorid = 292097

ToggleEntitySet(interiorid, "entity_set_lever", true)
ToggleEntitySet(interiorid, "entity_set_light", true)
ToggleEntitySet(interiorid, "entity_set_weapons", true)
ToggleEntitySet(interiorid, "entity_set_create", true)

RefreshInterior(interiorid)
end)
6 changes: 6 additions & 0 deletions fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,14 @@ client_scripts {
, "gta_mpsum2/vehicle_warehouse.lua"
, "gta_mpsum2/warehouse.lua"

-- DLC San Andreas Mercenaries (Requires forced build 2944 or higher)
, "dlc_mercenary/avenger.lua"
, "dlc_mercenary/garage.lua"
, "dlc_mercenary/zancudo.lua"

-- DLC Chop Shop (Requires forced build 3095 or higher)
, "dlc_chopshop/chopshop.lua"
}

data_file 'GTXD_PARENTING_DATA' 'dlc_cayoperico/mph4_gtxd.meta'
data_file 'DLC_ITYP_REQUEST' 'stream/m23_1_dlc_int_03_m23_1.ytyp'
Binary file added stream/_manifest_cs_arcade1.ymf
Binary file not shown.
Binary file added stream/_manifest_cs_plan.ymf
Binary file not shown.
Binary file added stream/ch_dlc_int_02_ch.ytyp
Binary file not shown.
Binary file added stream/ch_dlc_int_03_ch.ytyp
Binary file not shown.
Binary file added stream/m23_1_dlc_int_01_m23_1.ytyp
Binary file not shown.
Binary file added stream/m23_1_dlc_int_02_m23_1.ytyp
Binary file not shown.
Binary file added stream/m23_1_dlc_int_03_m23_1.ytyp
Binary file not shown.

0 comments on commit ae9af59

Please sign in to comment.