Skip to content

Instantly share code, notes, and snippets.

@spacehare
Created November 24, 2025 19:29
Show Gist options
  • Select an option

  • Save spacehare/3ab5155ed8f688af112185dce39d8a81 to your computer and use it in GitHub Desktop.

Select an option

Save spacehare/3ab5155ed8f688af112185dce39d8a81 to your computer and use it in GitHub Desktop.
{
"profiles": [
{
"name": "build",
"tasks": [
{
"target": "${WORK_DIR_PATH}/build/__${MAP_BASE_NAME}__build.map",
"type": "export"
},
{
"parameters": "-leaktest -litwater -bsp2 build/__${MAP_BASE_NAME}__build.map build/${MAP_BASE_NAME}.bsp",
"tool": "${qbsp}",
"treatNonZeroResultCodeAsError": true,
"type": "tool"
},
{
"enabled": false,
"parameters": "-noambient -threads ${CPU_COUNT - 1} build/${MAP_BASE_NAME}.bsp",
"tool": "${vis}",
"treatNonZeroResultCodeAsError": true,
"type": "tool"
},
{
"enabled": false,
"parameters": "-lit -threads ${CPU_COUNT - 1} build/${MAP_BASE_NAME}.bsp ",
"tool": "${light}",
"treatNonZeroResultCodeAsError": true,
"type": "tool"
},
{
"source": "${WORK_DIR_PATH}/build/${MAP_BASE_NAME}.bsp",
"target": "${GAME_DIR_PATH}/${MODS[-1]}/maps",
"type": "copy"
},
{
"source": "${WORK_DIR_PATH}/build/${MAP_BASE_NAME}.lit",
"target": "${GAME_DIR_PATH}/${MODS[-1]}/maps",
"type": "copy"
}
],
"workdir": "${MAP_DIR_PATH}"
}
],
"version": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment