Skip to content

Instantly share code, notes, and snippets.

View OverlordZorn's full-sized avatar
just the perfect amount of tea

OverlordZorn OverlordZorn

just the perfect amount of tea
  • Southern Germany
  • 15:23 (UTC +02:00)
View GitHub Profile
//PROOF OF CONCEPT
//Just put this in the initPlayerLocal.sqf, for MP you probably need to do some changes.
//Needs to be in scheduled environment - feel free to convert it to unscheduled.
_safeZones = [];
_dangerZones = [];
fncLightning = {
_pos = _this;
private ["_bolt", "_light", "_class", "_lightning", "_time"];
@matthewzring
matthewzring / markdown-text-101.md
Last active July 16, 2024 20:50
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@BaerMitUmlaut
BaerMitUmlaut / fps.sqf
Created October 14, 2018 21:38
In game live FPS graph with ropes
player setPos [15, 15, 0];
meme_history = [];
meme_indicators = [];
meme_ropes = [];
comment "x axis";
for "_i" from 0 to 9 do {
private _b = "Sign_Sphere100cm_F" createVehicle [0, 0, 0];
_b setPosATL [10, 10 + _i * 2, 0];
CUL_snowEmitter = objNull;
CUL_doSnow = {
private _unit = ACE_player;
if (alive _unit && {!([_unit] call ace_common_fnc_isInBuilding)}) then {
if (isNull CUL_snowEmitter) then {
CUL_snowEmitter = "#particlesource" createVehicleLocal getpos _unit;
CUL_snowEmitter setParticleParams [
["\A3\data_f\ParticleEffects\Universal\Universal",16,12,13,1],
"",
"Billboard",
@BaerMitUmlaut
BaerMitUmlaut / MapOverlay.sqf
Created April 5, 2020 15:06
Overlays a picture over the whole map with the map still being usable
mission_fnc_mapOverlayCache = [] call CBA_fnc_createNamespace;
mission_fnc_mapOverlay = {
params ["_map"];
_map drawIcon [
getMissionPath "map.paa",
[1, 1, 1, 1],
[worldSize / 2, worldSize / 2, 0],
640 / ctrlMapScale _map,
640 / ctrlMapScale _map,

Github to Discord Webhook Tutorial

In this tutorial I'll show you how to create a Github webhook that will post updates from your Github account to a channel in Discord. The steps are simple so follow along!

Create a Webhook in a Discord Channel

First you need to create a webhook in a text channel. We're assuming you have both Manage Channel and Manage Webhooks permissions!

  • Go in a channel properties (Alternatively, Server Settings, Webhooks works too)
@MildlyInterested
MildlyInterested / arma_useful.md
Last active July 17, 2024 07:47
Arma useful things

Arma Preset Creator by ColinM

create HTML presets from steam collections (with a second, optional, mods collection)

https://armapresetcreator.co.uk/

PAA Converter in your Browser by Gruppe Adler

converts jpg, png to PAA and vise versa