optional pbo to disable cross hair

This commit is contained in:
commy2 2016-02-05 20:04:26 +01:00
parent fed71b00e8
commit 6507acdbab
10 changed files with 100 additions and 0 deletions

View File

@ -0,0 +1 @@
z\ace\addons\nocrosshair

View File

@ -0,0 +1,6 @@
class CfgInGameUI {
class Cursor {
weapon = ""; // "\A3\ui_f\data\igui\cfg\cursors\weapon_ca.paa";
};
};

View File

@ -0,0 +1,11 @@
ace_nocrosshair
===========
Removes weapon crosshair.
## Maintainers
The people responsible for merging changes to this component or answering potential questions.
- [commy2](https://github.com/commy2)

View File

@ -0,0 +1,18 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
ACE_isOptional = 1;
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author = ECSTRING(common,ACETeam);
authors[] = {"commy2"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};
#include "CfgInGameUI.hpp"

View File

@ -0,0 +1,18 @@
#define COMPONENT nocrosshair
#define COMPONENT_BEAUTIFIED No Crosshair
#include "\z\ace\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_SETTINGS DEBUG_ENABLED_NOCROSSHAIR
#endif
#include "\z\ace\addons\main\script_macros.hpp"

View File

@ -0,0 +1 @@
z\ace\addons\nocrosshair

View File

@ -0,0 +1,6 @@
class CfgInGameUI {
class Cursor {
weapon = ""; // "\A3\ui_f\data\igui\cfg\cursors\weapon_ca.paa";
};
};

View File

@ -0,0 +1,11 @@
ace_nocrosshair
===========
Removes weapon crosshair.
## Maintainers
The people responsible for merging changes to this component or answering potential questions.
- [commy2](https://github.com/commy2)

View File

@ -0,0 +1,16 @@
#include "script_component.hpp"
class CfgPatches {
class ADDON {
ACE_isOptional = 1;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_common"};
author[] = {"commy2"};
authorUrl = "https://github.com/commy2";
VERSION_CONFIG;
};
};
#include "CfgInGameUI.hpp"

View File

@ -0,0 +1,12 @@
#define COMPONENT nocrosshair
#include "\z\ace\addons\main\script_mod.hpp"
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_ENABLED_NOCROSSHAIR
#define DEBUG_SETTINGS DEBUG_ENABLED_NOCROSSHAIR
#endif
#include "\z\ace\addons\main\script_macros.hpp"