Commit 17181d75 authored by dylan grafmyre's avatar dylan grafmyre
Browse files

remember how to ipc

parent fb92f545
......@@ -177,6 +177,7 @@ maps/%.bsp: %.bsp
$(SHLEX_BIN) $(SHLEX_FLAGS) $(SHLEX_HL2LOG_FLAGS) \
"'$(GAME_DIR)$(GAME)'" -allowdebug $(VBIN_FLAGS) $(GAME_FLAGS) $(GAME_TTT_FLAGS) \
+sv_cheats 1 +nav_edit 1 +map navgen
# todo: check "$(MOD_DIR)/data/runme.txt" for content "ng_f", to trigger kill hl2.exe
cp -v "$(MOD_DIR)/maps/navgen.nav" $@
rm -v \
"$(MOD_DIR)/lua/autorun/runme.lua" \
......
......@@ -14,9 +14,13 @@ local function main()
return
end
if state == 'ng_2' then
print( "nav_generate:main: write state ..." )
file.Write('runme.txt', 'ng_f')
print( "nav_generate:main: write state ... done " )
print( "nav_generate:main: manual tasks: ['quit']" )
return
end
print( "nav_generate:main:unhandled state: " + string_repr(state) )
print( "nav_generate:main: unhandled state: " + string_repr(state) )
print( "nav_generate:main: manual tasks: ['quit']" )
end
timer.Simple( 2, main )
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