2016-03-01 16:05:00 +00:00
|
|
|
class CBA_Extended_EventHandlers;
|
|
|
|
|
2015-01-12 09:20:50 +00:00
|
|
|
class CfgVehicles {
|
2015-05-30 04:37:41 +00:00
|
|
|
class ACE_Module;
|
|
|
|
class ACE_ModuleRespawn: ACE_Module {
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(Module_DisplayName);
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(module);
|
2017-11-11 19:21:55 +00:00
|
|
|
scope = 1;
|
|
|
|
isGlobal = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\Icon_Module_Respawn_ca.paa);
|
2015-04-14 23:50:58 +00:00
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class Arguments {
|
|
|
|
class SavePreDeathGear {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(SavePreDeathGear_DisplayName);
|
|
|
|
description = CSTRING(SavePreDeathGear_Description);
|
2015-01-13 14:38:17 +00:00
|
|
|
typeName = "BOOL";
|
2015-05-09 18:37:57 +00:00
|
|
|
defaultValue = 0;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
2015-04-14 23:50:58 +00:00
|
|
|
|
2015-04-03 06:05:14 +00:00
|
|
|
class RemoveDeadBodiesDisconnected {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RemoveDeadBodiesDisconnected_DisplayName);
|
|
|
|
description = CSTRING(RemoveDeadBodiesDisconnected_Description);
|
2015-01-13 14:38:17 +00:00
|
|
|
typeName = "BOOL";
|
2015-05-09 18:37:57 +00:00
|
|
|
defaultValue = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
2015-05-11 22:24:12 +00:00
|
|
|
};
|
2015-09-26 14:26:41 +00:00
|
|
|
|
2015-05-30 04:37:41 +00:00
|
|
|
class ModuleDescription {
|
2015-05-27 17:04:25 +00:00
|
|
|
description = CSTRING(Module_Description);
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
2015-05-30 04:37:41 +00:00
|
|
|
class ACE_ModuleFriendlyFire: ACE_Module {
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
2015-05-27 19:43:30 +00:00
|
|
|
displayName = CSTRING(FriendlyFire_Module_DisplayName);
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(moduleFriendlyFire);
|
2017-11-12 18:19:25 +00:00
|
|
|
scope = 2;
|
2015-01-13 14:38:17 +00:00
|
|
|
isGlobal = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\Icon_Module_FriendlyFire_ca.paa);
|
2015-04-14 23:50:58 +00:00
|
|
|
|
|
|
|
class Arguments {};
|
2015-05-30 04:37:41 +00:00
|
|
|
class ModuleDescription {
|
2015-05-27 19:43:30 +00:00
|
|
|
description = CSTRING(FriendlyFire_Module_Description);
|
2015-05-11 22:24:12 +00:00
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
2015-05-30 04:37:41 +00:00
|
|
|
class ACE_ModuleRallypoint: ACE_Module {
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
2015-05-27 19:43:30 +00:00
|
|
|
displayName = CSTRING(Rallypoint_Module_DisplayName);
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(moduleRallypoint);
|
2017-11-12 18:19:25 +00:00
|
|
|
scope = 2;
|
2015-01-13 14:38:17 +00:00
|
|
|
isGlobal = 1;
|
2016-04-08 18:34:50 +00:00
|
|
|
icon = QPATHTOF(UI\Icon_Module_Rallypoint_ca.paa);
|
2015-04-14 23:50:58 +00:00
|
|
|
|
|
|
|
class Arguments {};
|
2015-05-30 04:37:41 +00:00
|
|
|
class ModuleDescription {
|
2015-05-27 19:43:30 +00:00
|
|
|
description = CSTRING(Rallypoint_Module_Description);
|
2015-05-11 22:24:12 +00:00
|
|
|
};
|
2015-04-14 23:50:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// team leader
|
|
|
|
class Man;
|
|
|
|
class CAManBase : Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_MoveRallypoint {
|
2015-05-27 19:43:30 +00:00
|
|
|
displayName = CSTRING(Rallypoint_MoveRallypoint);
|
2015-04-14 23:50:58 +00:00
|
|
|
condition = QUOTE([ARR_2(_player, side group _player)] call FUNC(canMoveRallypoint));
|
|
|
|
statement = QUOTE([ARR_2(_player, side group _player)] call FUNC(moveRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
// rallypoints
|
|
|
|
class FlagCarrier;
|
2015-04-14 23:50:58 +00:00
|
|
|
class Flag_NATO_F: FlagCarrier {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers;
|
2015-01-13 14:38:17 +00:00
|
|
|
class ACE_Actions;
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class Flag_CSAT_F: FlagCarrier {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers;
|
2015-01-13 14:38:17 +00:00
|
|
|
class ACE_Actions;
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class Flag_AAF_F: FlagCarrier {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers;
|
2015-01-13 14:38:17 +00:00
|
|
|
class ACE_Actions;
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
// static
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Rallypoint_West_Base: Flag_NATO_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-04-13 11:04:23 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RallypointWestBase);
|
2015-01-13 14:38:17 +00:00
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeleportToRallypoint);
|
2015-04-14 23:50:58 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == west);
|
|
|
|
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_West')] call FUNC(teleportToRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-01 04:57:37 +00:00
|
|
|
position = "[-0.05,-0.35,-2.6]";
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Rallypoint_East_Base: Flag_CSAT_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-04-13 11:04:23 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RallypointEastBase);
|
2015-01-13 14:38:17 +00:00
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeleportToRallypoint);
|
2015-04-14 23:50:58 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == east);
|
|
|
|
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_East')] call FUNC(teleportToRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-01 04:57:37 +00:00
|
|
|
position = "[-0.05,-0.35,-2.6]";
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Rallypoint_Independent_Base: Flag_AAF_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-04-13 11:04:23 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RallypointIndependentBase);
|
2015-01-13 14:38:17 +00:00
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeleportToRallypoint);
|
2015-04-14 23:50:58 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == independent);
|
|
|
|
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_Independent')] call FUNC(teleportToRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-01 04:57:37 +00:00
|
|
|
position = "[-0.05,-0.35,-2.6]";
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
// moveable
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Rallypoint_West: Flag_NATO_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-04-13 11:04:23 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RallypointWest);
|
2015-01-13 14:38:17 +00:00
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeleportToBase);
|
2015-04-14 23:50:58 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == west);
|
|
|
|
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_West_Base')] call FUNC(teleportToRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-01 04:57:37 +00:00
|
|
|
position = "[-0.05,-0.35,-2.6]";
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Rallypoint_East: Flag_CSAT_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-04-13 11:04:23 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RallypointEast);
|
2015-01-13 14:38:17 +00:00
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeleportToBase);
|
2015-04-14 23:50:58 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == east);
|
|
|
|
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_East_Base')] call FUNC(teleportToRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-01 04:57:37 +00:00
|
|
|
position = "[-0.05,-0.35,-2.6]";
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Rallypoint_Independent: Flag_AAF_F {
|
2016-03-01 16:05:00 +00:00
|
|
|
class EventHandlers: EventHandlers {
|
|
|
|
class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers {};
|
|
|
|
};
|
2015-04-13 11:04:23 +00:00
|
|
|
|
2015-05-27 20:04:41 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(RallypointIndependent);
|
2015-01-13 14:38:17 +00:00
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
|
|
|
|
2015-04-14 23:50:58 +00:00
|
|
|
class ACE_Actions: ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
2015-05-27 17:04:25 +00:00
|
|
|
displayName = CSTRING(TeleportToBase);
|
2015-04-14 23:50:58 +00:00
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == independent);
|
|
|
|
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_Independent_Base')] call FUNC(teleportToRallypoint));
|
2017-08-22 18:30:56 +00:00
|
|
|
exceptions[] = {"isNotSwimming"};
|
2015-05-01 04:57:37 +00:00
|
|
|
position = "[-0.05,-0.35,-2.6]";
|
2015-04-14 23:50:58 +00:00
|
|
|
showDisabled = 1;
|
2015-01-13 14:38:17 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-12 09:31:24 +00:00
|
|
|
};
|