mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Base No Radio
This commit is contained in:
parent
2df8f4f1fb
commit
bcd4a72013
@ -1,20 +0,0 @@
|
|||||||
class CfgPatches {
|
|
||||||
class AGM_NoRadio {
|
|
||||||
units[] = {};
|
|
||||||
weapons[] = {};
|
|
||||||
requiredVersion = 0.60;
|
|
||||||
requiredAddons[] = {AGM_Core};
|
|
||||||
version = "0.95";
|
|
||||||
versionStr = "0.95";
|
|
||||||
versionAr[] = {0,95,0};
|
|
||||||
author[] = {"commy2"};
|
|
||||||
authorUrl = "https://github.com/commy2/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
class Extended_PostInit_EventHandlers {
|
|
||||||
class AGM_NoRadio {
|
|
||||||
clientInit = "call compile preprocessFileLineNumbers '\AGM_NoRadio\clientInit.sqf'";
|
|
||||||
serverInit = "call compile preprocessFileLineNumbers '\AGM_NoRadio\serverInit.sqf'";
|
|
||||||
};
|
|
||||||
};
|
|
@ -1,3 +1,2 @@
|
|||||||
#include "script_component.hpp"
|
#include "script_component.hpp"
|
||||||
NO_DEDICATED;
|
|
||||||
|
|
||||||
|
1
addons/noradio/$PBOPREFIX$
Normal file
1
addons/noradio/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\noradio
|
6
addons/noradio/CfgEventhandlers.hpp
Normal file
6
addons/noradio/CfgEventhandlers.hpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
class Extended_PostInit_EventHandlers {
|
||||||
|
class ADDON {
|
||||||
|
clientInit = "call compile preprocessFileLineNumbers '\AGM_NoRadio\clientInit.sqf'";
|
||||||
|
serverInit = "call compile preprocessFileLineNumbers '\AGM_NoRadio\serverInit.sqf'";
|
||||||
|
};
|
||||||
|
};
|
@ -1,5 +1,7 @@
|
|||||||
// by commy2
|
// by commy2
|
||||||
|
|
||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
0 spawn {
|
0 spawn {
|
||||||
waitUntil {!isNull AGM_player};
|
waitUntil {!isNull AGM_player};
|
||||||
|
|
@ -1,5 +1,7 @@
|
|||||||
// by commy2
|
// by commy2
|
||||||
|
|
||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
addMissionEventHandler ["HandleDisconnect", {
|
addMissionEventHandler ["HandleDisconnect", {
|
||||||
if !((_this select 0) getVariable ["AGM_isUnconscious", false]) then {
|
if !((_this select 0) getVariable ["AGM_isUnconscious", false]) then {
|
||||||
_this call AGM_Core_fnc_unmuteUnit;
|
_this call AGM_Core_fnc_unmuteUnit;
|
17
addons/noradio/config.cpp
Normal file
17
addons/noradio/config.cpp
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
|
||||||
|
class CfgPatches {
|
||||||
|
class ADDON {
|
||||||
|
units[] = {};
|
||||||
|
weapons[] = {};
|
||||||
|
requiredVersion = REQUIRED_VERSION;
|
||||||
|
requiredAddons[] = {AGM_Core};
|
||||||
|
version = "0.95";
|
||||||
|
versionStr = "0.95";
|
||||||
|
versionAr[] = {0,95,0};
|
||||||
|
author[] = {"commy2"};
|
||||||
|
authorUrl = "https://github.com/commy2/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
#include "CfgEventhandlers.hpp"
|
14
addons/noradio/script_component.hpp
Normal file
14
addons/noradio/script_component.hpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#define COMPONENT noradio
|
||||||
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
|
// #define DEBUG_MODE_FULL
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_COMMON
|
||||||
|
#define DEBUG_MODE_FULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_COMMON
|
||||||
|
#define DEBUG_SETTINGS DEBUG_ENABLED_COMMON
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user