Tremulous Forum
General => Troubleshooting => Topic started by: Dark-Shadow on May 27, 2007, 01:34:33 pm
-
hey there.
i thought i could create 2 configs on each side. one as a granger/builder and the other one as a dretch/rifler. good thing about that is, that i can bind 3 to build turret or to buy MD. well, it works well so far, but i got one problem:
when im granger, i have 3 evos and i want to exec dretch.cfg, my granger automatically evolves to the highest reachable class (would be mara here, if not s1). same as human, if im builder near an arm and exec rifle.cfg, itll buy the last weapon that is bound. ---> it runs all the commands from the config. now the question:
-how can i load the config without running the commands in it?
-
that shouldn't happen.
do you use vstr? if so, you'r probably running the wrong string somewhere.
-
yes, i use vstr... shall i post my vstr config part?
-
My config is a builder and fighter both in the same config with vstrs.
Check it out:
http://neonpulse.net/files/games/tremulous/base/autoexec.cfg
-
ooh... ive read it several times and i think ill copy some things from your config ;)
thanks a lot!
-
nov i've got another question >.<
@tinman:
i copied your builder/fighter config part and it works pretty well so far.
but in former times i used
seta blah1 "sell weapons;buy rifle;bind 1 vstr blah2"
seta blah2 "sell weapons;buy ackit;buy ckit;bind 1 vstr blah1;wait 90;bind 1 vstr blah2"
vstr blah1
but that doesnt work anymore :( i want like 2 weapons bound on one key..
what i entered is:
seta battjet1 "sell upgrades;buy jetpack;buy helmet;buy larmour;set h1 vstr battjet2"
seta battjet2 "sell upgrades;buy larmour;buy helmet;set h1 vstr battjet1;wait 90;set h1 vstr battjet2"
vstr battjet1
the first time i press it, it works. i buy larmour and helmet. but when i press it a second time, it doesnt work anymore :(
-
I've come up against the same problem - notice in your example you are using set, not bind. For some reason, the latter works but not the former. In the first example you gave the command is bound directly to a key rather than set to a vstr - this is what you need to do.
-
well, when i entered the thing with set, it worked once, but when i pressed it twice it didnt work. with the first example (bind) it didnt work at all :- \
-
well, when i entered the thing with set, it worked once, but when i pressed it twice it didnt work. with the first example (bind) it didnt work at all :- \
This worked for me. Press "k" once to get fighter equipment, double tap "k" to get builder equipment.
set fighter "sell weapons;sell upgrades;buy larmour;buy helmet;buy rifle;bind k "vstr builder"; wait 90; bind k "vstr "fighter"
set builder "sell weapons;sell upgrades;buy ackit; buy ckit;buy larmour;buy helmet;bind k "vstr fighter"
bind k "vstr fighter"