Skip to content

Instantly share code, notes, and snippets.

{
"profiles": [
{
"name": "build",
"tasks": [
{
"target": "${WORK_DIR_PATH}/build/__${MAP_BASE_NAME}__build.map",
"type": "export"
},
{
@spacehare
spacehare / folder.txt
Created November 12, 2025 22:43
qbj3dev
PS I:\Quake\Game\engines\qbj3dev> tree /f
Folder PATH listing for volume inland
Volume serial number is 8C86-3060
I:.
│ auto.sav
│ csprogs.dat
│ csprogs.lno
│ enemytest.sav
│ fake.fgd
│ ironwail.cfg
@spacehare
spacehare / all-3-doors-open-puzzle.map
Created October 29, 2025 20:25
a TrenchBroom set-up for Quake's Copper mod, where you need all 3 `func_door`s open at once in order to solve the puzzle.
// entity 0
{
"classname" "func_group"
"_tb_type" "_tb_group"
"_tb_name" "puzzle"
"_tb_id" "11"
"_tb_linked_group_id" "{28fe2931-8379-4c35-8b5c-1ada671f40e7}"
// brush 0
{
( -160 -64 -32 ) ( -160 -63 -32 ) ( -160 -64 -31 ) floor_orange_c [ 0 -1 0 0 ] [ 0 0 -1 0 ] 0 1 1
@spacehare
spacehare / compile.json
Last active August 6, 2024 18:59
%APPDATA%\TrenchBroom\games\Quake\CompilationProfiles.cfg
{
"profiles": [
{
"name": "DirtDebug",
"tasks": [
{
"target": "${WORK_DIR_PATH}/build/${MAP_BASE_NAME}.map",
"type": "export"
},
{
// Quoth additions by Preach([email protected])
// 2024: edits for Meat Jam by rabbit
// https://gist.github.com/spacehare/426e4f7461f614cda6aa1d3952199193
// worldspawn
//
@SolidClass = worldspawn : "World entity"
[
message(string) : "Text on entering the world"
worldtype(choices) : "Ambience" : 0 =
@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 28, 2025 18:13
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