ACE3/addons/respawn/CfgVehicles.hpp

214 lines
6.9 KiB
C++
Raw Normal View History

2015-09-26 14:26:41 +00:00
2015-01-12 09:20:50 +00:00
class CfgVehicles {
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";
displayName = CSTRING(Module_DisplayName);
2015-01-13 19:10:30 +00:00
function = QFUNC(module);
2015-01-13 14:38:17 +00:00
scope = 2;
2015-09-26 14:26:41 +00:00
isGlobal = 0;
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 = CSTRING(SavePreDeathGear_DisplayName);
description = CSTRING(SavePreDeathGear_Description);
2015-01-13 14:38:17 +00:00
typeName = "BOOL";
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 {
displayName = CSTRING(RemoveDeadBodiesDisconnected_DisplayName);
description = CSTRING(RemoveDeadBodiesDisconnected_Description);
2015-01-13 14:38:17 +00:00
typeName = "BOOL";
defaultValue = 1;
2015-01-13 14:38:17 +00:00
};
};
2015-09-26 14:26:41 +00:00
class ModuleDescription {
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
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);
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 {};
class ModuleDescription {
2015-05-27 19:43:30 +00:00
description = CSTRING(FriendlyFire_Module_Description);
};
2015-01-12 09:20:50 +00:00
};
2015-01-13 14:38:17 +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);
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 {};
class ModuleDescription {
2015-05-27 19:43:30 +00:00
description = CSTRING(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-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));
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-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
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 {
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));
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-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
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 {
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));
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-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
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 {
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));
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-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
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 {
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));
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-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
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 {
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));
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-05-27 20:04:41 +00:00
author = ECSTRING(common,ACETeam);
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 {
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));
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
};