2015-01-12 09:20:50 +00:00
|
|
|
class CfgVehicles {
|
2015-01-13 14:38:17 +00:00
|
|
|
class Module_F;
|
|
|
|
class ACE_ModuleRespawn : Module_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
|
|
|
displayName = "Respawn System";
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(module);
|
2015-01-13 14:38:17 +00:00
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
|
|
|
icon = QUOTE(PATHTOF(UI\IconSwitchUnits_ca.paa));
|
|
|
|
class Arguments {
|
|
|
|
class SavePreDeathGear {
|
|
|
|
displayName = "Save Gear?";
|
|
|
|
description = "Respawn with the gear a soldier had just before his death?";
|
|
|
|
typeName = "BOOL";
|
|
|
|
class values {
|
|
|
|
class Yes { name = "Yes"; value = 1; };
|
|
|
|
class No { default = 1; name = "No"; value = 0; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class RemoveDeadBodiesDisonncected {
|
|
|
|
displayName = "Remove bodies?";
|
|
|
|
description = "Remove player bodies after disconnect?";
|
|
|
|
typeName = "BOOL";
|
|
|
|
class values {
|
|
|
|
class Yes { default = 1; name = "Yes"; value = 1; };
|
|
|
|
class No { name = "No"; value = 0; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
class ACE_ModuleFriendlyFire : Module_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
|
|
|
displayName = "Friendly Fire Messages";
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(moduleFriendlyFire);
|
2015-01-13 14:38:17 +00:00
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
2015-01-13 19:10:30 +00:00
|
|
|
icon = QUOTE(PATHTOF(UI\Icon_Module_FriendlyFire_ca.paa));
|
2015-01-13 14:38:17 +00:00
|
|
|
class Arguments {
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
class ACE_ModuleRallypoint : Module_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
|
|
|
displayName = "Rallypoint System";
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(moduleRallypoint);
|
2015-01-13 14:38:17 +00:00
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
|
|
|
icon = QUOTE(PATHTOF(UI\IconSwitchUnits_ca.paa));
|
|
|
|
class Arguments {
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
// rallypoints
|
|
|
|
class FlagCarrier;
|
|
|
|
class Flag_NATO_F : FlagCarrier {
|
|
|
|
class ACE_Actions;
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class Flag_CSAT_F : FlagCarrier {
|
|
|
|
class ACE_Actions;
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
class Flag_AAF_F : FlagCarrier {
|
|
|
|
class ACE_Actions;
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
// static
|
|
|
|
class ACE_Rallypoint_West : Flag_NATO_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
displayName = "Rallypoint West Base";
|
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class EventHandlers {
|
|
|
|
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_nato_CO.paa'; _this call FUNC(initRallypoint));
|
|
|
|
};
|
|
|
|
class ACE_Actions : ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
|
|
|
displayName = "Teleport to Rallypoint";
|
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == west);
|
2015-01-16 21:23:07 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, side group _player, false)] call FUNC(teleportToRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class ACE_Rallypoint_East : Flag_CSAT_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
displayName = "Rallypoint East Base";
|
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class EventHandlers {
|
|
|
|
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_CSAT_CO.paa'; _this call FUNC(initRallypoint));
|
|
|
|
};
|
|
|
|
class ACE_Actions : ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
|
|
|
displayName = "Teleport to Rallypoint";
|
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == east);
|
2015-01-16 21:23:07 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, side group _player, false)] call FUNC(teleportToRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class ACE_Rallypoint_Independent : Flag_AAF_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
displayName = "Rallypoint Independent Base";
|
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class EventHandlers {
|
|
|
|
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_AAF_CO.paa'; _this call FUNC(initRallypoint));
|
|
|
|
};
|
|
|
|
class ACE_Actions : ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
|
|
|
displayName = "Teleport to Rallypoint";
|
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == independent);
|
2015-01-16 21:23:07 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, side group _player, false)] call FUNC(teleportToRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
// moveable
|
|
|
|
class ACE_RallypointExit_West : Flag_NATO_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
displayName = "Rallypoint West";
|
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
|
|
|
|
|
|
|
class EventHandlers {
|
|
|
|
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_nato_CO.paa'; _this call FUNC(initRallypoint));
|
|
|
|
};
|
|
|
|
class ACE_Actions : ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
|
|
|
displayName = "Teleport to Base";
|
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == west);
|
2015-01-16 21:23:07 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, side group _player, true)] call FUNC(teleportToRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class ACE_RallypointExit_East : Flag_CSAT_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
displayName = "Rallypoint East";
|
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
2015-01-12 09:20:50 +00:00
|
|
|
|
2015-01-13 14:38:17 +00:00
|
|
|
class EventHandlers {
|
|
|
|
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_CSAT_CO.paa'; _this call FUNC(initRallypoint));
|
|
|
|
};
|
|
|
|
class ACE_Actions : ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
|
|
|
displayName = "Teleport to Base";
|
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == east);
|
2015-01-16 21:23:07 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, side group _player, true)] call FUNC(teleportToRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
class ACE_RallypointExit_Independent : Flag_AAF_F {
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
displayName = "Rallypoint Independent";
|
|
|
|
vehicleClass = QGVAR(Rallypoints);
|
|
|
|
|
|
|
|
class EventHandlers {
|
|
|
|
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_AAF_CO.paa'; _this call FUNC(initRallypoint));
|
|
|
|
};
|
|
|
|
class ACE_Actions : ACE_Actions {
|
|
|
|
class ACE_Teleport {
|
|
|
|
displayName = "Teleport to Base";
|
|
|
|
distance = 4;
|
|
|
|
condition = QUOTE(side group _player == independent);
|
2015-01-16 21:23:07 +00:00
|
|
|
statement = QUOTE([ARR_3(_player, side group _player, true)] call FUNC(teleportToRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 1;
|
|
|
|
priority = 1;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-13 14:38:17 +00:00
|
|
|
|
|
|
|
// team leader
|
|
|
|
class Man;
|
|
|
|
class CAManBase : Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_MoveRallypoint {
|
|
|
|
displayName = "Move Rallypoint";
|
2015-01-16 21:23:07 +00:00
|
|
|
condition = QUOTE([ARR_2(_player, side group _player)] call FUNC(canMoveRallypoint));
|
|
|
|
statement = QUOTE([ARR_2(_player, side group _player)] call FUNC(moveRallypoint));
|
2015-01-13 14:38:17 +00:00
|
|
|
showDisabled = 0;
|
|
|
|
priority = -0.5;
|
|
|
|
};
|
|
|
|
};
|
2015-01-12 09:20:50 +00:00
|
|
|
};
|
2015-01-12 09:31:24 +00:00
|
|
|
};
|