Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thorsummoner
ttt_terrorcon
Commits
17181d75
Commit
17181d75
authored
Sep 18, 2021
by
dylan grafmyre
Browse files
remember how to ipc
parent
fb92f545
Changes
2
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
17181d75
...
@@ -177,6 +177,7 @@ maps/%.bsp: %.bsp
...
@@ -177,6 +177,7 @@ maps/%.bsp: %.bsp
$(SHLEX_BIN)
$(SHLEX_FLAGS)
$(SHLEX_HL2LOG_FLAGS)
\
$(SHLEX_BIN)
$(SHLEX_FLAGS)
$(SHLEX_HL2LOG_FLAGS)
\
"'
$(GAME_DIR)$(GAME)
'"
-allowdebug
$(VBIN_FLAGS)
$(GAME_FLAGS)
$(GAME_TTT_FLAGS)
\
"'
$(GAME_DIR)$(GAME)
'"
-allowdebug
$(VBIN_FLAGS)
$(GAME_FLAGS)
$(GAME_TTT_FLAGS)
\
+sv_cheats 1 +nav_edit 1 +map navgen
+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
"
$@
cp -v "
$(MOD_DIR)
/maps/navgen.nav
"
$@
rm -v
\
rm -v
\
"
$(MOD_DIR)
/lua/autorun/runme.lua
"
\
"
$(MOD_DIR)
/lua/autorun/runme.lua
"
\
...
...
lua/nav_generate.lua
View file @
17181d75
...
@@ -14,9 +14,13 @@ local function main()
...
@@ -14,9 +14,13 @@ local function main()
return
return
end
end
if
state
==
'ng_2'
then
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']"
)
print
(
"nav_generate:main: manual tasks: ['quit']"
)
return
return
end
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
end
timer
.
Simple
(
2
,
main
)
timer
.
Simple
(
2
,
main
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment