News:

Come Chat with us live! Learn how HERE!

Main Menu

Builder/Attacker configs

Started by Dark-Shadow, May 27, 2007, 01:34:33 PM

Dark-Shadow

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?
// (eVo)DarkShadow || (eVo)Arkenion \\
Clan Homepage: http://www.evo-clan.eu.tc
Clan Movie:        http://youtube.com/watch?v=b4vwXKNqIA4&fmt=18

David

that shouldn't happen.
do you use vstr? if so, you'r probably running the wrong string somewhere.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Dark-Shadow

yes, i use vstr... shall i post my vstr config part?
// (eVo)DarkShadow || (eVo)Arkenion \\
Clan Homepage: http://www.evo-clan.eu.tc
Clan Movie:        http://youtube.com/watch?v=b4vwXKNqIA4&fmt=18

TinMan

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
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\

NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Dark-Shadow

ooh... ive read it several times and i think ill copy some things from your config ;)
thanks a lot!
// (eVo)DarkShadow || (eVo)Arkenion \\
Clan Homepage: http://www.evo-clan.eu.tc
Clan Movie:        http://youtube.com/watch?v=b4vwXKNqIA4&fmt=18

Dark-Shadow

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
Quoteseta 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:
Quoteseta 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 :(
// (eVo)DarkShadow || (eVo)Arkenion \\
Clan Homepage: http://www.evo-clan.eu.tc
Clan Movie:        http://youtube.com/watch?v=b4vwXKNqIA4&fmt=18

benmachine

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.
benmachine

Dark-Shadow

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 :- \
// (eVo)DarkShadow || (eVo)Arkenion \\
Clan Homepage: http://www.evo-clan.eu.tc
Clan Movie:        http://youtube.com/watch?v=b4vwXKNqIA4&fmt=18

zlou

Quote from: Dark-Shadowwell, 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.

Quoteset 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"
 lot of good work is lost by the lack of little more.