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
#Requires AutoHotkey v2.0 | |
toggle := false | |
#HotIf WinActive('ahk_exe quakespasm.exe') | |
RButton:: { | |
global toggle := !toggle | |
SendInput toggle ? '{LButton down}' : '{LButton up}' | |
} | |
~LButton:: { |
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
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 .. '.') |
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
│ ad.txt | |
│ | |
└───pak0 | |
└───progs | |
ammo_battery0.mdl | |
ammo_battery1.mdl | |
ammo_cells0.mdl | |
ammo_cells0_edit.mdl | |
ammo_cells1.mdl | |
ammo_lidlarge.mdl |
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
// 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 |
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
│ alkpak0sound.txt | |
│ | |
└───sound | |
├───arachnofloyd | |
│ death1.wav | |
│ death2.wav | |
│ idle1.wav | |
│ idle2.wav | |
│ leap.wav | |
│ pain1.wav |
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
│ pak0sound.txt | |
│ | |
├───ambience | |
│ buzz1.wav | |
│ comp1.wav | |
│ drip1.wav | |
│ drone6.wav | |
│ fire1.wav | |
│ fl_hum1.wav | |
│ hum1.wav |