This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"rhsusf_M1117_base": { | |
"className": "rhsusf_M1117", | |
"displayName": "M1117 ASV", | |
"hierarchy": [ | |
"rhsusf_M1117", | |
"rhsusf_M1117_base", | |
"Wheeled_Apc_F", | |
"Car_F", | |
"Car", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: IndigoFox | |
Contact: Indigo#6290 on Discord | |
Required Mods: | |
- CBA | |
- ACE3 (ace_interact_menu) | |
Description: | |
Players will see an ACE action on the windows of all buildings that will allow them to break the glass, bypassing the need to shoot them out. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phx_fnc_systemTime = { | |
private _systemTimeFormat = ["%1-%2-%3T%4:%5:%6.%7Z"]; | |
_systemTimeFormat append (systemTimeUTC apply {if (_x < 10) then {"0" + str _x} else {str _x}}); | |
format _systemTimeFormat | |
}; | |
phx_admin_fnc_logChat = { | |
params ["_channel","_text","_soldierName","_steamProfileName","_playerUID"]; | |
private _path = "chatlog.json"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
player createDiarySubject ["BLUAssets","BLUFOR Assets"]; | |
player createDiarySubject ["OPFAssets","OPFOR Assets"]; | |
player createDiarySubject ["INDAssets","INDFOR Assets"]; | |
_getVehicleData = { | |
params ["_vic", "_typeCount"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uses CBA function to add init code to the magazine that's placed, ACE_Explosives_Placed{classname} which gets the pos & execVMs a sideloaded script file | |
waits for magazine (placed, unarmed mine obj) to be objNull | |
checks for ammo obj in vicinity of magazine pos | |
if null, then mine was picked back up | |
if present, was armed and now an ammo obj exists as armed mine | |
gets info about armed mine, incl displayname of defaultMagazine property in config | |
waits for armed mine to be objNull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fired EH for non-bullets | |
// on any projectile that's not a bullet, draw a marker that tracks its position and persists 5 seconds after it 'dies' | |
// smoke grenades die when smoke stops coming out. frag grenades, explosives die after explosion. | |
{ | |
_x addEventHandler["Fired", { | |
_this spawn { | |
params ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_gunner"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script that uses the url_fetch x64 extension to poll (every 180 seconds) a PHP site with a query param of playerUID to return an array containing player name and staff role, which is then folded into a broadcast variable and used on clients for rendering 3d icons, measuring restrictions, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
staffIconHelper = [{ | |
{ | |
// skip if not safe start | |
if (!phx_safetyEnabled) exitWith {}; | |
// skip if ACE spectator is drawing group/name icons so as not to clash | |
if (missionNamespace getVariable "ace_spectator_drawunits") exitWith {}; | |
_staff = missionNamespace getVariable["staffInfo", nil]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//description.ext or controls.hpp | |
#include "\a3\ui_f\hpp\defineCommon.inc" | |
#define CT_CONTROLS_TABLE 19 | |
class TestDisplay | |
{ | |
idd = -1; | |
class controls | |
{ | |
class _CT_CONTROLSTABLE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reg Cockpit (Miner) | |
@0 AutoLCD | |
Center <Ores Aboard> | |
echo | |
InvListXS {T:*} +ore | |
@1 AutoLCD | |
Center <Energy Status> | |
PowerStored {T:Battery} |
NewerOlder