This lets you add supply boxes in a similar fashion to the changes added in #540, but for vehicles. Similar parameters as before, but in this case both the normal TransportXXX[] arrays and the classes can be present, and the classes are only used in setVehicleLoadouts = 3, ignoring the other storage arrays.
class Car {
TransportWeapons[] = {AT};
TransportMagazines[] = {RIFLE_MAG,GLRIFLE_MAG,CARBINE_MAG,AR_MAG,AR_MAG,GLRIFLE_MAG_HE};
TransportItems[] = {BASE_MEDICAL,BASE_MEDICAL,BASE_MEDICAL,BASE_MEDICAL};
class Box_NATO_Ammo_F {
boxCount = 2;
boxCustomName = "Resupply Box";
TransportWeapons[] = {AT};
TransportMagazines[] = {
RIFLE_MAG, RIFLE_MAG, RIFLE_MAG,
GLRIFLE_MAG, CARBINE_MAG, AR_MAG, GLRIFLE_MAG_HE
};
TransportItems[] = {
"ACE_elasticBandage:25",
"ACE_packingBandage:15",
"ACE_tourniquet:5",
"ACE_splint:5"
};
};
};
class gm_ge_army_u1300l_cargo { // specific logi vehicle
minVehicleBoxSpace = 20; // the new amount of cargo space
class Box_NATO_Ammo_F {
boxCount = 12; // the number of boxes of this type to put into the vehicle
boxCustomName = "Resupply Box";
TransportWeapons[] = {AT};
TransportMagazines[] = {
RIFLE_MAG, RIFLE_MAG, RIFLE_MAG,
GLRIFLE_MAG, CARBINE_MAG, AR_MAG, GLRIFLE_MAG_HE
};
TransportItems[] = {
"ACE_elasticBandage:25",
"ACE_packingBandage:15",
"ACE_tourniquet:5",
"ACE_splint:5"
};
};
};
This requires #539 and #540 to be merged first, and then some merge conflicts to be dealt with.
This lets you add supply boxes in a similar fashion to the changes added in #540, but for vehicles. Similar parameters as before, but in this case both the normal
TransportXXX[]
arrays and the classes can be present, and the classes are only used insetVehicleLoadouts = 3
, ignoring the other storage arrays.This requires #539 and #540 to be merged first, and then some merge conflicts to be dealt with.