Clear typicalCargo for some vehicles missing it

Prevents preloading units, may help with load times a little.
This commit is contained in:
ebaydayz
2016-11-17 15:39:58 -05:00
parent e398250489
commit 8429ad1fbc
49 changed files with 407 additions and 128 deletions

View File

@@ -263,6 +263,8 @@ class ArmoredSUV_PMC_DZ: ArmoredSUV_Base_PMC
crew = "";
armor = 80;
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
enableGPS = 1;
transportMaxWeapons = 20;
transportMaxMagazines = 150;
@@ -331,6 +333,8 @@ class ArmoredSUV_PMC_DZE: ArmoredSUV_Base_PMC
displayName = "SUV (Armored) AL";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
enableGPS = 1;
transportMaxWeapons = 20;
transportMaxMagazines = 150;

View File

@@ -10,7 +10,8 @@ class BTR90_DZ: BTR90 {
crew = "";
typicalCargo[] = {};
class TransportMagazines{};
class TransportMagazines {};
class TransportWeapons {};
transportMaxMagazines = 100; // Default: 100
transportMaxWeapons = 10; // Default: 10
@@ -31,7 +32,8 @@ class BTR90_HQ_DZ: BTR90_HQ {
crew = "";
typicalCargo[] = {};
class TransportMagazines{};
class TransportMagazines {};
class TransportWeapons {};
transportSoldier = 6;

View File

@@ -4,7 +4,9 @@
faction = "CIV";
maxspeed = 125;
scope = public;
typicalcargo[] = {};
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Upgrades {
ItemORP[] = {"car_hatchback_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};

View File

@@ -4,7 +4,9 @@ class car_sedan : SkodaBase {
faction = "CIV";
maxspeed = 125;
scope = public;
typicalcargo[] = {};
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Upgrades {
ItemORP[] = {"car_sedan_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};

View File

@@ -70,7 +70,7 @@ mapSize = 6.5;
side = 0;
faction = "RU";
vehicleClass = "Armored";
crew = "RU_Soldier";
crew = "";
maxSpeed = 100;
canFloat = 1;
fuelCapacity = 220;
@@ -711,6 +711,9 @@ hiddenSelectionsTextures[] = {
class GAZ_Vodnik_DZ : GAZ_Vodnik_HMG
{
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
displayname = "Vodnik (2xPK) DZ";
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_CA.paa";
@@ -856,6 +859,9 @@ class AnimationSources : AnimationSources
class GAZ_Vodnik_DZE : GAZ_Vodnik_HMG
{
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
model = "\ca\wheeled2\GAZ39371\GAZ39371_Vodnik.p3d";
displayname = "Vodnik (2xPK) AL";
picture = "\Ca\wheeled2\data\UI\Picture_GAZ39371_CA.paa";
@@ -995,3 +1001,11 @@ class AnimationSources : AnimationSources
};
};
};
class GAZ_Vodnik;
class GAZ_Vodnik_MedEvac : GAZ_Vodnik {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};

View File

@@ -11,8 +11,8 @@ class HMMWV_Base: Car
mapSize = 5;
displayName = "HMMWV";
vehicleClass = "Car";
crew = "USMC_Soldier";
typicalCargo[] = {"USMC_Soldier","USMC_Soldier","USMC_Soldier_AT","USMC_Soldier_Officer"};
crew = "";
typicalCargo[] = {};
damperSize = 0.2;
damperForce = 1;
damperDamping = 1;
@@ -321,6 +321,8 @@ class HMMWV_DZ: HMMWV_Base {
side = 2;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
transportMaxWeapons = 10;
transportMaxMagazines = 50;
transportmaxbackpacks = 4;
@@ -884,6 +886,8 @@ class HMMWV_M1151_M2_DES_Base_EP1_DZ: HMMWV_Base
faction = "BIS_US";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Turrets: Turrets
{
class MainTurret: MainTurret
@@ -931,32 +935,6 @@ class HMMWV_M1151_M2_DES_Base_EP1_DZ: HMMWV_Base
weapon = "M2";
};
};
class TransportMagazines
{
class _xx_30Rnd_556x45_Stanag
{
magazine = "30Rnd_556x45_Stanag";
count = 15;
};
class _xx_HandGrenade_West
{
magazine = "HandGrenade_West";
count = 2;
};
class _xx_SmokeShellGreen
{
magazine = "SmokeShellGreen";
count = 2;
};
class _xx_SmokeShell
{
magazine = "SmokeShell";
count = 2;
};
};
class TransportWeapons
{
};
class Damage
{
tex[] = {};
@@ -1110,3 +1088,33 @@ class HMMWV_M2_DZ: HMMWV_M2 {
armor = 40;
damageResistance = 0.00581;
};
class HMMWV_M1035_DES_EP1 : HMMWV_base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class HMMWV_Ambulance : HMMWV_base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class HMMWV;
class HMMWV_DES_EP1 : HMMWV {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class HMMWV_Ambulance_base;
class HMMWV_Ambulance_CZ_DES_EP1 : HMMWV_Ambulance_base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};

View File

@@ -0,0 +1,13 @@
class Ikarus: Car {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class Ikarus_TK_CIV_EP1: Ikarus_base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};

View File

@@ -19,6 +19,10 @@ class KamazOpen_DZE : Kamaz_Base {
};
class Kamaz_DZE: Kamaz_Base {
scope = public;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
cargoAction[] = {"Truck_Cargo01","Truck_Cargo01","Truck_Cargo02","Truck_Cargo03","Truck_Cargo02","Truck_Cargo02","Truck_Cargo03","Truck_Cargo02","Truck_Cargo03","Truck_Cargo02","Truck_Cargo02","Truck_Cargo03"};
class Upgrades {
ItemORP[] = {"Kamaz_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};

View File

@@ -10,7 +10,8 @@ class LAV25_DZ: LAV25 {
crew = "";
typicalCargo[] = {};
class TransportMagazines{};
class TransportMagazines {};
class TransportWeapons {};
transportMaxMagazines = 100; // Default: 100
transportMaxWeapons = 10; // Default: 10
@@ -31,7 +32,8 @@ class LAV25_HQ_DZ: LAV25_HQ {
crew = "";
typicalCargo[] = {};
class TransportMagazines{};
class TransportMagazines {};
class TransportWeapons {};
transportSoldier = 6;

View File

@@ -10,8 +10,10 @@ class Lada_base: Car {
side = 3;
faction = "CIV";
vehicleClass = "Car";
crew = "Citizen1";
typicalCargo[] = {"Citizen1"};
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
maxSpeed = 120;
terrainCoef = 6;
turnCoef = 2;
@@ -191,8 +193,8 @@ class Lada_base_alt: Car {
side = 3;
faction = "CIV";
vehicleClass = "Car";
crew = "Citizen1";
typicalCargo[] = {"Citizen1"};
crew = "";
typicalCargo[] = {};
maxSpeed = 120;
terrainCoef = 6;
turnCoef = 2;
@@ -810,3 +812,5 @@ class Lada1_TK_CIV_EP1_DZE4: Lada1_TK_CIV_EP1_DZE3 {
class Lada2_TK_CIV_EP1_DZE4: Lada2_TK_CIV_EP1_DZE3 {
fuelCapacity = 150; // car 50
};
class GLT_M300_LT : Lada_base {};

View File

@@ -233,6 +233,16 @@ class LandRover_Base: Car
threat[] = {0,0,0};
};
class LandRover_CZ_EP1: LandRover_Base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class LandRover_TK_CIV_EP1: LandRover_CZ_EP1 {};
class BAF_Offroad_D: LandRover_CZ_EP1 {};
class BAF_Offroad_W: BAF_Offroad_D {};
class LandRover_Special_CZ_EP1_DZ: LandRover_Base
{
scope = public;

View File

@@ -358,14 +358,16 @@ class M113_Base : Tank {
class M113Ambul_Base : M113_Base {
accuracy = 1000; // accuracy needed to recognize type of this target
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
vehicleClass = "Support";
picture = "\ca\tracked_e\Data\ui\Picture_m113_amb_CA.paa";
Icon = "\Ca\tracked_e\Data\ui\Icon_m113_amb_CA.paa";
mapSize = 5;
scope = private;
displayName = $STR_DN_M113_AMB;
class TransportMagazines {};
attendant = true;
hasGunner = false;

View File

@@ -1,11 +1,28 @@
class MTVR : Truck {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class MTVR_base;
class MTVR_DES_EP1 : MTVR_base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class MtvrRefuel;
class MtvrRefuel_base : MtvrRefuel
{
scope = private;
side = 4;
expansion = 1;
crew = "Civilian";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class MtvrRefuel_DES_EP1_DZ : MtvrRefuel_base {

View File

@@ -11,7 +11,9 @@ class Offroad_DSHKM_Gue_DZ: Offroad_DSHKM_base
side = 2;
faction = "GUE";
crew = "";
typicalCargo[] = {""};
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
displayName = "Off-road (DShKM) DZ";
hiddenSelectionsTextures[] = {"\ca\wheeled\hilux_armed\data\coyota_trup4_CO.paa"};
class Damage
@@ -55,6 +57,8 @@ class Offroad_DSHKM_Gue_DZE: Offroad_DSHKM_base
faction = "GUE";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
displayName = "Off-road (DShKM) AL";
hiddenSelectionsTextures[] = {"\ca\wheeled\hilux_armed\data\coyota_trup4_CO.paa"};
class Damage

View File

@@ -0,0 +1,13 @@
class S1203_TK_CIV_EP1: Car {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class S1203_ambulance_EP1: S1203_TK_CIV_EP1 {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};

View File

@@ -4,7 +4,9 @@ class SUV_DZ: SUV_Base_EP1 {
rarityurban = 0.8;
scope = public;
side = 3;
typicalcargo[] = {};
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints : HitPoints {
class HitLFWheel:HitLFWheel {
armor = 0.15;
@@ -82,6 +84,8 @@ class SUV_TK_CIV_EP1: SUV_Base_EP1 {
scope = public;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
rarityUrban = 0.8;
faction = "BIS_TK_CIV";
side = 3;

View File

@@ -1,8 +1,10 @@
class SkodaBase: Car {
scope = private;
faction = "CIV";
crew = "Citizen2";
typicalCargo[] = {"Citizen2"};
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
maxSpeed = 110;
side = 3;
armor = 20;
@@ -13,9 +15,7 @@ class SkodaBase: Car {
class Skoda: SkodaBase {
scope = public;
accuracy = 1000;
crew = "Citizen1";
faction = "CIV";
typicalCargo[] = {"Citizen1"};
model = "\ca\wheeled\skodovka";
picture = "\Ca\wheeled\data\ico\skodovka_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_skoda_CA.paa";
@@ -37,9 +37,7 @@ class Skoda: SkodaBase {
class SkodaBlue: SkodaBase {
scope = public;
accuracy = 1000;
crew = "Villager2";
faction = "CIV";
typicalCargo[] = {"Villager2"};
model = "\ca\wheeled\skodovka_blue";
picture = "\Ca\wheeled\data\ico\skodovka_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_skoda_CA.paa";
@@ -64,8 +62,6 @@ class SkodaRed: SkodaBase {
picture = "\Ca\wheeled\data\ico\skodovka_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_skoda_CA.paa";
mapSize = 6;
crew = "Villager1";
typicalCargo[] = {"Villager1"};
displayName = "Car (red)";
displayNameShort = "Car";
class Damage {
@@ -85,8 +81,6 @@ class SkodaGreen: SkodaBase {
picture = "\Ca\wheeled\data\ico\skodovka_CA.paa";
Icon = "\Ca\wheeled\data\map_ico\icomap_skoda_CA.paa";
mapSize = 6;
crew = "Villager3";
typicalCargo[] = {"Villager3"};
displayName = "Car (green)";
displayNameShort = "Car";
class Damage {
@@ -382,3 +376,5 @@ class SkodaRed_DZE4: SkodaRed_DZE3 {
class SkodaGreen_DZE4: SkodaGreen_DZE3 {
fuelCapacity = 210; // car 100
};
class GLT_M300_ST : SkodaBase {};

View File

@@ -0,0 +1,6 @@
class Tractor: Car {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};

View File

@@ -88,7 +88,9 @@ class UAZ_CDF: UAZ_Unarmed_Base {
hiddenselectionstextures[] = {"\ca\wheeled\data\Uaz_main_002_CO.paa"};
scope = public;
side = 1;
typicalcargo[] = {};
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Upgrades {
ItemORP[] = {"UAZ_CDF_DZE1",{},{{"ItemORP",1},{"PartEngine",2}}};
@@ -102,6 +104,8 @@ class UAZ_INS: UAZ_Unarmed_Base {
accuracy = 0.3;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
hiddenSelectionsTextures[] = {"\ca\wheeled\data\Uaz_main_001_CO.paa"};
class Upgrades {
@@ -115,6 +119,8 @@ class UAZ_RU: UAZ_Unarmed_Base {
faction = "RU";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
hiddenSelectionsTextures[] = {"\ca\wheeled\data\Uaz_main_CO.paa"};
class Upgrades {
@@ -128,7 +134,7 @@ class UAZ_Unarmed_TK_EP1: UAZ_Unarmed_Base {
side = 0;
faction = "BIS_TK";
accuracy = 0.3;
crew = "TK_Soldier_EP1";
crew = "";
typicalCargo[] = {};
hiddenSelectionsTextures[] = {"\CA\wheeled_E\UAZ\Data\Uaz_main_IND_CO.paa"};
class TransportMagazines {};

View File

@@ -1,3 +1,28 @@
class UralCivil: Ural_Base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class Ural_CDF: Ural_Base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class Ural_TK_CIV_EP1: Ural_Base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class Ural_UN_EP1: Ural_Base {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class UralCivil_DZ: UralCivil {
scope = public;
side=TCivilian;
@@ -21,7 +46,7 @@ class UralCivil_DZ: UralCivil {
"\ca\wheeled\data\ural_plachta_civ1_co.paa"
};
};
class Ural_Base;
class UralCivil_DZE : Ural_Base {
scope = public;
side = 3;

View File

@@ -4,13 +4,27 @@ class V3S_Civ: V3S_Base {
rarityurban = 0.3;
scope = public;
side = 3;
typicalcargo[] = {};
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class Library {
libtextdesc = $STR_EP1_LIB_V3S;
};
};
class V3S_Base_EP1;
class V3S_Open_TK_CIV_EP1: V3S_Base_EP1 {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class V3S_Open_TK_EP1: V3S_Base_EP1 {
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
};
class V3S_TK_EP1_DZE: V3S_Base_EP1 {
scope = public;
side = 0;

View File

@@ -29,6 +29,8 @@ class VWGolf : Car {
vehicleClass = "Car";
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
maxSpeed = 241;
terrainCoef = 6;
turnCoef = 2;

View File

@@ -14,8 +14,10 @@ class Volha_TK_CIV_Base_EP1: Car {
Icon = "\CA\wheeled_e\Data\UI\Icon_volha_CA.paa";
Picture = "\CA\wheeled_e\Data\UI\Picture_volha_CA.paa";
faction = "BIS_TK_CIV";
crew = "TK_CIV_Takistani01_EP1";
typicalCargo[] = {"TK_CIV_Takistani01_EP1","TK_CIV_Takistani01_EP1"};
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
maxSpeed = 150;
terrainCoef = 5;
turnCoef = 2;

View File

@@ -1,6 +1,10 @@
class datsun1_civil_1_open;
class datsun1_civil_1_open_DZE: datsun1_civil_1_open {
terrainCoef = 2.5;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints;
class Upgrades {
@@ -11,6 +15,10 @@ class datsun1_civil_1_open_DZE: datsun1_civil_1_open {
class datsun1_civil_2_covered;
class datsun1_civil_2_covered_DZE: datsun1_civil_2_covered {
terrainCoef = 2.5;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints;
class Upgrades {
@@ -21,6 +29,10 @@ class datsun1_civil_2_covered_DZE: datsun1_civil_2_covered {
class datsun1_civil_3_open;
class datsun1_civil_3_open_DZE: datsun1_civil_3_open {
terrainCoef = 2.5;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints;
class Upgrades {

View File

@@ -1,6 +1,10 @@
class hilux1_civil_1_open;
class hilux1_civil_1_open_DZE: hilux1_civil_1_open {
terrainCoef = 2.5;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints;
class Upgrades {
@@ -11,6 +15,10 @@ class hilux1_civil_1_open_DZE: hilux1_civil_1_open {
class hilux1_civil_2_covered;
class hilux1_civil_2_covered_DZE: hilux1_civil_2_covered {
terrainCoef = 2.5;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints;
class Upgrades {
@@ -21,6 +29,10 @@ class hilux1_civil_2_covered_DZE: hilux1_civil_2_covered {
class hilux1_civil_3_open;
class hilux1_civil_3_open_DZE: hilux1_civil_3_open {
terrainCoef = 2.5;
crew = "";
typicalCargo[] = {};
class TransportMagazines {};
class TransportWeapons {};
class HitPoints;
class Upgrades {