mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
178 lines
4.3 KiB
C++
178 lines
4.3 KiB
C++
class flamable_DZ: House
|
|
{
|
|
model = "z\addons\dayz_communityassets\models\waterHoleProxy";
|
|
displayName = "";
|
|
icon = "\ca\misc3\data\Icons\icon_fireplace_ca.paa";
|
|
mapSize = 0;
|
|
scope = 2;
|
|
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 = 2;
|
|
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 = 2;
|
|
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";
|
|
};
|
|
};
|
|
};
|