Too lazy to comment
This commit is contained in:
21
working/build.sh
Executable file
21
working/build.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
|
||||
ROOT=${DIR}/../../
|
||||
|
||||
MAPNAME=zombietest
|
||||
IN=${MAPNAME}.map
|
||||
OUT=${MAPNAME}.bsp
|
||||
|
||||
TOOLS_DIR=${ROOT}/tools/ericw_tools
|
||||
QBSP=${TOOLS_DIR}/qbsp
|
||||
VIS=${TOOLS_DIR}/vis
|
||||
LIGHT=${TOOLS_DIR}/light
|
||||
|
||||
${QBSP} ${IN} ${OUT}
|
||||
${VIS} -fast -level 4 -noambient ${OUT}
|
||||
${LIGHT} -bounce -soft -extra -extra4 ${OUT}
|
||||
:
|
||||
pushd ${ROOT}
|
||||
./quakespasm-sdl2 +map ${MAPNAME}
|
||||
|
||||
popd
|
||||
Reference in New Issue
Block a user