Commit 51d626f6 authored by dylan grafmyre's avatar dylan grafmyre
Browse files

tune cubegen

parent fcd5fa51
......@@ -15,7 +15,7 @@ GAME?=hl2.exe
CONSOLE_LOG?=garrysmod/console.log
GAME_TTT_FLAGS?=+ttt_preptime_seconds 3 +ttt_firstpreptime 3 +gamemode terrortown +ttt_debug_preventwin 1
GAME_PLAY_FLAGS?=+mat_specular 1 +mat_hdr_level 2 $(GAME_TTT_FLAGS)
GAME_PLAY_FLAGS?=+mat_specular 1 +mat_hdr_level 1 $(GAME_TTT_FLAGS)
GAME_FLAGS?=-condebug
# gmod desktop ignores rcon listening
# -usercon +rcon_password runme
......@@ -153,8 +153,8 @@ maps/%.bsp: %.bsp
ln -f "$(word 1, $^)" "$(MOD_DIR)/maps/cubehdr.bsp"
./workarounds/buildcubemaps.exe &
$(SHLEX_BIN) $(SHLEX_FLAGS) $(SHLEX_HL2LOG_FLAGS) \
"'$(GAME_DIR)$(GAME)'" -allowdebug $(VBIN_FLAGS) $(GAME_FLAGS) $(GAME_TTT_FLAGS) +sv_cheats 1 \
+mat_specular 0 +mat_hdr_level 0 +map cubehdr
"'$(GAME_DIR)$(GAME)'" -allowdebug $(VBIN_FLAGS) $(GAME_FLAGS) $(GAME_TTT_FLAGS) \
+sv_cheats 0 +mat_hdr_level 2 +sv_cheats 1 +map cubehdr
rm -v "$(MOD_DIR)/maps/cubehdr.bsp"
# settle physics
......@@ -182,10 +182,10 @@ maps/%.bsp: %.bsp
"'$(GAME_DIR)$(GAME)'" -allowdebug $(VBIN_FLAGS) $(GAME_FLAGS) $(GAME_TTT_FLAGS) \
+sv_cheats 1 +nav_edit 1 +map navgen &
$(SHLEX_BIN) $(SHLEX_FLAGS) $(EPOLL_THEN_BIN) $(EPOLL_THEN_FLAGS) \
--literal ng_f --file "'$(MOD_DIR)/data/runme.txt'" --timeout-sec 1800 -- \
--literal ng_f --file "'$(MOD_DIR)/data/runme.txt'" --timeout-sec 900 -- \
taskkill -f -pid "`$(WINPGREP_BIN) $(WINPGREP_FLAGS) hl2.exe`"
# ^ watch "$(MOD_DIR)/data/runme.txt" for content "ng_f", when match: kill hl2.exe
# timeout: 30min
# timeout: 15min
cp -v "$(MOD_DIR)/maps/navgen.nav" $@
rm -v \
"$(MOD_DIR)/lua/autorun/runme.lua" \
......@@ -262,8 +262,8 @@ publish: addons/ttt_terrorcon_v2_hdr_final.gma
# custom rules
.DEFAULT: all
all: lint addons/ttt_terrorcon_v2_hdr_final.gma ttt_terrorcon_v2_hdr_final.game-mount
fast: lint maps/ttt_terrorcon_v2_fast.bsp ttt_terrorcon_v2_fast.game
all: lint addons/ttt_terrorcon_v2_hdr_final.gma
fast: lint mount-dev maps/ttt_terrorcon_v2_fast.bsp ttt_terrorcon_v2_fast.game
# use mount-dev instead
#install-bsp: maps/ttt_terrorcon_v2_hdr_final.bsp maps/thumb/ttt_terrorcon_v2_hdr_final.png
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment