Skip to content

Instantly share code, notes, and snippets.

View nomisum's full-sized avatar
🌙
zz

nomisum nomisum

🌙
zz
View GitHub Profile
class WITA_MapLocator_Class: SCR_MapLocator
{
// user script
// code here
override void EOnInit(IEntity owner)
{
if (!GetGame().InPlayMode() || !m_WorldDirections)
return;
// SCR_MapEntity.GetOnMapOpen().Insert(ShowMapHint);
@nomisum
nomisum / gist:32b6665473eb30947af9c75ad32b5b99
Created February 12, 2023 09:11
arma3 gestures (rhs, ace, gm) - cleaned of reload
WeaponMagazineReloadStand_g,
LauncherMagazineReloadStand,
LauncherMagazineReloadKneel,
WeaponMagazineReloadKneel_g,
PistolMagazineReloadStand_g,
PistolMagazineReloadKneel_g,
GestureAttackStand,
GestureGoStand,
GestureGoStandPistol,
GestureGoBStand,
@nomisum
nomisum / gist:dd606c52d1e9e7e63c83b7487a5bd65b
Created February 12, 2023 09:08
arma3 gestures (rhs, ace, gm)
WeaponMagazineReloadStand_g,
LauncherMagazineReloadStand,
LauncherMagazineReloadKneel,
WeaponMagazineReloadKneel_g,
PistolMagazineReloadStand_g,
PistolMagazineReloadKneel_g,
GestureAttackStand,
GestureGoStand,
GestureGoStandPistol,
GestureGoBStand,
ATRAIN_Track_Definitions = missionNamespace getVariable ["ATRAIN_Track_Definitions",[]];
// [Class Name, Center Point Offset, Is Split Track, Is End Track,Memory Point Height Offset]
ATRAIN_Track_Definitions append [
// Arma 3 Tracks
["Land_Track_01_3m_F",0,false,false,0],
["Land_Track_01_7deg_F",0.15,false,false,0],
["Land_Track_01_10m_F",0,false,false,0],
["Land_Track_01_15deg_F",0.3,false,false,0],
@nomisum
nomisum / gist:2cd0e94ce38b04aaf56004986e0e0db9
Created September 17, 2022 08:54
3den relative attachment extractor
/*
get offsets of all attached objects of vehicle in 3den
*/
private _vehicle = [];
private _objects = [];
private _objectsAndOffsets = [];
private _collection = [];
private _vectors = [];
{
ATRAIN_Track_Definitions = missionNamespace getVariable ["ATRAIN_Track_Definitions",[]];
// [Class Name, Center Point Offset, Is Split Track, Is End Track,Memory Point Height Offset]
ATRAIN_Track_Definitions append [
// Arma 3 Tracks
["Land_Track_01_3m_F",0,false,false,0],
["Land_Track_01_7deg_F",0.15,false,false,0],
["Land_Track_01_10m_F",0,false,false,0],
["Land_Track_01_15deg_F",0.3,false,false,0],
---------------------------------------------
Log C:\Users\nomisum\Documents\My Games\ArmaReforger\profile\console.log started at 2022-05-17 20:05:57 (2022-05-17 18:05:57 UTC)
20:05:57:598 ENGINE : FileSystem: Adding relative directory 'C:\Users\nomisum\Documents\My Games\ArmaReforger\profile' to filesystem under name profile
20:05:57:599 ENGINE : Initializing engine.
20:05:57:599 ENGINE : CLI Params: -beservice
20:05:57:660 ENGINE : FileSystem: Adding package './addons/data/' (pak count: 7) to filesystem under name ArmaReforger
20:05:57:670 ENGINE : FileSystem: Adding package './addons/core/' (pak count: 2) to filesystem under name core
20:05:57:670 RESOURCES : ResourceDB: loading cache (id=0 name=ArmaReforger path=./addons/data/resourceDatabase.rdb)
20:05:57:736 RESOURCES : ResourceDB: loading cache (id=1 name=core path=./addons/core/resourceDatabase.rdb)
---------------------------------------------
Log C:\Users\nomisum\Documents\My Games\ArmaReforger\profile\error.log started at 2022-05-17 20:05:58 (2022-05-17 18:05:58 UTC)
20:05:58:838 RENDER (W): Incorrect call of AGS library (amd_ags_x64.dll) functions for ATI vendor, system info not valid
20:06:04:140 SCRIPT (E): [Chat] ScriptedChatEntity is not present in the world. Sending messages will not work.
20:06:04:140 DEFAULT (W): No GameMode present in the world, using fallback logic!
20:07:37:124 GUI (W): Given widget is already modal, not adding again
20:07:41:139 RESOURCES : GetResourceObject @"{DFFC0A34A77ADCB4}anims/workspaces/player/player_main.agr"
20:07:41:139 ANIMATION : AnimGraph load @"{DFFC0A34A77ADCB4}anims/workspaces/player/player_main.agr"
20:07:41:141 ANIMATION (E): Unknown keyword/data 'InitOnly' at offset 173457(0x2a591)
//
// dumpConfig.sqf
// Copyright (c) 2010 Denis Usenko, [email protected]
// MIT-style license
//
// Modified by Pennyworth to write to file using ConfigDumpFileIO extension.
/*
======================================================================================
@nomisum
nomisum / gist:0427261717b41a7fb71944a286a27bc5
Created November 6, 2021 13:29
grad_funkspruchlängenmahnanzeige
GRAD_tfarTrainer_fnc_onPress = {
params ["_pressed"];
disableserialization;
private _control = uiNamespace getVariable ["GRAD_tfarTrainerControl", controlNull];
if (!_pressed) then {