Skip to content

Instantly share code, notes, and snippets.

@spacehare
spacehare / bonk.ahk
Last active June 24, 2024 04:03
so you don't have to keep the button pressed down
#Requires AutoHotkey v2.0
toggle := false
#HotIf WinActive('ahk_exe quakespasm.exe')
RButton:: {
global toggle := !toggle
SendInput toggle ? '{LButton down}' : '{LButton up}'
}
~LButton:: {
@spacehare
spacehare / imbue.lua
Last active September 12, 2023 18:11
ComputerCraft Tweaked script for Ars Nouveau's Imbuement Chamber automation. Stoneblock 3.
local args = { ... }
local expected_args = 2
if args[2] == nil then args[2] = 1 end
if #args ~= expected_args then
if #args > expected_args then
print('Too many arguments. Expected ' .. expected_args .. '.')
elseif #args < expected_args then
print('Too few arguments. Expected ' .. expected_args .. '.')
@spacehare
spacehare / adpak0mdl.txt
Created November 24, 2022 18:37
arcane dimensions models (tree /f > ad.txt)
│ ad.txt
└───pak0
└───progs
ammo_battery0.mdl
ammo_battery1.mdl
ammo_cells0.mdl
ammo_cells0_edit.mdl
ammo_cells1.mdl
ammo_lidlarge.mdl
@spacehare
spacehare / curveBrushExample.txt
Last active October 13, 2022 16:42
Quake. Trenchbroom. brush curve example. uses protoype 1.3 textures (http://khreathor.xyz/site/prototype/)
// entity 0
{
"classname" "func_detail"
// brush 0
{
( 2400 -128 264 ) ( 2432 -384 392 ) ( 2432 -384 264 ) 128_cyan_1 [ 0.12403473458920847 -0.9922778767136677 0 0 ] [ 0 -0 -1 0 ] 0 1 1
( 2176 -448 232 ) ( 2177 -448 232 ) ( 2176 -447 232 ) 128_cyan_1 [ -1 0 0 0 ] [ -0 -1 -0 0 ] 0 1 1
( 2496 -128 296 ) ( 2496 -127 296 ) ( 2497 -128 296 ) 128_cyan_1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( 2496 -192 296 ) ( 2497 -192 296 ) ( 2496 -192 297 ) 128_cyan_1 [ -1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 2432 -128 296 ) ( 2432 -128 297 ) ( 2432 -127 296 ) 128_cyan_1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
@spacehare
spacehare / alkpak0sound.txt
Created October 4, 2022 03:10
alkaline tree /f > alkpak0sound.txt
│ alkpak0sound.txt
└───sound
├───arachnofloyd
│ death1.wav
│ death2.wav
│ idle1.wav
│ idle2.wav
│ leap.wav
│ pain1.wav
@spacehare
spacehare / pak0sound.txt
Created September 30, 2022 20:06
tree /f > pak0sound.txt
│ pak0sound.txt
├───ambience
│ buzz1.wav
│ comp1.wav
│ drip1.wav
│ drone6.wav
│ fire1.wav
│ fl_hum1.wav
│ hum1.wav