getting the fcs to work in MP

This commit is contained in:
commy2 2015-02-11 23:49:41 +01:00
parent 93927ac77d
commit 67b3442d17
2 changed files with 34 additions and 6 deletions

View File

@ -13,27 +13,55 @@ class Extended_PostInit_EventHandlers {
class Extended_Init_EventHandlers {
class Tank {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
serverInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Car {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
serverInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Helicopter {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
serverInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Plane {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
serverInit = QUOTE(_this call FUNC(vehicleInit));
};
};
class Ship_F {
class ADDON {
clientInit = QUOTE(_this call FUNC(vehicleInit));
serverInit = QUOTE(_this call FUNC(vehicleInit));
};
};
};
class Extended_Respawn_EventHandlers {
class Tank {
class ADDON {
respawn = QUOTE(_this call FUNC(vehicleInit));
};
};
class Car {
class ADDON {
respawn = QUOTE(_this call FUNC(vehicleInit));
};
};
class Helicopter {
class ADDON {
respawn = QUOTE(_this call FUNC(vehicleInit));
};
};
class Plane {
class ADDON {
respawn = QUOTE(_this call FUNC(vehicleInit));
};
};
class Ship_F {
class ADDON {
respawn = QUOTE(_this call FUNC(vehicleInit));
};
};
};

View File

@ -25,7 +25,7 @@ private ["_gunner", "_turret"];
_gunner = [_vehicle, _weapon] call EFUNC(common,getGunner);
_turret = [_gunner] call EFUNC(common,getTurretIndex);
if (ACE_player != _gunner) exitWith {};
//if (ACE_player != _gunner) exitWith {}; // global
private ["_FCSMagazines", "_FCSElevation", "_offset"];