mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
optional pbo to disable cross hair
This commit is contained in:
parent
fed71b00e8
commit
6507acdbab
1
addons/nocrosshair/$PBOPREFIX$
Normal file
1
addons/nocrosshair/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\nocrosshair
|
6
addons/nocrosshair/CfgInGameUI.hpp
Normal file
6
addons/nocrosshair/CfgInGameUI.hpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
class CfgInGameUI {
|
||||||
|
class Cursor {
|
||||||
|
weapon = ""; // "\A3\ui_f\data\igui\cfg\cursors\weapon_ca.paa";
|
||||||
|
};
|
||||||
|
};
|
11
addons/nocrosshair/README.md
Normal file
11
addons/nocrosshair/README.md
Normal 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)
|
18
addons/nocrosshair/config.cpp
Normal file
18
addons/nocrosshair/config.cpp
Normal 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"
|
18
addons/nocrosshair/script_component.hpp
Normal file
18
addons/nocrosshair/script_component.hpp
Normal 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"
|
1
optionals/nocrosshair/$PBOPREFIX$
Normal file
1
optionals/nocrosshair/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\nocrosshair
|
6
optionals/nocrosshair/CfgInGameUI.hpp
Normal file
6
optionals/nocrosshair/CfgInGameUI.hpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
class CfgInGameUI {
|
||||||
|
class Cursor {
|
||||||
|
weapon = ""; // "\A3\ui_f\data\igui\cfg\cursors\weapon_ca.paa";
|
||||||
|
};
|
||||||
|
};
|
11
optionals/nocrosshair/README.md
Normal file
11
optionals/nocrosshair/README.md
Normal 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)
|
16
optionals/nocrosshair/config.cpp
Normal file
16
optionals/nocrosshair/config.cpp
Normal 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"
|
12
optionals/nocrosshair/script_component.hpp
Normal file
12
optionals/nocrosshair/script_component.hpp
Normal 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"
|
Loading…
Reference in New Issue
Block a user