MAPS: Move away from storing BSPs; compile BSPs during jobs; test compilation during PRs

This commit is contained in:
MotoLegacy 2025-03-13 21:44:01 -07:00
parent b400e8241e
commit 721827b6a3
55 changed files with 23139 additions and 301 deletions

View file

@ -5,12 +5,18 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Install dependencies
run: |
apt update && apt install wget unzip -y
shell: bash
- uses: actions/checkout@v2
- name: Clone Repository and Run Script
working-directory: ./tools
- name: Clone Repository and Run Scripts
working-directory: ./
run: |
sudo -i
./assemble-assets.sh
bash tools/compile-maps.sh --full
cd tools/
bash assemble-assets.sh
- name: Generate Build Date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H-%M-%S')"

View file

@ -0,0 +1,20 @@
name: Verify Maps Compile
on: [pull_request]
jobs:
Map-Assets-Exist:
name: Verify Maps Compile
runs-on: ubuntu-latest
container:
image: ubuntu:24.10
steps:
- name: Install dependencies
run: apt update && apt install wget unzip -y
shell: bash
- name: Checkout
uses: actions/checkout@v2
- name: Wait for GitHub to keep up..
run: sleep 2s
shell: bash
- name: Run Script
run: |
bash tools/compile-maps.sh

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -5,7 +5,7 @@
"classname" "worldspawn"
"sky" "Sky_Waldon01"
"mapversion" "220"
"wad" "/home/abhid/NZP/assets/source/textures/wad/4all.wad;/home/abhid/NZP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
"person" "BCDeshiG"
"date" "26th June 1997"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "A:/Trenchbroom/wad/4all.wad;A:/Trenchbroom/wad/b1oodv4.wad;A:/Trenchbroom/wad/Dung3on.wad;A:/Trenchbroom/wad/Example_01.wad;A:/Trenchbroom/wad/Example_02.wad;A:/Trenchbroom/wad/Ju[s]tice_null2.wad;A:/Trenchbroom/wad/Loop.wad;A:/Trenchbroom/wad/nzphlwad.wad;A:/Trenchbroom/wad/verruckt.wad;A:/Trenchbroom/wad/zhlt.wad;A:/Trenchbroom/wad/Ju[s]tice_null2.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/Dung3on.wad;source/textures/wad/Example_01.wad;source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/Loop.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/zhlt.wad;source/textures/wad/Ju[s]tice_null2.wad"
"sky" "Sky_Waldon01"
"fog" "240 1550 54 55 59"
"_tb_def" "external:A:/Trenchbroom/tb-nzp.fgd"

