Add cargo configs for some planes (#4650)

This commit is contained in:
PabstMirror 2016-11-10 12:05:08 -06:00 committed by GitHub
parent f15522a88f
commit 5bf8b642f7
2 changed files with 8 additions and 1 deletions

View File

@ -259,12 +259,17 @@ class CfgVehicles {
GVAR(space) = 4;
};
// jets
// planes (off by default as most are attack jets)
class Plane: Air {
GVAR(space) = 0;
GVAR(hasCargo) = 0;
};
class Plane_Base_F: Plane {};
class Plane_Civil_01_base_F: Plane_Base_F { // Tanoa Civilian Prop Plane
GVAR(space) = 2;
GVAR(hasCargo) = 1;
};
class VTOL_Base_F;
class VTOL_01_base_F: VTOL_Base_F {
GVAR(space) = 4;

View File

@ -390,5 +390,7 @@ class CfgVehicles {
class Plane_Base_F;
class RHS_C130J_Base: Plane_Base_F {
EGVAR(refuel,fuelCapacity) = 25704;
EGVAR(cargo,space) = 4;
EGVAR(cargo,hasCargo) = 1;
};
};