ACE3/addons/respawn/CfgVehicles.hpp

211 lines
6.8 KiB
C++
Raw Normal View History

2015-01-12 09:20:50 +00:00
class CfgVehicles {
2015-01-13 14:38:17 +00:00
class Module_F;
2015-04-14 23:50:58 +00:00
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;
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 {
displayName = "Save Gear?";
description = "Respawn with the gear a soldier had just before his death?";
typeName = "BOOL";
2015-04-14 23:50:58 +00:00
2015-01-13 14:38:17 +00:00
class values {
class Yes { name = "Yes"; value = 1; };
class No { default = 1; name = "No"; value = 0; };
};
};
2015-04-14 23:50:58 +00:00
2015-04-03 06:05:14 +00:00
class RemoveDeadBodiesDisconnected {
2015-01-13 14:38:17 +00:00
displayName = "Remove bodies?";
description = "Remove player bodies after disconnect?";
typeName = "BOOL";
2015-04-14 23:50:58 +00:00
2015-01-13 14:38:17 +00:00
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
2015-04-14 23:50:58 +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-04-14 23:50:58 +00:00
class Arguments {};
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_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;
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 {};
};
// team leader
class Man;
class CAManBase : Man {
class ACE_SelfActions {
class ACE_MoveRallypoint {
displayName = "Move Rallypoint";
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-01-13 14:38:17 +00:00
displayName = "Rallypoint West Base";
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 {
displayName = "$STR_ACE_Respawn_TeleportedToRallypoint";
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_West')] call FUNC(teleportToRallypoint));
position[] = {0,0,-1};
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-01-13 14:38:17 +00:00
displayName = "Rallypoint East Base";
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 {
displayName = "$STR_ACE_Respawn_TeleportedToRallypoint";
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_East')] call FUNC(teleportToRallypoint));
position[] = {0,0,-1};
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-01-13 14:38:17 +00:00
displayName = "Rallypoint Independent Base";
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 {
displayName = "$STR_ACE_Respawn_TeleportedToRallypoint";
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_Independent')] call FUNC(teleportToRallypoint));
position[] = {0,0,-1};
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-01-13 14:38:17 +00:00
displayName = "Rallypoint West";
vehicleClass = QGVAR(Rallypoints);
2015-04-14 23:50:58 +00:00
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
displayName = "$STR_ACE_Respawn_TeleportedToBase";
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_West_Base')] call FUNC(teleportToRallypoint));
position[] = {0,0,-1};
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-01-13 14:38:17 +00:00
displayName = "Rallypoint East";
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 {
displayName = "$STR_ACE_Respawn_TeleportedToBase";
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_East_Base')] call FUNC(teleportToRallypoint));
position[] = {0,0,-1};
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-01-13 14:38:17 +00:00
displayName = "Rallypoint Independent";
vehicleClass = QGVAR(Rallypoints);
2015-04-14 23:50:58 +00:00
class ACE_Actions: ACE_Actions {
class ACE_Teleport {
displayName = "$STR_ACE_Respawn_TeleportedToBase";
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([ARR_3(_player,side group _player,'ACE_Rallypoint_Independent_Base')] call FUNC(teleportToRallypoint));
position[] = {0,0,-1};
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
};