mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4 spaces
This commit is contained in:
parent
2074e200d5
commit
41f843514f
@ -1,5 +1,5 @@
|
|||||||
class CfgAddons {
|
class CfgAddons {
|
||||||
class GVAR(Rallypoints) {
|
class GVAR(Rallypoints) {
|
||||||
list[] = {"ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_RallypointExit_West", "ACE_RallypointExit_East", "ACE_RallypointExit_Independent"};
|
list[] = { "ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_RallypointExit_West", "ACE_RallypointExit_East", "ACE_RallypointExit_Independent" };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
class Extended_PreInit_EventHandlers {
|
class Extended_PreInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
init = QUOTE( call COMPILE_FILE(XEH_preInit) );
|
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class Extended_Killed_EventHandlers {
|
class Extended_Killed_EventHandlers {
|
||||||
class CAManBase {
|
class CAManBase {
|
||||||
class GVAR(HandleGear) {
|
class GVAR(HandleGear) {
|
||||||
killed = QUOTE( _this call FUNC(handleKilled) );
|
killed = QUOTE(_this call FUNC(handleKilled));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
class Extended_Respawn_EventHandlers {
|
class Extended_Respawn_EventHandlers {
|
||||||
class CAManBase {
|
class CAManBase {
|
||||||
class GVAR(HandleGear) {
|
class GVAR(HandleGear) {
|
||||||
respawn = QUOTE( _this call FUNC(handleRespawn) );
|
respawn = QUOTE(_this call FUNC(handleRespawn));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
class CfgVehicles {
|
class CfgVehicles {
|
||||||
class Module_F;
|
class Module_F;
|
||||||
class ACE_ModuleRespawn: Module_F {
|
class ACE_ModuleRespawn : Module_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
category = "ACE";
|
category = "ACE";
|
||||||
displayName = "Respawn System";
|
displayName = "Respawn System";
|
||||||
@ -14,7 +14,7 @@ class CfgVehicles {
|
|||||||
description = "Respawn with the gear a soldier had just before his death?";
|
description = "Respawn with the gear a soldier had just before his death?";
|
||||||
typeName = "BOOL";
|
typeName = "BOOL";
|
||||||
class values {
|
class values {
|
||||||
class Yes { name = "Yes"; value = 1;};
|
class Yes { name = "Yes"; value = 1; };
|
||||||
class No { default = 1; name = "No"; value = 0; };
|
class No { default = 1; name = "No"; value = 0; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -23,14 +23,14 @@ class CfgVehicles {
|
|||||||
description = "Remove player bodies after disconnect?";
|
description = "Remove player bodies after disconnect?";
|
||||||
typeName = "BOOL";
|
typeName = "BOOL";
|
||||||
class values {
|
class values {
|
||||||
class Yes { default = 1; name = "Yes"; value = 1;};
|
class Yes { default = 1; name = "Yes"; value = 1; };
|
||||||
class No { name = "No"; value = 0; };
|
class No { name = "No"; value = 0; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_ModuleFriendlyFire: Module_F {
|
class ACE_ModuleFriendlyFire : Module_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
category = "ACE";
|
category = "ACE";
|
||||||
displayName = "Friendly Fire Messages";
|
displayName = "Friendly Fire Messages";
|
||||||
@ -42,7 +42,7 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_ModuleRallypoint: Module_F {
|
class ACE_ModuleRallypoint : Module_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
category = "ACE";
|
category = "ACE";
|
||||||
displayName = "Rallypoint System";
|
displayName = "Rallypoint System";
|
||||||
@ -56,20 +56,20 @@ class CfgVehicles {
|
|||||||
|
|
||||||
// rallypoints
|
// rallypoints
|
||||||
class FlagCarrier;
|
class FlagCarrier;
|
||||||
class Flag_NATO_F: FlagCarrier {
|
class Flag_NATO_F : FlagCarrier {
|
||||||
class ACE_Actions;
|
class ACE_Actions;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Flag_CSAT_F: FlagCarrier {
|
class Flag_CSAT_F : FlagCarrier {
|
||||||
class ACE_Actions;
|
class ACE_Actions;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Flag_AAF_F: FlagCarrier {
|
class Flag_AAF_F : FlagCarrier {
|
||||||
class ACE_Actions;
|
class ACE_Actions;
|
||||||
};
|
};
|
||||||
|
|
||||||
// static
|
// static
|
||||||
class ACE_Rallypoint_West: Flag_NATO_F {
|
class ACE_Rallypoint_West : Flag_NATO_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
displayName = "Rallypoint West Base";
|
displayName = "Rallypoint West Base";
|
||||||
vehicleClass = QGVAR(Rallypoints);
|
vehicleClass = QGVAR(Rallypoints);
|
||||||
@ -77,19 +77,19 @@ class CfgVehicles {
|
|||||||
class EventHandlers {
|
class EventHandlers {
|
||||||
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_nato_CO.paa'; _this call FUNC(initRallypoint));
|
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_Actions : ACE_Actions {
|
||||||
class ACE_Teleport {
|
class ACE_Teleport {
|
||||||
displayName = "Teleport to Rallypoint";
|
displayName = "Teleport to Rallypoint";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE( side group _player == west );
|
condition = QUOTE(side group _player == west);
|
||||||
statement = QUOTE( [_player, side group _player, false] call FUNC(teleportToRallypoint); );
|
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
|
||||||
showDisabled = 1;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_Rallypoint_East: Flag_CSAT_F {
|
class ACE_Rallypoint_East : Flag_CSAT_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
displayName = "Rallypoint East Base";
|
displayName = "Rallypoint East Base";
|
||||||
vehicleClass = QGVAR(Rallypoints);
|
vehicleClass = QGVAR(Rallypoints);
|
||||||
@ -97,19 +97,19 @@ class CfgVehicles {
|
|||||||
class EventHandlers {
|
class EventHandlers {
|
||||||
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_CSAT_CO.paa'; _this call FUNC(initRallypoint));
|
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_Actions : ACE_Actions {
|
||||||
class ACE_Teleport {
|
class ACE_Teleport {
|
||||||
displayName = "Teleport to Rallypoint";
|
displayName = "Teleport to Rallypoint";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE( side group _player == east );
|
condition = QUOTE(side group _player == east);
|
||||||
statement = QUOTE( [_player, side group _player, false] call FUNC(teleportToRallypoint); );
|
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
|
||||||
showDisabled = 1;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_Rallypoint_Independent: Flag_AAF_F {
|
class ACE_Rallypoint_Independent : Flag_AAF_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
displayName = "Rallypoint Independent Base";
|
displayName = "Rallypoint Independent Base";
|
||||||
vehicleClass = QGVAR(Rallypoints);
|
vehicleClass = QGVAR(Rallypoints);
|
||||||
@ -117,12 +117,12 @@ class CfgVehicles {
|
|||||||
class EventHandlers {
|
class EventHandlers {
|
||||||
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_AAF_CO.paa'; _this call FUNC(initRallypoint));
|
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_Actions : ACE_Actions {
|
||||||
class ACE_Teleport {
|
class ACE_Teleport {
|
||||||
displayName = "Teleport to Rallypoint";
|
displayName = "Teleport to Rallypoint";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE( side group _player == independent );
|
condition = QUOTE(side group _player == independent);
|
||||||
statement = QUOTE( [_player, side group _player, false] call FUNC(teleportToRallypoint); );
|
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
|
||||||
showDisabled = 1;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -130,7 +130,7 @@ class CfgVehicles {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// moveable
|
// moveable
|
||||||
class ACE_RallypointExit_West: Flag_NATO_F {
|
class ACE_RallypointExit_West : Flag_NATO_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
displayName = "Rallypoint West";
|
displayName = "Rallypoint West";
|
||||||
vehicleClass = QGVAR(Rallypoints);
|
vehicleClass = QGVAR(Rallypoints);
|
||||||
@ -138,19 +138,19 @@ class CfgVehicles {
|
|||||||
class EventHandlers {
|
class EventHandlers {
|
||||||
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_nato_CO.paa'; _this call FUNC(initRallypoint));
|
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_Actions : ACE_Actions {
|
||||||
class ACE_Teleport {
|
class ACE_Teleport {
|
||||||
displayName = "Teleport to Base";
|
displayName = "Teleport to Base";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE( side group _player == west );
|
condition = QUOTE(side group _player == west);
|
||||||
statement = QUOTE( [_player, side group _player, true] call FUNC(teleportToRallypoint); );
|
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
|
||||||
showDisabled = 1;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_RallypointExit_East: Flag_CSAT_F {
|
class ACE_RallypointExit_East : Flag_CSAT_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
displayName = "Rallypoint East";
|
displayName = "Rallypoint East";
|
||||||
vehicleClass = QGVAR(Rallypoints);
|
vehicleClass = QGVAR(Rallypoints);
|
||||||
@ -158,19 +158,19 @@ class CfgVehicles {
|
|||||||
class EventHandlers {
|
class EventHandlers {
|
||||||
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_CSAT_CO.paa'; _this call FUNC(initRallypoint));
|
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_Actions : ACE_Actions {
|
||||||
class ACE_Teleport {
|
class ACE_Teleport {
|
||||||
displayName = "Teleport to Base";
|
displayName = "Teleport to Base";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE( side group _player == east );
|
condition = QUOTE(side group _player == east);
|
||||||
statement = QUOTE( [_player, side group _player, true] call FUNC(teleportToRallypoint); );
|
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
|
||||||
showDisabled = 1;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
class ACE_RallypointExit_Independent: Flag_AAF_F {
|
class ACE_RallypointExit_Independent : Flag_AAF_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
displayName = "Rallypoint Independent";
|
displayName = "Rallypoint Independent";
|
||||||
vehicleClass = QGVAR(Rallypoints);
|
vehicleClass = QGVAR(Rallypoints);
|
||||||
@ -178,12 +178,12 @@ class CfgVehicles {
|
|||||||
class EventHandlers {
|
class EventHandlers {
|
||||||
init = QUOTE((_this select 0) setFlagTexture '\A3\Data_F\Flags\Flag_AAF_CO.paa'; _this call FUNC(initRallypoint));
|
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_Actions : ACE_Actions {
|
||||||
class ACE_Teleport {
|
class ACE_Teleport {
|
||||||
displayName = "Teleport to Base";
|
displayName = "Teleport to Base";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE( side group _player == independent );
|
condition = QUOTE(side group _player == independent);
|
||||||
statement = QUOTE( [_player, side group _player, true] call FUNC(teleportToRallypoint); );
|
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
|
||||||
showDisabled = 1;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -192,12 +192,12 @@ class CfgVehicles {
|
|||||||
|
|
||||||
// team leader
|
// team leader
|
||||||
class Man;
|
class Man;
|
||||||
class CAManBase: Man {
|
class CAManBase : Man {
|
||||||
class ACE_SelfActions {
|
class ACE_SelfActions {
|
||||||
class ACE_MoveRallypoint {
|
class ACE_MoveRallypoint {
|
||||||
displayName = "Move Rallypoint";
|
displayName = "Move Rallypoint";
|
||||||
condition = QUOTE( [_player, side group _player] call FUNC(canMoveRallypoint) );
|
condition = QUOTE([_player, side group _player] call FUNC(canMoveRallypoint));
|
||||||
statement = QUOTE( [_player, side group _player] call FUNC(moveRallypoint) );
|
statement = QUOTE([_player, side group _player] call FUNC(moveRallypoint));
|
||||||
showDisabled = 0;
|
showDisabled = 0;
|
||||||
priority = -0.5;
|
priority = -0.5;
|
||||||
};
|
};
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
class CfgPatches {
|
class CfgPatches {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
units[] = {};
|
units[] = {};
|
||||||
weapons[] = {"ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_RallypointExit_West", "ACE_RallypointExit_East", "ACE_RallypointExit_Independent"};
|
weapons[] = { "ACE_Rallypoint_West", "ACE_Rallypoint_East", "ACE_Rallypoint_Independent", "ACE_RallypointExit_West", "ACE_RallypointExit_East", "ACE_RallypointExit_Independent" };
|
||||||
requiredVersion = 0.60;
|
requiredVersion = 0.60;
|
||||||
requiredAddons[] = {"ace_core"};
|
requiredAddons[] = { "ace_core" };
|
||||||
version = QUOTE(VERSION);
|
version = QUOTE(VERSION);
|
||||||
versionStr = QUOTE(VERSION);
|
versionStr = QUOTE(VERSION);
|
||||||
versionAr[] = {VERSION_AR};
|
versionAr[] = { VERSION_AR };
|
||||||
author[] = {"bux578", "commy2"};
|
author[] = { "bux578", "commy2" };
|
||||||
authorUrl = "https://github.com/bux578/";
|
authorUrl = "https://github.com/bux578/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user