Epoch/Sources/epoch_config/Configs/CfgVehicles/Fixes.hpp
2015-12-15 12:46:09 -06:00

151 lines
4.3 KiB
C++

/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Fixes to remove global exec of killed eh payload on map objects. Update: 12/4/2015 still needed as of 1.54
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/master/Sources/epoch_config/Configs/CfgVehicles/Fixes.hpp
*/
class House;
class House_F: House
{
class DestructionEffects;
};
class House_Small_F;
class Ruins_F;
class PowerLines_base_F : House_F
{
mapSize = 2.35;
author = "$STR_A3_Bohemia_Interactive";
_generalMacro = "PowerLines_base_F";
scope = 0;
scopeCurator = 0;
displayName = "";
model = "\A3\Weapons_F\empty.p3d";
vehicleClass = "Structures_Infrastructure";
cost = 100;
compatibleWires[] = {};
class EventHandlers
{
killed = "if (isServer) then {this call compile preprocessFileLineNumbers ""\A3\Structures_F\Ind\PowerLines\Scripts\column_ruins.sqf""};";
};
};
class PowerLines_Small_base_F : House_Small_F
{
mapSize = 2.79;
author = "$STR_A3_Bohemia_Interactive";
_generalMacro = "PowerLines_Small_base_F";
scope = 0;
scopeCurator = 0;
displayName = "";
model = "\A3\Weapons_F\empty.p3d";
vehicleClass = "Structures_Infrastructure";
compatibleWires[] = {};
cost = 100;
class EventHandlers
{
killed = "if (isServer) then {this call compile preprocessFileLineNumbers ""\A3\Structures_F\Ind\PowerLines\Scripts\column_ruins.sqf""};";
};
};
class Land_Communication_anchor_F : House_F
{
mapSize = 9.73;
author = "$STR_A3_Bohemia_Interactive";
_generalMacro = "Land_Communication_anchor_F";
scope = 1;
scopeCurator = 2;
displayName = "$STR_A3_CfgVehicles_Land_Communication_anchor_F0";
model = "\A3\Structures_F\Ind\Transmitter_Tower\Communication_anchor_F.p3d";
vehicleClass = "Structures_Infrastructure";
class DestructionEffects
{
class DestroyPhase1
{
simulation = "destroy";
type = "DelayedDestruction";
lifeTime = 1;
position = "";
intensity = 1;
interval = 1;
};
};
class EventHandlers
{
killed = "if (isServer) then {this call compile preprocessFileLineNumbers ""\A3\Structures_F\Ind\Transmitter_Tower\Scripts\anchor_ruins.sqf""};";
};
};
class Land_Communication_F : House_F
{
mapSize = 4.53;
author = "$STR_A3_Bohemia_Interactive";
_generalMacro = "Land_Communication_F";
scope = 1;
scopeCurator = 2;
displayName = "$STR_A3_CfgVehicles_Land_Communication_F0";
model = "\A3\Structures_F\Ind\Transmitter_Tower\Communication_F.p3d";
vehicleClass = "Structures_Infrastructure";
cost = 40000;
class EventHandlers
{
killed = "if (isServer) then {this call compile preprocessFileLineNumbers ""\A3\Structures_F\Ind\Transmitter_Tower\Scripts\tower_ruins.sqf""};";
};
};
/*
Increase Backpack storage limits to balance for changes since 1.54
*/
class Bag_Base;
class B_AssaultPack_Base: Bag_Base
{
model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Compact";
descriptionShort = "Load: 360, Mass: 20";
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_compact_khk_co.paa"};
maximumLoad = 360;
mass = 20;
};
class B_FieldPack_Base: Bag_Base
{
model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Gorod";
descriptionShort = "Load: 400, Mass: 30";
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_gorod_cbr_co.paa"};
maximumLoad = 400;
mass = 30;
};
class B_TacticalPack_Base: Bag_Base
{
model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Small";
descriptionShort = "Load: 480, Mass: 40";
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_small_co.paa"};
maximumLoad = 480;
mass = 40;
};
class B_Kitbag_Base: Bag_Base
{
picture = "\A3\Weapons_F\ammoboxes\bags\data\ui\icon_B_C_Kitbag_rgr";
descriptionShort = "Load: 520, Mass: 50";
model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Fast";
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_fast_rgr_co.paa"};
maximumLoad = 520;
mass = 50;
};
class B_Carryall_Base: Bag_Base
{
model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
descriptionShort = "Load: 550, Mass: 60";
picture = "\A3\Weapons_F\Ammoboxes\Bags\data\UI\icon_B_C_Tortila_khk.paa";
hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_tortila_khk_co.paa"};
maximumLoad = 550;
mass = 60;
};