Add 2 new cargo truck version

This adds 2 new versions of cargo trucks. A truck for items and a truck for weapons. Also setting the supplyRadius for every refuel, reammo and repair truck to 0. Just to be sure.
This commit is contained in:
A Man
2019-12-10 22:29:27 +01:00
parent d542304afe
commit 02c910078a
6 changed files with 139 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ class Category_42 {
class Ural_UN_EP1 {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class UralCivil_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class UralCivil2_DZE {type = "trade_any_vehicle";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
class UralReammo_CDF_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class UralRepair_CDF_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class V3S_Open_TK_CIV_EP1 {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class V3S_Open_TK_EP1 {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class V3S_Civ {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
@@ -91,8 +93,12 @@ class Category_42 {
class V3S_TK_EP1_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class Kamaz_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class KamazOpen_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class KamazRepair_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class KamazReammo_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class MTVR_DES_EP1 {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class MTVR {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class MtvrRepair_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class MtvrReammo_DZE {type = "trade_any_vehicle";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
};
//Fuel Trucks

View File

@@ -98,6 +98,7 @@ class KamazRefuel_DZ: KamazRefuel {
class TransportWeapons{};
fuelCapacity = 10400;
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
supplyRadius = 0;
};
class KamazRefuel_DZE1: KamazRefuel_DZ {
original = "KamazRefuel_DZ";
@@ -126,3 +127,37 @@ class KamazRefuel_DZE3: KamazRefuel_DZE2 {
class KamazRefuel_DZE4: KamazRefuel_DZE3 {
fuelCapacity = 10700; // Increase the total fuel capacity of the Refuel truck by the additional normal sized fuel tank of a Ural.
};
class KamazRepair;
class KamazRepair_DZE : KamazRepair {
scope = public;
displayName = $STR_VEH_NAME_KAMAZ_AMMO;
side = 2;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};
transportMaxWeapons = 25;
transportMaxMagazines = 300;
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
supplyRadius = 0;
transportRepair = 0;
};
class KamazReammo;
class KamazReammo_DZE : KamazReammo {
scope = public;
displayName = $STR_VEH_NAME_KAMAZ_WEAPONS;
side = 2;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};
transportMaxWeapons = 75;
transportMaxMagazines = 100;
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
supplyRadius = 0;
transportAmmo = 0;
};

View File

@@ -41,6 +41,7 @@ class MtvrRefuel_DES_EP1_DZ : MtvrRefuel_base {
class TransportWeapons{};
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
fuelCapacity = 10000;
supplyRadius = 0;
};
class MtvrRefuel_DZ: MtvrRefuel {
@@ -57,4 +58,39 @@ class MtvrRefuel_DZ: MtvrRefuel {
class TransportWeapons{};
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
fuelCapacity = 10000;
supplyRadius = 0;
};
class MtvrRepair;
class MtvrRepair_DZE: MtvrRepair {
scope = public;
side = 2;
crew = "";
displayName = $STR_VEH_NAME_MTVR_AMMO;
typicalCargo[] = {};
hiddenSelections[] = {};
transportMaxWeapons = 25;
transportMaxMagazines = 300;
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
transportRepair = 0;
supplyRadius = 0;
};
class MtvrReammo;
class MtvrReammo_DZE: MtvrReammo {
scope = public;
side = 2;
crew = "";
displayName = $STR_VEH_NAME_MTVR_WEAPONS;
typicalCargo[] = {};
hiddenSelections[] = {};
transportMaxWeapons = 75;
transportMaxMagazines = 100;
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
transportAmmo = 0;
supplyRadius = 0;
};

View File

@@ -104,4 +104,39 @@ class UralRefuel_TK_EP1_DZ: UralRefuel_TK_EP1 {
class TransportWeapons{};
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
fuelCapacity = 10000;
supplyRadius = 0;
};
class UralReammo_CDF;
class UralReammo_CDF_DZE: UralReammo_CDF {
scope = public;
displayName = $STR_VEH_NAME_URAL_WEAPONS;
side = 2;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};
transportMaxWeapons = 75;
transportMaxMagazines = 100;
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
transportAmmo = 0;
supplyRadius = 0;
};
class UralRepair_CDF;
class UralRepair_CDF_DZE: UralRepair_CDF {
scope = public;
displayName = $STR_VEH_NAME_URAL_AMMO;
side = 2;
crew = "";
typicalCargo[] = {};
hiddenSelections[] = {};
transportMaxWeapons = 25;
transportMaxMagazines = 300;
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
transportRepair = 0;
supplyRadius = 0;
};

View File

@@ -67,6 +67,8 @@ class V3S_RA_TK_GUE_EP1_DZE: V3S_Base_EP1 {
//transportMaxWeapons = 50;
//transportMaxBackpacks = 8;
//terrainCoef = 2.5;
transportAmmo = 0;
supplyRadius = 0;
};
class V3S_Refuel_TK_GUE_EP1;
class V3S_Refuel_TK_GUE_EP1_DZ: V3S_Refuel_TK_GUE_EP1 {
@@ -81,6 +83,7 @@ class V3S_Refuel_TK_GUE_EP1_DZ: V3S_Refuel_TK_GUE_EP1 {
transportmaxbackpacks = 8;
class TransportMagazines{};
class TransportWeapons{};
supplyRadius = 0;
transportFuel = 0; //Required to disable A2 built in auto refuel for fuel trucks
fuelCapacity = 10000;
};

View File

@@ -8336,6 +8336,30 @@
<Key ID="STR_VEH_NAME_URAL_UN">
<English>Ural (UN)</English>
</Key>
<Key ID="STR_VEH_NAME_URAL_AMMO">
<English>Ural (Material Transport)</English>
<German>Ural (Materialtransport)</German>
</Key>
<Key ID="STR_VEH_NAME_URAL_WEAPONS">
<English>Ural (Weapon Transport)</English>
<German>Ural (Waffentransport)</German>
</Key>
<Key ID="STR_VEH_NAME_MTVR_AMMO">
<English>MVTR (Material Transport)</English>
<German>MVTR (Materialtransport)</German>
</Key>
<Key ID="STR_VEH_NAME_MTVR_WEAPONS">
<English>MVTR (Weapon Transport)</English>
<German>MVTR (Waffentransport)</German>
</Key>
<Key ID="STR_VEH_NAME_KAMAZ_AMMO">
<English>Kamaz (Material Transport)</English>
<German>Kamaz (Materialtransport)</German>
</Key>
<Key ID="STR_VEH_NAME_KAMAZ_WEAPONS">
<English>Kamaz (Weapon Transport)</English>
<German>Kamaz (Waffentransport)</German>
</Key>
<Key ID="STR_VEH_NAME_URAL_CIVIL">
<English>Ural (Civil)</English>
<German>Ural (Zivil)</German>