This commit is contained in:
bux578 2015-01-13 15:39:58 +01:00
parent efe68df728
commit 992b3f721b
4 changed files with 61 additions and 61 deletions

View File

@ -1,11 +1,11 @@
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE( call COMPILE_FILE(XEH_preInit) );
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
postInit = QUOTE(call COMPILE_FILE(XEH_postInit) );
postInit = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};

View File

@ -1,56 +1,56 @@
class CfgVehicles {
class Module_F;
class ACE_ModuleNameTags: Module_F {
author = "$STR_ACE_Core_ACETeam";
category = "ACE";
displayName = "Name Tags";
function = FUNC(moduleNameTags);
scope = 2;
isGlobal = 1;
icon = QUOTE(PATHTOF(UI\IconNameTags_ca.paa));
class Arguments {
class PlayerNamesViewDistance {
displayName = "Player Names View Dist.";
description = "Distance in meters at which player names are shown. Default: 5";
typeName = "NUMBER";
defaultValue = 5;
};
class ShowNamesForAI {
displayName = "Show name tags for AI?";
description = "Show the name and rank tags for friendly AI units? Default: No";
typeName = "BOOL";
class values {
class Yes {
name = "Yes";
value = 1;
};
class No {
default = 1;
name = "No";
value = 0;
};
class Module_F;
class ACE_ModuleNameTags : Module_F {
author = "$STR_ACE_Core_ACETeam";
category = "ACE";
displayName = "Name Tags";
function = FUNC(moduleNameTags);
scope = 2;
isGlobal = 1;
icon = QUOTE(PATHTOF(UI\IconNameTags_ca.paa));
class Arguments {
class PlayerNamesViewDistance {
displayName = "Player Names View Dist.";
description = "Distance in meters at which player names are shown. Default: 5";
typeName = "NUMBER";
defaultValue = 5;
};
class ShowNamesForAI {
displayName = "Show name tags for AI?";
description = "Show the name and rank tags for friendly AI units? Default: No";
typeName = "BOOL";
class values {
class Yes {
name = "Yes";
value = 1;
};
class No {
default = 1;
name = "No";
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;
};
};
};
};
};
};

View File

@ -4,7 +4,7 @@
#define ST_LEFT 0
class RscTitles {
titles[]={"ACE_CrewInfo_dialog"};
titles[] = { "ACE_CrewInfo_dialog" };
class ACE_CrewInfo_dialog {
idd = -1;
movingEnable = 1;
@ -12,7 +12,7 @@ class RscTitles {
fadein = 0;
fadeout = 999999;
name = "ACE_CrewInfo_dialog";
controlsBackground[] = {"ACE_CrewInfo_text"};
controlsBackground[] = { "ACE_CrewInfo_text" };
onLoad = "uiNamespace setVariable ['ACE_CrewInfo_dialog', _this select 0]";
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_A',0.8])"
};
text="";
text = "";
class Attributes {
align = right;
};

View File

@ -5,11 +5,11 @@ class CfgPatches {
units[] = {};
weapons[] = {};
requiredVersion = 0.60;
requiredAddons[] = {"ace_main", "ace_common", "ace_interaction"};
requiredAddons[] = { "ace_main", "ace_common", "ace_interaction" };
version = QUOTE(VERSION);
versionStr = QUOTE(VERSION);
versionAr[] = {VERSION_AR};
author[] = {"commy2", "CAA-Picard"};
versionAr[] = { VERSION_AR };
author[] = { "commy2", "CAA-Picard" };
authorUrl = "https://github.com/commy2/";
};
};
@ -21,7 +21,7 @@ class ACE_Core_Default_Keys {
class showNames {
displayName = "$STR_ACE_NameTags_ShowNames";
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;
shift = 0;
control = 0;