Too lazy to comment
This commit is contained in:
23
mod_mine/build.sh
Executable file
23
mod_mine/build.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
|
||||
ROOT=${DIR}/../
|
||||
|
||||
MAPNAME=start
|
||||
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 ${DIR}/maps
|
||||
${QBSP} ${IN} ${OUT}
|
||||
${VIS} -fast -level 4 -noambient ${OUT}
|
||||
${LIGHT} -bounce -soft -extra -extra4 ${OUT}
|
||||
popd
|
||||
|
||||
pushd ${ROOT}
|
||||
#./quakespasm-sdl2 +map ${MAPNAME}
|
||||
./quakespasm-sdl2 +game mod_mine
|
||||
popd
|
||||
Reference in New Issue
Block a user