Too lazy to comment

This commit is contained in:
2020-01-02 17:58:49 +01:00
parent 9e8cdf1ce4
commit 7fad0cc429
13 changed files with 113 additions and 7 deletions

View File

@@ -1,9 +1,4 @@
maps
map zombietest
quit
map zombietest
quit
maps
quit
map ad_devkit1
maps
@@ -25,3 +20,11 @@ quit
fog
fog 0.1
quit
maps
quit
maps
quit
maps
map zombietest
quit
map test

View File

@@ -129,10 +129,10 @@ vid_bpp "24"
vid_desktopfullscreen "0"
vid_fsaa "0"
vid_fullscreen "0"
vid_height "576"
vid_height "1080"
vid_refreshrate "60"
vid_vsync "0"
vid_width "1024"
vid_width "1920"
viewsize "110"
volume "0.7"
vid_restart

BIN
id1/maps/test.bsp Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
textures/skips2018/hint.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
textures/skips2018/skip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

27
tools/build_from_blender.sh Executable file
View File

@@ -0,0 +1,27 @@
#!/bin/bash
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
ROOT=${DIR}/../
MAPDIR=${ROOT}/id1/maps/
MAPNAME=test
WORKING_DIR=/tmp
IN=${MAPNAME}.map
OUT=${MAPNAME}.bsp
TOOLS_DIR=${ROOT}/tools/ericw_tools
QBSP=${TOOLS_DIR}/qbsp
VIS=${TOOLS_DIR}/vis
LIGHT=${TOOLS_DIR}/light
pushd ${WORKING_DIR}
${QBSP} -bsp2 ${IN} ${OUT}
${VIS} -fast -level 4 -noambient ${OUT}
${LIGHT} -bounce -soft -extra -extra4 -dirt -dirtdepth 128 ${OUT}
cp ${OUT} ${MAPDIR}
popd
pushd ${ROOT}
#./quakespasm-sdl2 +map ${MAPNAME}
popd

38
tools/example.map Normal file
View File

@@ -0,0 +1,38 @@
// Game: Quake
// Format: Standard
// entity 0
{
"classname" "worldspawn"
// brush 0
{
( -64 -64 -16 ) ( -64 -63 -16 ) ( -64 -64 -15 ) __TB_empty 0 0 0 1 1
( -64 -64 -16 ) ( -64 -64 -15 ) ( -63 -64 -16 ) __TB_empty 0 0 0 1 1
( -64 -64 -16 ) ( -63 -64 -16 ) ( -64 -63 -16 ) __TB_empty 0 0 0 1 1
( 64 64 16 ) ( 64 65 16 ) ( 65 64 16 ) __TB_empty 0 0 0 1 1
( 64 64 16 ) ( 65 64 16 ) ( 64 64 17 ) __TB_empty 0 0 0 1 1
( 64 64 16 ) ( 64 64 17 ) ( 64 65 16 ) __TB_empty 0 0 0 1 1
}
// brush 1
{
( -32 -128 0 ) ( -32 -127 0 ) ( -32 -128 1 ) __TB_empty 0 0 0 1 1
( -32 -128 0 ) ( -32 -128 1 ) ( -31 -128 0 ) __TB_empty 0 0 0 1 1
( -32 -128 0 ) ( -31 -128 0 ) ( -32 -127 0 ) __TB_empty 0 0 0 1 1
( 160 -80 16 ) ( 160 -79 16 ) ( 161 -80 16 ) __TB_empty 0 0 0 1 1
( 160 -80 16 ) ( 161 -80 16 ) ( 160 -80 17 ) __TB_empty 0 0 0 1 1
( 160 -80 16 ) ( 160 -80 17 ) ( 160 -79 16 ) __TB_empty 0 0 0 1 1
}
// brush 2
{
( -272 48 -80 ) ( -272 49 -80 ) ( -272 48 -79 ) __TB_empty 0 0 0 1 1
( -272 48 -80 ) ( -272 48 -79 ) ( -271 48 -80 ) __TB_empty 0 0 0 1 1
( -272 48 -80 ) ( -271 48 -80 ) ( -272 49 -80 ) __TB_empty 0 0 0 1 1
( -80 528 -64 ) ( -80 529 -64 ) ( -79 528 -64 ) __TB_empty 0 0 0 1 1
( -80 528 -64 ) ( -79 528 -64 ) ( -80 528 -63 ) __TB_empty 0 0 0 1 1
( -80 528 -64 ) ( -80 528 -63 ) ( -80 529 -64 ) __TB_empty 0 0 0 1 1
}
}
// entity 1
{
"classname" "info_player_start"
"origin" "0 -16 40"
}

38
tools/example.txt Normal file
View File

@@ -0,0 +1,38 @@
// Game: Quake
// Format: Standard
// entity 0
{
"classname" "worldspawn"
// brush 0
{
( -64 -64 -16 ) ( -64 -63 -16 ) ( -64 -64 -15 ) __TB_empty 0 0 0 1 1
( -64 -64 -16 ) ( -64 -64 -15 ) ( -63 -64 -16 ) __TB_empty 0 0 0 1 1
( -64 -64 -16 ) ( -63 -64 -16 ) ( -64 -63 -16 ) __TB_empty 0 0 0 1 1
( 64 64 16 ) ( 64 65 16 ) ( 65 64 16 ) __TB_empty 0 0 0 1 1
( 64 64 16 ) ( 65 64 16 ) ( 64 64 17 ) __TB_empty 0 0 0 1 1
( 64 64 16 ) ( 64 64 17 ) ( 64 65 16 ) __TB_empty 0 0 0 1 1
}
// brush 1
{
( -32 -128 0 ) ( -32 -127 0 ) ( -32 -128 1 ) __TB_empty 0 0 0 1 1
( -32 -128 0 ) ( -32 -128 1 ) ( -31 -128 0 ) __TB_empty 0 0 0 1 1
( -32 -128 0 ) ( -31 -128 0 ) ( -32 -127 0 ) __TB_empty 0 0 0 1 1
( 160 -80 16 ) ( 160 -79 16 ) ( 161 -80 16 ) __TB_empty 0 0 0 1 1
( 160 -80 16 ) ( 161 -80 16 ) ( 160 -80 17 ) __TB_empty 0 0 0 1 1
( 160 -80 16 ) ( 160 -80 17 ) ( 160 -79 16 ) __TB_empty 0 0 0 1 1
}
// brush 2
{
( -272 48 -80 ) ( -272 49 -80 ) ( -272 48 -79 ) __TB_empty 0 0 0 1 1
( -272 48 -80 ) ( -272 48 -79 ) ( -271 48 -80 ) __TB_empty 0 0 0 1 1
( -272 48 -80 ) ( -271 48 -80 ) ( -272 49 -80 ) __TB_empty 0 0 0 1 1
( -80 528 -64 ) ( -80 529 -64 ) ( -79 528 -64 ) __TB_empty 0 0 0 1 1
( -80 528 -64 ) ( -79 528 -64 ) ( -80 528 -63 ) __TB_empty 0 0 0 1 1
( -80 528 -64 ) ( -80 528 -63 ) ( -80 529 -64 ) __TB_empty 0 0 0 1 1
}
}
// entity 1
{
"classname" "info_player_start"
"origin" "0 -16 40"
}