mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
2d0ef031c6
- Vehicle Upgrade moved to DynaMenu - Hitpoints now also will be given to Vehicles from other BaseClasses (controlled by HitPointNames) - Added a security Check that Players must have a bit distance to upgrade - Fixed some errors in Colorscript for upgraded Vehicles. If it is only an upgrade, same color is used. If it is another Class, a new random color will be taken. - Removed Upgrade Vehicle from Inventory Click - Changed DynaMenu to make it possible to call a script to get iconpath (use "iconcode" instead of "icon" then)
114 lines
5.2 KiB
C++
114 lines
5.2 KiB
C++
/*
|
|
@author = "Aaron Clark - https://EpochMod.com";
|
|
@contributors[] = {"DirtySanchez","He-Man"};
|
|
@description = "Vehicle Upgrade configs";
|
|
@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/release/Sources/epoch_config/Configs/CfgItemInteractions.hpp";
|
|
*/
|
|
class CfgVehicleUpgrades
|
|
{
|
|
class C_Hatchback_01_EPOCH
|
|
{
|
|
upgradeToVehicle[] = {"C_Hatchback_01_EPOCH1"};
|
|
class C_Hatchback_01_EPOCH1
|
|
{
|
|
ReqMaterials[] = {{1,"KitVehicleUpgradeI_200_EPOCH"}};
|
|
};
|
|
class C_Hatchback_02_EPOCH1: C_Hatchback_01_EPOCH1 {};
|
|
class C_Offroad_01_EPOCH1: C_Hatchback_01_EPOCH1 {};
|
|
class C_SUV_01_EPOCH1: C_Hatchback_01_EPOCH1 {};
|
|
class B_MRAP_01_EPOCH1: C_Hatchback_01_EPOCH1 {};
|
|
class O_MRAP_02_EPOCH1: C_Hatchback_01_EPOCH1 {};
|
|
class I_MRAP_03_EPOCH1: C_Hatchback_01_EPOCH1 {};
|
|
};
|
|
class C_Hatchback_02_EPOCH: C_Hatchback_01_EPOCH { upgradeToVehicle[] = {"C_Hatchback_02_EPOCH1"}; };
|
|
class C_Offroad_01_EPOCH: C_Hatchback_01_EPOCH { upgradeToVehicle[] = {"C_Offroad_01_EPOCH1"}; };
|
|
class C_SUV_01_EPOCH: C_Hatchback_01_EPOCH { upgradeToVehicle[] = {"C_SUV_01_EPOCH1"}; };
|
|
class B_MRAP_01_EPOCH: C_Hatchback_01_EPOCH { upgradeToVehicle[] = {"B_MRAP_01_EPOCH1"}; };
|
|
class O_MRAP_02_EPOCH: C_Hatchback_01_EPOCH { upgradeToVehicle[] = {"O_MRAP_02_EPOCH1"}; };
|
|
class I_MRAP_03_EPOCH: C_Hatchback_01_EPOCH { upgradeToVehicle[] = {"I_MRAP_03_EPOCH1"}; };
|
|
|
|
class C_Hatchback_01_EPOCH1
|
|
{
|
|
upgradeToVehicle[] = {"C_Hatchback_01_EPOCH2"};
|
|
class C_Hatchback_01_EPOCH2
|
|
{
|
|
ReqMaterials[] = {{1,"KitVehicleUpgradeII_200_EPOCH"}};
|
|
};
|
|
class C_Hatchback_02_EPOCH2: C_Hatchback_01_EPOCH2 {};
|
|
class C_Offroad_01_EPOCH2: C_Hatchback_01_EPOCH2 {};
|
|
class C_SUV_01_EPOCH2: C_Hatchback_01_EPOCH2 {};
|
|
class B_MRAP_01_EPOCH2: C_Hatchback_01_EPOCH2 {};
|
|
class O_MRAP_02_EPOCH2: C_Hatchback_01_EPOCH2 {};
|
|
class I_MRAP_03_EPOCH2: C_Hatchback_01_EPOCH2 {};
|
|
};
|
|
class C_Hatchback_02_EPOCH1: C_Hatchback_01_EPOCH1 { upgradeToVehicle[] = {"C_Hatchback_02_EPOCH2"}; };
|
|
class C_Offroad_01_EPOCH1: C_Hatchback_01_EPOCH1 { upgradeToVehicle[] = {"C_Offroad_01_EPOCH2"}; };
|
|
class C_SUV_01_EPOCH1: C_Hatchback_01_EPOCH1 { upgradeToVehicle[] = {"C_SUV_01_EPOCH2"}; };
|
|
class B_MRAP_01_EPOCH1: C_Hatchback_01_EPOCH1 { upgradeToVehicle[] = {"B_MRAP_01_EPOCH2"}; };
|
|
class O_MRAP_02_EPOCH1: C_Hatchback_01_EPOCH1 { upgradeToVehicle[] = {"O_MRAP_02_EPOCH2"}; };
|
|
class I_MRAP_03_EPOCH1: C_Hatchback_01_EPOCH1 { upgradeToVehicle[] = {"I_MRAP_03_EPOCH2"}; };
|
|
|
|
class C_Hatchback_01_EPOCH2
|
|
{
|
|
upgradeToVehicle[] = {"C_Hatchback_01_EPOCH3"};
|
|
class C_Hatchback_01_EPOCH3
|
|
{
|
|
ReqMaterials[] = {{1,"KitVehicleUpgradeIII_200_EPOCH"}};
|
|
};
|
|
class C_Hatchback_02_EPOCH3: C_Hatchback_01_EPOCH3 {};
|
|
class C_Offroad_01_EPOCH3: C_Hatchback_01_EPOCH3 {};
|
|
class C_SUV_01_EPOCH3: C_Hatchback_01_EPOCH3 {};
|
|
class B_MRAP_01_EPOCH3: C_Hatchback_01_EPOCH3 {};
|
|
class O_MRAP_02_EPOCH3: C_Hatchback_01_EPOCH3 {};
|
|
class I_MRAP_03_EPOCH3: C_Hatchback_01_EPOCH3 {};
|
|
};
|
|
class C_Hatchback_02_EPOCH2: C_Hatchback_01_EPOCH2 { upgradeToVehicle[] = {"C_Hatchback_02_EPOCH3"}; };
|
|
class C_Offroad_01_EPOCH2: C_Hatchback_01_EPOCH2 { upgradeToVehicle[] = {"C_Offroad_01_EPOCH3"}; };
|
|
class C_SUV_01_EPOCH2: C_Hatchback_01_EPOCH2 { upgradeToVehicle[] = {"C_SUV_01_EPOCH3"}; };
|
|
class B_MRAP_01_EPOCH2: C_Hatchback_01_EPOCH2 { upgradeToVehicle[] = {"B_MRAP_01_EPOCH3"}; };
|
|
class O_MRAP_02_EPOCH2: C_Hatchback_01_EPOCH2 { upgradeToVehicle[] = {"O_MRAP_02_EPOCH3"}; };
|
|
class I_MRAP_03_EPOCH2: C_Hatchback_01_EPOCH2 { upgradeToVehicle[] = {"I_MRAP_03_EPOCH3"}; };
|
|
|
|
class C_Hatchback_01_EPOCH3
|
|
{
|
|
upgradeToVehicle[] = {"C_Hatchback_01_EPOCH4"};
|
|
class C_Hatchback_01_EPOCH4
|
|
{
|
|
ReqMaterials[] = {{1,"KitVehicleUpgradeIV_200_EPOCH"}};
|
|
};
|
|
class C_Hatchback_02_EPOCH4: C_Hatchback_01_EPOCH4 {};
|
|
class C_Offroad_01_EPOCH4: C_Hatchback_01_EPOCH4 {};
|
|
class C_SUV_01_EPOCH4: C_Hatchback_01_EPOCH4 {};
|
|
class B_MRAP_01_EPOCH4: C_Hatchback_01_EPOCH4 {};
|
|
class O_MRAP_02_EPOCH4: C_Hatchback_01_EPOCH4 {};
|
|
class I_MRAP_03_EPOCH4: C_Hatchback_01_EPOCH4 {};
|
|
};
|
|
class C_Hatchback_02_EPOCH3: C_Hatchback_01_EPOCH3 { upgradeToVehicle[] = {"C_Hatchback_02_EPOCH4"}; };
|
|
class C_Offroad_01_EPOCH3: C_Hatchback_01_EPOCH3 { upgradeToVehicle[] = {"C_Offroad_01_EPOCH4"}; };
|
|
class C_SUV_01_EPOCH3: C_Hatchback_01_EPOCH3 { upgradeToVehicle[] = {"C_SUV_01_EPOCH4"}; };
|
|
class B_MRAP_01_EPOCH3: C_Hatchback_01_EPOCH3 { upgradeToVehicle[] = {"B_MRAP_01_EPOCH4"}; };
|
|
class O_MRAP_02_EPOCH3: C_Hatchback_01_EPOCH3 { upgradeToVehicle[] = {"O_MRAP_02_EPOCH4"}; };
|
|
class I_MRAP_03_EPOCH3: C_Hatchback_01_EPOCH3 { upgradeToVehicle[] = {"I_MRAP_03_EPOCH4"}; };
|
|
|
|
class K01
|
|
{
|
|
upgradeToVehicle[] = {"mosquito_epoch"};
|
|
class mosquito_epoch
|
|
{
|
|
ReqMaterials[] = {{1,"ItemVehDocRara"},{2,"PaintCanOra"},{4,"ItemPipe"},{2,"jerrycan_epoch"}};
|
|
};
|
|
};
|
|
class K02: K01 {};
|
|
class K03: K01 {};
|
|
class K04: K01 {};
|
|
|
|
class C_Offroad_01_EPOCH4
|
|
{
|
|
upgradeToVehicle[] = {"C_Offroad_01_EPOCH5"};
|
|
class C_Offroad_01_EPOCH5
|
|
{
|
|
ReqMaterials[] = {{1,"ItemVehDocRara"},{1,"PaintCanBlu"},{1,"PaintCanRed"},{1,"CircuitParts"},{1,"ItemBattery"}};
|
|
};
|
|
};
|
|
}; |