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-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
2015-05-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_Module_DisplayName";
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(module);
|
2015-01-13 14:38:17 +00:00
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
2015-03-12 05:12:19 +00:00
|
|
|
icon = QUOTE(PATHTOF(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-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_SavePreDeathGear_DisplayName";
|
|
|
|
description = "$STR_ACE_Respawn_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-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_RemoveDeadBodiesDisconnected_DisplayName";
|
|
|
|
description = "$STR_ACE_Respawn_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-05-30 04:37:41 +00:00
|
|
|
class ModuleDescription {
|
2015-05-11 22:24:12 +00:00
|
|
|
description = "$STR_ACE_Respawn_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-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
2015-05-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_FriendlyFire_Module_DisplayName";
|
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-04-14 23:50:58 +00:00
|
|
|
|
|
|
|
class Arguments {};
|
2015-05-30 04:37:41 +00:00
|
|
|
class ModuleDescription {
|
2015-05-11 22:24:12 +00:00
|
|
|
description = "$STR_ACE_FriendlyFire_Module_Description";
|
|
|
|
};
|
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-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-01-13 14:38:17 +00:00
|
|
|
category = "ACE";
|
2015-05-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_Rallypoint_Module_DisplayName";
|
2015-01-13 19:10:30 +00:00
|
|
|
function = QFUNC(moduleRallypoint);
|
2015-01-13 14:38:17 +00:00
|
|
|
scope = 2;
|
|
|
|
isGlobal = 1;
|
2015-03-12 05:12:19 +00:00
|
|
|
icon = QUOTE(PATHTOF(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-11 22:24:12 +00:00
|
|
|
description = "$STR_ACE_Rallypoint_Module_Description";
|
|
|
|
};
|
2015-04-14 23:50:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// team leader
|
|
|
|
class Man;
|
|
|
|
class CAManBase : Man {
|
|
|
|
class ACE_SelfActions {
|
|
|
|
class ACE_MoveRallypoint {
|
2015-05-11 22:24:12 +00:00
|
|
|
displayName = "$STR_ACE_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));
|
|
|
|
showDisabled = 0;
|
|
|
|
priority = -0.5;
|
|
|
|
};
|
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 {
|
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 {
|
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 {
|
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 {
|
2015-04-13 11:04:23 +00:00
|
|
|
XEH_ENABLED;
|
|
|
|
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-04-15 06:31:40 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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-04-30 20:46:08 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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));
|
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;
|
|
|
|
priority = 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 {
|
2015-04-13 11:04:23 +00:00
|
|
|
XEH_ENABLED;
|
|
|
|
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-04-15 06:31:40 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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-04-30 20:46:08 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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));
|
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;
|
|
|
|
priority = 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 {
|
2015-04-13 11:04:23 +00:00
|
|
|
XEH_ENABLED;
|
|
|
|
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-04-15 06:31:40 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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-04-30 20:46:08 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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));
|
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;
|
|
|
|
priority = 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 {
|
2015-04-13 11:04:23 +00:00
|
|
|
XEH_ENABLED;
|
|
|
|
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-04-15 13:34:01 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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-04-30 20:46:08 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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));
|
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;
|
|
|
|
priority = 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 {
|
2015-04-13 11:04:23 +00:00
|
|
|
XEH_ENABLED;
|
|
|
|
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-04-15 13:34:01 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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-04-30 20:46:08 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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));
|
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;
|
|
|
|
priority = 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 {
|
2015-04-13 11:04:23 +00:00
|
|
|
XEH_ENABLED;
|
|
|
|
|
2015-01-13 15:29:35 +00:00
|
|
|
author = "$STR_ACE_Common_ACETeam";
|
2015-04-15 13:34:01 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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-04-30 20:46:08 +00:00
|
|
|
displayName = "$STR_ACE_Respawn_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));
|
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;
|
|
|
|
priority = 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
|
|
|
};
|