1332
source/maps/Loop/Loop.map Normal file

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,7 @@
"date" "2nd January 1994"
"person" "BCDeshiG"
"mapversion" "220"
"wad" "/home/abhid/NZP/assets/source/textures/wad/4all.wad;/home/abhid/NZP/assets/source/textures/wad/b1oodv4.wad;/home/abhid/NZP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
// brush 0
{

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "/home/abhid/NZP/assets/source/textures/wad/b1oodv4.wad;/home/abhid/NZP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/b1oodv4.wad;source/textures/wad/zhlt.wad"
"person" "BCDeshiG"
"date" "2nd January 1994"
"location" "Crime Scene?"

View file

@ -5,7 +5,7 @@
"classname" "worldspawn"
"sounds" "1"
"mapversion" "220"
"wad" "W:/NZPSTUFF TEMP/assets/source/textures/wad/Example_02.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/nzphlwad.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/verruckt.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/zhlt.wad"
"_generator" "Jackhammer 1.1.700 (vpHalfLife)"
// brush 0
{

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "D:/NZP Textures/Wads/Ju[s]tice_null2.wad;D:/NZP Textures/Wads/zhlt.wad"
"wad" "source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/zhlt.wad"
"sky" "sky"
"fog" "100 3000 100 65 0"
// brush 0

View file

@ -5,7 +5,7 @@
"classname" "worldspawn"
"message" "Map by Ju[s]tice"
"mapversion" "220"
"wad" "/home/deck/git/assets/source/textures/wad/4all.wad;/home/deck/git/assets/source/textures/wad/b1oodv4.wad;/home/deck/git/assets/source/textures/wad/chalk_drawings.wad;/home/deck/git/assets/source/textures/wad/Dung3on.wad;/home/deck/git/assets/source/textures/wad/Example_01.wad;/home/deck/git/assets/source/textures/wad/Example_02.wad;/home/deck/git/assets/source/textures/wad/Ju[s]tice_null2.wad;/home/deck/git/assets/source/textures/wad/Loop.wad;/home/deck/git/assets/source/textures/wad/nzphlwad.wad;/home/deck/git/assets/source/textures/wad/verruckt.wad;/home/deck/git/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/chalk_drawings.wad;source/textures/wad/Dung3on.wad;source/textures/wad/Example_01.wad;source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/Loop.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
"fog" "200 1800 80 80 80"
"sky" "sky"

View file

@ -8,7 +8,7 @@
"chaptertitle" "Dung3on"
"person" "BCDeshiG"
"mapversion" "220"
"wad" "/home/abhid/NZP/assets/source/textures/wad/Dung3on.wad;/home/abhid/NZP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/Dung3on.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
// brush 0
{

View file

@ -9,7 +9,7 @@
"date" "1942"
"person" "Stoohp"
"mapversion" "220"
"wad" "W:/NZPSTUFF/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF/assets/source/textures/wad/nzphlwad.wad;W:/NZPSTUFF/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.2800 (vpHalfLife)"
"chaptertitle" "Fegefeuer"
// brush 0

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "W:/NZPSTUFF TEMP/assets/source/textures/wad/4all.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/b1oodv4.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/chalk_drawings.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Dung3on.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Example_01.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Example_02.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Loop.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/nzphlwad.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/perks.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/verruckt.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/warehouse.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/chalk_drawings.wad;source/textures/wad/Dung3on.wad;source/textures/wad/Example_01.wad;source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/Loop.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/perks.wad;source/textures/wad/verruckt.wad;source/textures/wad/warehouse.wad;source/textures/wad/zhlt.wad"
"sky" "ndu"
"fog" "200 2000 80 80 80"
"date" "14th October 1941"

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "W:/NZPSTUFF/assets/source/textures/wad/4all.wad;W:/NZPSTUFF/assets/source/textures/wad/b1oodv4.wad;W:/NZPSTUFF/assets/source/textures/wad/chalk_drawings.wad;W:/NZPSTUFF/assets/source/textures/wad/Dung3on.wad;W:/NZPSTUFF/assets/source/textures/wad/Example_01.wad;W:/NZPSTUFF/assets/source/textures/wad/Example_02.wad;W:/NZPSTUFF/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF/assets/source/textures/wad/Loop.wad;W:/NZPSTUFF/assets/source/textures/wad/nzphlwad.wad;W:/NZPSTUFF/assets/source/textures/wad/verruckt.wad;W:/NZPSTUFF/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/chalk_drawings.wad;source/textures/wad/Dung3on.wad;source/textures/wad/Example_01.wad;source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/Loop.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/zhlt.wad"
"fog" "200 1000 0 0 0"
"sky" "black"
"date" "3rd September 1941"

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "/home/abhid/NZP/assets/source/textures/wad/Loop.wad;/home/abhid/NZP/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/Loop.wad;source/textures/wad/zhlt.wad"
"person" "BCDeshiG"
"location" "Somewhere"
"date" "6th June 1963"

View file

@ -1,85 +0,0 @@
{
"classname" "worldspawn"
"sounds" "1"
"angles" "0 0 0"
"mapversion" "220"
"wad" "\nzppc\NZP-Reboot\pc\nzp\textures\Example_01.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Ceiling.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Example_01.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Fabrik der Untoten.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\GAOL.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Ju[s]tice_null2.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\L4QNewest.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Merged.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\NATURE.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\U-Bahn.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Umod.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\WaterFall.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Waw.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\Waw_hlwad.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\benis.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\bo2.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\carpet.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\christmas_special.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\chronic.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\de_bikinibottom.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\der_riese.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\fixed.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\jp_dev_plus.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\kurok.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\menu.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\nuketown.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\nw.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\nzphlwad.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\posterwad.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\pt_lowres.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\quake.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\sky.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\stars.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\starsperk.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\straw.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\verruckt.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\wall_wad.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\warehouse.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\waw_HLBSP.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\waww.wad;\cygwin\home\user\nzp-up\psp\nzp\textures\y_floortextures.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
{
( 288 256 160 ) ( 288 256 0 ) ( 288 -256 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 160 ) ( 256 -256 0 ) ( 256 256 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 288 -256 160 ) ( 288 -256 0 ) ( 256 -256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 256 160 ) ( 256 256 0 ) ( 288 256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 288 -256 160 ) ( 256 -256 160 ) ( 288 256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( 256 256 0 ) ( 256 -256 0 ) ( 288 256 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( -256 256 160 ) ( -256 256 0 ) ( -256 -256 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -288 -256 160 ) ( -288 -256 0 ) ( -288 256 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 160 ) ( -256 -256 0 ) ( -288 -256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -288 256 160 ) ( -288 256 0 ) ( -256 256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 160 ) ( -288 -256 160 ) ( -256 256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -288 256 0 ) ( -288 -256 0 ) ( -256 256 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 288 160 ) ( 256 288 0 ) ( 256 256 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 256 160 ) ( -256 256 0 ) ( -256 288 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 256 160 ) ( 256 256 0 ) ( -256 256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 288 160 ) ( -256 288 0 ) ( 256 288 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 256 160 ) ( -256 256 160 ) ( 256 288 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 288 0 ) ( -256 256 0 ) ( 256 288 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 -256 160 ) ( 256 -256 0 ) ( 256 -288 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -288 160 ) ( -256 -288 0 ) ( -256 -256 160 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -288 160 ) ( 256 -288 0 ) ( -256 -288 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 160 ) ( -256 -256 0 ) ( 256 -256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -288 160 ) ( -256 -288 160 ) ( 256 -256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 -256 0 ) ( -256 -288 0 ) ( 256 -256 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 256 192 ) ( 256 256 160 ) ( 256 -256 192 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 192 ) ( -256 -256 160 ) ( -256 256 192 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 192 ) ( 256 -256 160 ) ( -256 -256 192 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 256 192 ) ( -256 256 160 ) ( 256 256 192 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 192 ) ( -256 -256 192 ) ( 256 256 192 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 256 160 ) ( -256 -256 160 ) ( 256 256 160 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 256 0 ) ( 256 256 -32 ) ( 256 -256 0 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 0 ) ( -256 -256 -32 ) ( -256 256 0 ) 3TILES_GREY1 [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 0 ) ( 256 -256 -32 ) ( -256 -256 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 256 0 ) ( -256 256 -32 ) ( 256 256 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 0 ) ( -256 -256 0 ) ( 256 256 0 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 256 -32 ) ( -256 -256 -32 ) ( 256 256 -32 ) 3TILES_GREY1 [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
}
{
"classname" "info_player_start"
"origin" "-192 0 33"
}
{
"classname" "light"
"style" "0"
"wait" "1"
"_light" "255 255 128 200"
"light" "255 255 128 200"
"angles" "0 0 0"
"origin" "0 0 128"
}
{
"classname" "mystery_box"
"angles" "0 270 0"
"spawnflags" "0"
"origin" "244 -11 8"
}
{
"classname" "mystery_box_tp_spot"
"angles" "0 180 0"
"origin" "2 -244 7"
}
{
"classname" "mystery_box_tp_spot"
"angles" "0 0 0"
"origin" "1 243 7"
}

4
source/maps/ndu/ndu.args Normal file
View file

@ -0,0 +1,4 @@
hlbsp_args=""
hlcsg_args=""
hlvis_args="-maxdistance 750"
hlrad_args=""

View file

@ -8,7 +8,7 @@
"light" "0"
"r_skycolor" "54 55 59"
"angles" "0 0 0"
"wad" "W:/NZPSTUFF/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF/assets/source/textures/wad/zhlt.wad;W:/NZPSTUFF/assets/source/textures/wad/chalk_drawings.wad"
"wad" "source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/zhlt.wad;source/textures/wad/chalk_drawings.wad"
"sky" "ndu"
"fog" "240 1550 54 55 59"
// brush 0

View file

@ -0,0 +1,4 @@
hlbsp_args=""
hlcsg_args=""
hlvis_args="-maxdistance 750"
hlrad_args=""

View file

@ -4,7 +4,7 @@
{
"classname" "worldspawn"
"mapversion" "220"
"wad" "/home/deck/git/assets/source/textures/wad/4all.wad;/home/deck/git/assets/source/textures/wad/b1oodv4.wad;/home/deck/git/assets/source/textures/wad/Dung3on.wad;/home/deck/git/assets/source/textures/wad/Example_01.wad;/home/deck/git/assets/source/textures/wad/Example_02.wad;/home/deck/git/assets/source/textures/wad/Ju[s]tice_null2.wad;/home/deck/git/assets/source/textures/wad/Loop.wad;/home/deck/git/assets/source/textures/wad/nzphlwad.wad;/home/deck/git/assets/source/textures/wad/verruckt.wad;/home/deck/git/assets/source/textures/wad/zhlt.wad;/home/deck/git/assets/source/textures/wad/b1oodv4.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/Dung3on.wad;source/textures/wad/Example_01.wad;source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/Loop.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/zhlt.wad;source/textures/wad/b1oodv4.wad"
"_generator" "J.A.C.K. 1.1.1262 (vpHalfLife)"
"sky" "sky"
// brush 0

View file

@ -0,0 +1,4 @@
hlbsp_args=""
hlcsg_args=""
hlvis_args="-maxdistance 750"
hlrad_args=""

View file

@ -4,7 +4,7 @@
{
"classname" "worldspawn"
"mapversion" "220"
"wad" "W:/NZPSTUFF/assets/source/textures/wad/4all.wad;W:/NZPSTUFF/assets/source/textures/wad/b1oodv4.wad;W:/NZPSTUFF/assets/source/textures/wad/chalk_drawings.wad;W:/NZPSTUFF/assets/source/textures/wad/Dung3on.wad;W:/NZPSTUFF/assets/source/textures/wad/Example_01.wad;W:/NZPSTUFF/assets/source/textures/wad/Example_02.wad;W:/NZPSTUFF/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF/assets/source/textures/wad/nzphlwad.wad;W:/NZPSTUFF/assets/source/textures/wad/verruckt.wad;W:/NZPSTUFF/assets/source/textures/wad/warehouse.wad;W:/NZPSTUFF/assets/source/textures/wad/zhlt.wad"
"wad" "source/textures/wad/4all.wad;source/textures/wad/b1oodv4.wad;source/textures/wad/chalk_drawings.wad;source/textures/wad/Dung3on.wad;source/textures/wad/Example_01.wad;source/textures/wad/Example_02.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/warehouse.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.1262 (vpHalfLife)"
"sky" "sky"
"fog" "240 1550 50 55 50"

View file

@ -9,7 +9,7 @@
" r_skycolor" "0 0 0"
"angles" "0 0 0"
"mapversion" "220"
"wad" "\Users\judej\Desktop\nzp\git\maps\textures\Ju[s]tice_null2.wad;\Users\judej\Desktop\nzp\git\maps\textures\nzphlwad.wad;\Users\judej\Desktop\nzp\git\maps\textures\verruckt.wad;\Users\judej\Desktop\nzp\git\maps\textures\zhlt.wad"
"wad" "source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/nzphlwad.wad;source/textures/wad/verruckt.wad;source/textures/wad/zhlt.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
{
( -544 -1448 -256 ) ( -544 -1128 -272 ) ( -544 -1448 -288 ) {ARMB_X [ 0.0499376 0.997506 -0.0498753 31.981 ] [ -0 0.0499376 0.998752 15.9808 ] 0 0.5 0.5

View file

@ -4,7 +4,7 @@
{
"mapversion" "220"
"classname" "worldspawn"
"wad" "W:/NZP-Reboot-master/pc/nzp/textures/zhlt.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/Ju[s]tice_null2.wad;W:/NZPSTUFF TEMP/assets/source/textures/wad/nzphlwad.wad"
"wad" "source/textures/wad/zhlt.wad;source/textures/wad/Ju[s]tice_null2.wad;source/textures/wad/nzphlwad.wad"
"_tb_def" "external:W:/trenchbroom/tb-nzp.fgd"
// brush 0
{

View file

@ -1,196 +0,0 @@
{
"classname" "worldspawn"
"sounds" "1"
"mapversion" "220"
"wad" "\Users\judej\Desktop\nzp\git\maps\textures\Ju[s]tice_null2.wad;\Users\judej\Desktop\nzp\git\maps\textures\nzphlwad.wad;\Users\judej\Desktop\nzp\git\maps\textures\verruckt.wad;\Users\judej\Desktop\nzp\git\maps\textures\zhlt.wad"
"_generator" "J.A.C.K. 1.1.1064 (vpHalfLife)"
{
( 288 256 160 ) ( 288 256 0 ) ( 288 -256 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 160 ) ( 256 -256 0 ) ( 256 256 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 288 -256 160 ) ( 288 -256 0 ) ( 256 -256 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 256 160 ) ( 256 256 0 ) ( 288 256 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 288 -256 160 ) ( 256 -256 160 ) ( 288 256 160 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( 256 256 0 ) ( 256 -256 0 ) ( 288 256 0 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( -256 256 160 ) ( -256 256 0 ) ( -256 -256 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -288 -256 160 ) ( -288 -256 0 ) ( -288 256 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 160 ) ( -256 -256 0 ) ( -288 -256 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -288 256 160 ) ( -288 256 0 ) ( -256 256 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 160 ) ( -288 -256 160 ) ( -256 256 160 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -288 256 0 ) ( -288 -256 0 ) ( -256 256 0 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 288 160 ) ( 256 288 0 ) ( 256 256 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 256 160 ) ( -256 256 0 ) ( -256 288 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 256 160 ) ( 256 256 0 ) ( -256 256 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 288 160 ) ( -256 288 0 ) ( 256 288 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 256 160 ) ( -256 256 160 ) ( 256 288 160 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 288 0 ) ( -256 256 0 ) ( 256 288 0 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 -256 160 ) ( 256 -256 0 ) ( 256 -288 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -288 160 ) ( -256 -288 0 ) ( -256 -256 160 ) BRICKS [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -288 160 ) ( 256 -288 0 ) ( -256 -288 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 160 ) ( -256 -256 0 ) ( 256 -256 160 ) BRICKS [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -288 160 ) ( -256 -288 160 ) ( 256 -256 160 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 -256 0 ) ( -256 -288 0 ) ( 256 -256 0 ) BRICKS [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 256 192 ) ( 256 256 160 ) ( 256 -256 192 ) CON_WW [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 192 ) ( -256 -256 160 ) ( -256 256 192 ) CON_WW [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 192 ) ( 256 -256 160 ) ( -256 -256 192 ) CON_WW [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 256 192 ) ( -256 256 160 ) ( 256 256 192 ) CON_WW [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 192 ) ( -256 -256 192 ) ( 256 256 192 ) CON_WW [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 256 160 ) ( -256 -256 160 ) ( 256 256 160 ) CON_WW [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( 256 256 0 ) ( 256 256 -32 ) ( 256 -256 0 ) NDU_TILES [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 -256 0 ) ( -256 -256 -32 ) ( -256 256 0 ) NDU_TILES [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 0 ) ( 256 -256 -32 ) ( -256 -256 0 ) NDU_TILES [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -256 256 0 ) ( -256 256 -32 ) ( 256 256 0 ) NDU_TILES [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 256 -256 0 ) ( -256 -256 0 ) ( 256 256 0 ) NDU_TILES [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -256 256 -32 ) ( -256 -256 -32 ) ( 256 256 -32 ) NDU_TILES [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( -32 64 160 ) ( -32 64 0 ) ( -32 256 160 ) BRICKS_WHITE_BI [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 32 256 160 ) ( 32 256 0 ) ( 32 64 160 ) BRICKS_WHITE_BI [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -32 256 160 ) ( -32 256 0 ) ( 32 256 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 32 64 160 ) ( 32 64 0 ) ( -32 64 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 32 64 160 ) ( -32 64 160 ) ( 32 256 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -32 256 0 ) ( -32 64 0 ) ( 32 256 0 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
{
( -32 -256 160 ) ( -32 -256 0 ) ( -32 -64 160 ) BRICKS_WHITE_BI [ 0 1 0 32 ] [ 0 0 -1 0 ] 0 1 1
( 32 -64 160 ) ( 32 -64 0 ) ( 32 -256 160 ) BRICKS_WHITE_BI [ 0 1 0 32 ] [ 0 0 -1 0 ] 0 1 1
( -32 -64 160 ) ( -32 -64 0 ) ( 32 -64 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 32 -256 160 ) ( 32 -256 0 ) ( -32 -256 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 32 -256 160 ) ( -32 -256 160 ) ( 32 -64 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 -1 0 -32 ] 0 1 1
( -32 -64 0 ) ( -32 -256 0 ) ( 32 -64 0 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 -1 0 -32 ] 0 1 1
}
{
( 32 64 160 ) ( 32 64 112 ) ( 32 -64 160 ) BRICKS_WHITE_BI [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -32 -64 160 ) ( -32 -64 112 ) ( -32 64 160 ) BRICKS_WHITE_BI [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( 32 -64 160 ) ( 32 -64 112 ) ( -32 -64 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -32 64 160 ) ( -32 64 112 ) ( 32 64 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -32 64 112 ) ( -32 -64 112 ) ( 32 64 112 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( 32 -64 160 ) ( -32 -64 160 ) ( 32 64 160 ) BRICKS_WHITE_BI [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
}
{
"classname" "info_player_start"
"origin" "-192 0 33"
}
{
"classname" "light"
"style" "0"
"wait" "1"
"_light" "255 255 128 200"
"light" "255 255 128 200"
"origin" "-128 0 128"
}
{
"classname" "light"
"style" "0"
"wait" "1"
"_light" "255 255 128 200"
"light" "255 255 128 200"
"origin" "128 0 128"
}
{
"classname" "zapper_switch"
"angles" "0 181 0"
"cost" "200"
"zappername" "zapper1"
"origin" "-32 -96 40"
}
{
"classname" "zapper_switch"
"angles" "0 0 0"
"cost" "200"
"zappername" "zapper1"
"origin" "32 96 40"
}
{
"classname" "zapper_light"
"angles" "0 180 0"
"zappername" "zapper1"
"origin" "-32 0 120"
}
{
"classname" "zapper_light"
"angles" "0 0 0"
"zappername" "zapper1"
"origin" "32 0 120"
}
{
"classname" "zapper_node"
"angles" "0 180 180"
"zappername" "zapper1"
"targetname" "z3u"
"target" "z3b"
"origin" "0 32 112"
}
{
"classname" "zapper_node"
"angles" "0 180 180"
"zappername" "zapper1"
"targetname" "z2u"
"target" "z2b"
"origin" "0 0 112"
}
{
"classname" "zapper_node"
"angles" "0 180 180"
"zappername" "zapper1"
"targetname" "z1u"
"target" "z1b"
"origin" "0 -32 112"
}
{
"classname" "zapper_node"
"angles" "0 0 0"
"zappername" "zapper1"
"targetname" "z1b"
"origin" "0 -32 0"
}
{
"classname" "zapper_node"
"angles" "0 0 0"
"zappername" "zapper1"
"targetname" "z2b"
"origin" "0 0 0"
}
{
"classname" "zapper_node"
"angles" "0 0 0"
"zappername" "zapper1"
"targetname" "z3b"
"origin" "0 32 0"
}
{
"classname" "weapon_wall"
"angles" "0 270 0"
"sequence" "2"
"targetname" "thomp"
"origin" "-32 -159 40"
}
{
"classname" "buy_weapon"
"cost" "100"
"weapon" "3"
"target" "thomp"
{
( -32 -140 52 ) ( -32 -140 0 ) ( -32 -180 52 ) TRIGGER [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -36 -180 52 ) ( -36 -180 0 ) ( -36 -140 52 ) TRIGGER [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -32 -180 52 ) ( -32 -180 0 ) ( -36 -180 52 ) TRIGGER [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -36 -140 52 ) ( -36 -140 0 ) ( -32 -140 52 ) TRIGGER [ 1 0 0 0 ] [ 0 0 -1 0 ] 0 1 1
( -36 -140 0 ) ( -36 -180 0 ) ( -32 -140 0 ) TRIGGER [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
( -32 -180 52 ) ( -36 -180 52 ) ( -32 -140 52 ) TRIGGER [ 1 0 0 0 ] [ 0 -1 0 0 ] 0 1 1
}
}
{
"classname" "spawn_zombie"
"spawnflags" "6"
"origin" "194 4 32"
}

131
tools/compile-maps.sh Executable file
View file

@ -0,0 +1,131 @@
#!/bin/bash
#
# Nazi Zombies: Portable
# Map compilation script for Linux x86_64,
# requires wget, unzip.
#
set -o errexit
ASSETS_ROOT=$(dirname "${BASH_SOURCE[0]}")/../
cd "${ASSETS_ROOT}"
VHLT_URL="https://github.com/nzp-team/vhlt/releases/download/Vanilla/vhlt-v34-linux-x86_64.zip"
FULL_COMPILE="0"
# These are global options that apply to all maps.
HLCSG_PARMS="-threads 8 -nowadtextures -wadautodetect"
HLBSP_PARMS="-threads 8"
HLVIS_PARMS="-threads 8"
HLRAD_PARMS="-threads 8"
# Map specific flags
hlbsp_args=""
hlcsg_args=""
hlvis_args=""
hlrad_args=""
while true; do
case "$1" in
-f | --full ) FULL_COMPILE="1"; shift 1 ;;
-- ) shift; break ;;
* ) break ;;
esac
done
# If running with --full, append extra arguments
if [[ "${FULL_COMPILE}" -ne "0" ]]; then
echo "[INFO]: Compiling with final arguments enabled."
HLCSG_PARMS="${HLCSG_PARMS} -cliptype precise"
HLVIS_PARMS="${HLVIS_PARMS} -full"
HLRAD_PARMS="${HLRAD_PARMS} -extra"
fi
#
# download_dependencies()
# ----
# Downloads VHLT.
#
function download_dependencies()
{
# Nothing to do.
if [[ -f "tools/vhlt/hlbsp" ]]; then
return 0
fi
echo "[INFO]: Downloading VHLT.."
# Download with wget
wget -P tools/ "${VHLT_URL}"
unzip tools/vhlt-v34-linux-x86_64.zip -d tools/vhlt/
chmod +x tools/vhlt/*
rm tools/vhlt-v34-linux-x86_64.zip
}
#
# compile_levels()
# ----
# Attempts to compile all maps.
#
function compile_levels()
{
# Iterate through every .map in our source..
while read -r map_file; do
local command=""
local pretty_name=$(basename ${map_file} .map)
local map_path="source/maps/${pretty_name}/${pretty_name}"
hlbsp_args=""
hlcsg_args=""
hlvis_args=""
hlrad_args=""
echo "[INFO]: Starting compilation of [${pretty_name}].."
if [[ -f "${map_path}.args" ]]; then
echo " + Found arguments file!"
source "${map_path}.args"
fi
# 1. hlcsg
command="tools/vhlt/hlcsg ${HLCSG_PARMS} ${hlcsg_args} ${map_path}.map"
echo "[${command}]"
$command
# 2. hlbsp
command="tools/vhlt/hlbsp ${HLBSP_PARMS} ${hlbsp_args} ${map_path}.map"
echo "[${command}]"
$command
# 3. hlvis
command="tools/vhlt/hlvis ${HLVIS_PARMS} ${hlvis_args} ${map_path}.bsp"
echo "[${command}]"
$command
# 4. hlrad
command="tools/vhlt/hlrad ${HLRAD_PARMS} ${hlrad_args} ${map_path}.bsp"
echo "[${command}]"
$command
mv "${map_path}.bsp" "common/maps/${pretty_name}.bsp"
find source/maps/${pretty_name} -type f ! -name '*.map' ! -name '*.args' -delete
done < <(find source/maps/ -type f -name "*.map")
}
#
# main()
# ----
# Entry point.
#
function main()
{
rm -rf common/maps/*.bsp
download_dependencies;
compile_levels;
echo "[INFO]: Done! :)"
}
main;

BIN
tools/vhlt/hlbsp Executable file

Binary file not shown.

BIN
tools/vhlt/hlcsg Executable file

Binary file not shown.

BIN
tools/vhlt/hlrad Executable file

Binary file not shown.

BIN
tools/vhlt/hlvis Executable file

Binary file not shown.

BIN
tools/vhlt/ripent Executable file

Binary file not shown.