mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Re-arrange CfgVehicles config for buildings and buildables
- All buildables are grouped together now. - Buildables can be used and found under "DayZ Epoch Buildables" in the editor now. - Update scope of a few vehicles. Most base classes should be private or at least protected. - Epoch Loot Container can be found under "DayZ Epoch Crates" in the editor now.
This commit is contained in:
177
SQF/dayz_code/Configs/CfgVehicles/Land_Fire.hpp
Normal file
177
SQF/dayz_code/Configs/CfgVehicles/Land_Fire.hpp
Normal file
@@ -0,0 +1,177 @@
|
||||
class flamable_DZ: House
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\waterHoleProxy";
|
||||
displayName = "";
|
||||
icon = "\ca\misc3\data\Icons\icon_fireplace_ca.paa";
|
||||
mapSize = 0;
|
||||
scope = public;
|
||||
armor=1000;
|
||||
simulation="fire";
|
||||
vehicleClass="Misc";
|
||||
|
||||
class effects
|
||||
{
|
||||
class Light1
|
||||
{
|
||||
simulation = "light";
|
||||
type = "SmallFireLight";
|
||||
};
|
||||
class sound
|
||||
{
|
||||
simulation = "sound";
|
||||
type = "Fire";
|
||||
};
|
||||
class Fire1
|
||||
{
|
||||
simulation = "particles";
|
||||
type = "SmallFireF";
|
||||
};
|
||||
class Smoke1
|
||||
{
|
||||
simulation = "particles";
|
||||
type = "SmallFireS";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Land_Fire: House
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\fire";
|
||||
displayName = "$STR_MISC_FIRE";
|
||||
icon = "\ca\misc3\data\Icons\icon_fireplace_ca.paa";
|
||||
mapsize = 1.03;
|
||||
scope = public;
|
||||
accuracy=1;
|
||||
armor = 150;
|
||||
simulation="fire";
|
||||
vehicleClass = "Misc";
|
||||
destrtype = "DestructNo";
|
||||
keephorizontalplacement = 0;
|
||||
_generalmacro = "Land_FirePlace_F";
|
||||
|
||||
class UserActions {
|
||||
class lightup {
|
||||
displayNameDefault = $STR_ACTIONS_LIGHTFIRE;
|
||||
displayName = $STR_ACTIONS_LIGHTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,true] call dayz_inflame_showMenu";
|
||||
statement = "[this,true] call dayz_inflame";
|
||||
};
|
||||
class putout {
|
||||
displayNameDefault = $STR_ACTIONS_PUTOUTFIRE;
|
||||
displayName = $STR_ACTIONS_PUTOUTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,false] call dayz_inflame_showMenu";
|
||||
statement = "[this,false] call dayz_inflame";
|
||||
};
|
||||
};
|
||||
actionBegin1 = "lightup";
|
||||
actionEnd1 = "lightup";
|
||||
};
|
||||
class Land_Fire_barrel : Land_Fire
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\Barel7";
|
||||
icon="\Ca\misc\data\icons\i_beczka_CA.paa";
|
||||
displayName=$STR_MISC_FIRE_BARREL;
|
||||
destrType=DestructEngine;
|
||||
class UserActions {
|
||||
class lightup {
|
||||
displayNameDefault = $STR_ACTIONS_LIGHTFIRE;
|
||||
displayName = $STR_ACTIONS_LIGHTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,true] call dayz_inflame_showMenu_other";
|
||||
statement = "[this,true] call dayz_inflame_other";
|
||||
};
|
||||
class putout {
|
||||
displayNameDefault = $STR_ACTIONS_PUTOUTFIRE;
|
||||
displayName = $STR_ACTIONS_PUTOUTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,false] call dayz_inflame_showMenu_other";
|
||||
statement = "[this,false] call dayz_inflame_other";
|
||||
};
|
||||
};
|
||||
vehicleClass = "DayZ Epoch Buildings";
|
||||
};
|
||||
|
||||
class Land_Fire_DZ : Land_Fire {
|
||||
transportMaxMagazines = 1;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
offset[] = {0,1,0};
|
||||
constructioncount = 1;
|
||||
class UserActions {
|
||||
class lightup {
|
||||
displayNameDefault = $STR_ACTIONS_LIGHTFIRE;
|
||||
displayName = $STR_ACTIONS_LIGHTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,true] call dayz_inflame_showMenu";
|
||||
statement = "[this,true] call dayz_inflame";
|
||||
};
|
||||
class putout {
|
||||
displayNameDefault = $STR_ACTIONS_PUTOUTFIRE;
|
||||
displayName = $STR_ACTIONS_PUTOUTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,false] call dayz_inflame_showMenu";
|
||||
statement = "[this,false] call dayz_inflame";
|
||||
};
|
||||
};
|
||||
vehicleClass = "DayZ Epoch Buildings";
|
||||
};
|
||||
|
||||
class Base_Fire_DZ : Land_Fire {
|
||||
displayName = "Permanent fireplace";
|
||||
transportMaxMagazines = 1;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
model = "\Ca\misc3\Campfire";
|
||||
};
|
||||
|
||||
class Land_Camp_Fire_DZ : Land_Fire {
|
||||
transportMaxMagazines = 3;
|
||||
transportMaxWeapons = 0;
|
||||
transportMaxBackpacks = 0;
|
||||
model = "\Ca\misc3\Campfire";
|
||||
vehicleClass = "DayZ Epoch Buildings";
|
||||
};
|
||||
|
||||
class Misc_TyreHeap: Land_Fire
|
||||
{
|
||||
scope = public;
|
||||
vehicleClass="Misc";
|
||||
model = "\ca\misc\Misc_TyreHeap";
|
||||
icon="\Ca\Misc3\Data\Icons\icomap_tyreHeap_CA.paa";
|
||||
mapSize = 2;
|
||||
displayName=$STR_DN_TYREHEAP;
|
||||
class UserActions {
|
||||
class lightup {
|
||||
displayNameDefault = $STR_ACTIONS_LIGHTFIRE;
|
||||
displayName = $STR_ACTIONS_LIGHTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,true] call dayz_inflame_showMenu_other";
|
||||
statement = "[this,true] call dayz_inflame_other";
|
||||
};
|
||||
class putout {
|
||||
displayNameDefault = $STR_ACTIONS_PUTOUTFIRE;
|
||||
displayName = $STR_ACTIONS_PUTOUTFIRE;
|
||||
position = "ohniste";
|
||||
radius = 3;
|
||||
onlyForPlayer = 0;
|
||||
condition = "[this,false] call dayz_inflame_showMenu_other";
|
||||
statement = "[this,false] call dayz_inflame_other";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user