mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
SPE Compat - Fix Spearhead 1944 fuel drums for refuel system (#9507)
This commit is contained in:
parent
5686647b57
commit
ed1ef14749
@ -4,5 +4,4 @@ class CfgVehicles {
|
||||
#include "CfgVehicles\spe_boxes.hpp"
|
||||
#include "CfgVehicles\tracked.hpp"
|
||||
#include "CfgVehicles\wheeled.hpp"
|
||||
#include "CfgVehicles\land.hpp"
|
||||
};
|
||||
|
@ -1,13 +0,0 @@
|
||||
// fuel objects
|
||||
|
||||
class SPE_items_base;
|
||||
class Land_SPE_Fuel_Barrel_German: SPE_items_base {
|
||||
transportFuel = 0;
|
||||
EGVAR(refuel,hooks)[] = {{0, 0, 0.5}}; // reference is Land_FlexibleTank_01_F
|
||||
EGVAR(refuel,fuelCargo) = 300; // reference is Land_FlexibleTank_01_F
|
||||
};
|
||||
class Land_SPE_Fuel_Barrel_US: SPE_items_base {
|
||||
transportFuel = 0;
|
||||
EGVAR(refuel,hooks)[] = {{0, 0, 0.5}}; // reference is Land_FlexibleTank_01_F
|
||||
EGVAR(refuel,fuelCargo) = 300; // reference is Land_FlexibleTank_01_F
|
||||
};
|
@ -31,5 +31,17 @@ class SPE_Fuel_Barrel_US_01: SPE_Fuel_Barrel_base {
|
||||
EGVAR(refuel,hooks)[] = {{0.2,0,0.22}};
|
||||
};
|
||||
class SPE_Fuel_Barrel_German_01: SPE_Fuel_Barrel_base {
|
||||
EGVAR(cargo,size) = 2; //reference SPE_Fuel_Barrel_US_01
|
||||
EGVAR(cargo,canLoad) = 1; //reference SPE_Fuel_Barrel_US_01
|
||||
|
||||
EGVAR(dragging,canCarry) = 1; //reference SPE_Fuel_Barrel_US_01
|
||||
EGVAR(dragging,carryPosition)[] = {0,1,1}; //reference SPE_Fuel_Barrel_US_01
|
||||
EGVAR(dragging,carryDirection) = 0; //reference SPE_Fuel_Barrel_US_01
|
||||
|
||||
EGVAR(dragging,canDrag) = 1; //reference SPE_Fuel_Barrel_US_01
|
||||
EGVAR(dragging,dragPosition)[] = {0,1.2,0}; //reference SPE_Fuel_Barrel_US_01
|
||||
EGVAR(dragging,dragDirection) = 0; //reference SPE_Fuel_Barrel_US_01
|
||||
|
||||
EGVAR(refuel,fuelCargo) = 208; //reference SPE_Fuel_Barrel_US_01
|
||||
EGVAR(refuel,hooks)[] = {{0.32,0,-0.3}};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user