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
efe68df728
commit
992b3f721b
@ -1,11 +1,11 @@
|
|||||||
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_PostInit_EventHandlers {
|
class Extended_PostInit_EventHandlers {
|
||||||
class ADDON {
|
class ADDON {
|
||||||
postInit = QUOTE(call COMPILE_FILE(XEH_postInit) );
|
postInit = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -1,56 +1,56 @@
|
|||||||
class CfgVehicles {
|
class CfgVehicles {
|
||||||
class Module_F;
|
class Module_F;
|
||||||
class ACE_ModuleNameTags: Module_F {
|
class ACE_ModuleNameTags : Module_F {
|
||||||
author = "$STR_ACE_Core_ACETeam";
|
author = "$STR_ACE_Core_ACETeam";
|
||||||
category = "ACE";
|
category = "ACE";
|
||||||
displayName = "Name Tags";
|
displayName = "Name Tags";
|
||||||
function = FUNC(moduleNameTags);
|
function = FUNC(moduleNameTags);
|
||||||
scope = 2;
|
scope = 2;
|
||||||
isGlobal = 1;
|
isGlobal = 1;
|
||||||
icon = QUOTE(PATHTOF(UI\IconNameTags_ca.paa));
|
icon = QUOTE(PATHTOF(UI\IconNameTags_ca.paa));
|
||||||
class Arguments {
|
class Arguments {
|
||||||
class PlayerNamesViewDistance {
|
class PlayerNamesViewDistance {
|
||||||
displayName = "Player Names View Dist.";
|
displayName = "Player Names View Dist.";
|
||||||
description = "Distance in meters at which player names are shown. Default: 5";
|
description = "Distance in meters at which player names are shown. Default: 5";
|
||||||
typeName = "NUMBER";
|
typeName = "NUMBER";
|
||||||
defaultValue = 5;
|
defaultValue = 5;
|
||||||
};
|
};
|
||||||
class ShowNamesForAI {
|
class ShowNamesForAI {
|
||||||
displayName = "Show name tags for AI?";
|
displayName = "Show name tags for AI?";
|
||||||
description = "Show the name and rank tags for friendly AI units? Default: No";
|
description = "Show the name and rank tags for friendly AI units? Default: No";
|
||||||
typeName = "BOOL";
|
typeName = "BOOL";
|
||||||
class values {
|
class values {
|
||||||
class Yes {
|
class Yes {
|
||||||
name = "Yes";
|
name = "Yes";
|
||||||
value = 1;
|
value = 1;
|
||||||
};
|
};
|
||||||
class No {
|
class No {
|
||||||
default = 1;
|
default = 1;
|
||||||
name = "No";
|
name = "No";
|
||||||
value = 0;
|
value = 0;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
class Visibility {
|
||||||
|
displayName = "Visibility of crew info";
|
||||||
|
description = "Forces visibility of vehicle crew info, or by default allows players to choose it on their own. Default: Do Not Force";
|
||||||
|
typeName = "INT";
|
||||||
|
class values {
|
||||||
|
class DoNotForce {
|
||||||
|
default = 1;
|
||||||
|
name = "Do Not Force";
|
||||||
|
value = 0;
|
||||||
|
};
|
||||||
|
class ForceShow {
|
||||||
|
name = "Force Show";
|
||||||
|
value = 1;
|
||||||
|
};
|
||||||
|
class ForceHide {
|
||||||
|
name = "Force Hide";
|
||||||
|
value = -1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
class Visibility {
|
|
||||||
displayName = "Visibility of crew info";
|
|
||||||
description = "Forces visibility of vehicle crew info, or by default allows players to choose it on their own. Default: Do Not Force";
|
|
||||||
typeName = "INT";
|
|
||||||
class values {
|
|
||||||
class DoNotForce {
|
|
||||||
default = 1;
|
|
||||||
name = "Do Not Force";
|
|
||||||
value = 0;
|
|
||||||
};
|
|
||||||
class ForceShow {
|
|
||||||
name = "Force Show";
|
|
||||||
value = 1;
|
|
||||||
};
|
|
||||||
class ForceHide {
|
|
||||||
name = "Force Hide";
|
|
||||||
value = -1;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#define ST_LEFT 0
|
#define ST_LEFT 0
|
||||||
|
|
||||||
class RscTitles {
|
class RscTitles {
|
||||||
titles[]={"ACE_CrewInfo_dialog"};
|
titles[] = { "ACE_CrewInfo_dialog" };
|
||||||
class ACE_CrewInfo_dialog {
|
class ACE_CrewInfo_dialog {
|
||||||
idd = -1;
|
idd = -1;
|
||||||
movingEnable = 1;
|
movingEnable = 1;
|
||||||
@ -12,7 +12,7 @@ class RscTitles {
|
|||||||
fadein = 0;
|
fadein = 0;
|
||||||
fadeout = 999999;
|
fadeout = 999999;
|
||||||
name = "ACE_CrewInfo_dialog";
|
name = "ACE_CrewInfo_dialog";
|
||||||
controlsBackground[] = {"ACE_CrewInfo_text"};
|
controlsBackground[] = { "ACE_CrewInfo_text" };
|
||||||
onLoad = "uiNamespace setVariable ['ACE_CrewInfo_dialog', _this select 0]";
|
onLoad = "uiNamespace setVariable ['ACE_CrewInfo_dialog', _this select 0]";
|
||||||
onUnload = "uiNamespace setVariable ['ACE_CrewInfo_dialog', objNull]";
|
onUnload = "uiNamespace setVariable ['ACE_CrewInfo_dialog', objNull]";
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ class RscTitles {
|
|||||||
"(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])",
|
"(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])",
|
||||||
"(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"
|
"(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"
|
||||||
};
|
};
|
||||||
text="";
|
text = "";
|
||||||
class Attributes {
|
class Attributes {
|
||||||
align = right;
|
align = right;
|
||||||
};
|
};
|
||||||
|
@ -5,11 +5,11 @@ class CfgPatches {
|
|||||||
units[] = {};
|
units[] = {};
|
||||||
weapons[] = {};
|
weapons[] = {};
|
||||||
requiredVersion = 0.60;
|
requiredVersion = 0.60;
|
||||||
requiredAddons[] = {"ace_main", "ace_common", "ace_interaction"};
|
requiredAddons[] = { "ace_main", "ace_common", "ace_interaction" };
|
||||||
version = QUOTE(VERSION);
|
version = QUOTE(VERSION);
|
||||||
versionStr = QUOTE(VERSION);
|
versionStr = QUOTE(VERSION);
|
||||||
versionAr[] = {VERSION_AR};
|
versionAr[] = { VERSION_AR };
|
||||||
author[] = {"commy2", "CAA-Picard"};
|
author[] = { "commy2", "CAA-Picard" };
|
||||||
authorUrl = "https://github.com/commy2/";
|
authorUrl = "https://github.com/commy2/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -21,7 +21,7 @@ class ACE_Core_Default_Keys {
|
|||||||
class showNames {
|
class showNames {
|
||||||
displayName = "$STR_ACE_NameTags_ShowNames";
|
displayName = "$STR_ACE_NameTags_ShowNames";
|
||||||
condition = "true";
|
condition = "true";
|
||||||
statement = QUOTE( GVAR(ShowNamesTime) = time; if (call FUNC(canShow)) then {call FUNC(doShow);}; );
|
statement = QUOTE(GVAR(ShowNamesTime) = time; if (call FUNC(canShow)) then{ call FUNC(doShow); };);
|
||||||
key = 29;
|
key = 29;
|
||||||
shift = 0;
|
shift = 0;
|
||||||
control = 0;
|
control = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user