Tremulous Forum

General => Troubleshooting => Topic started by: demonheadx on July 14, 2011, 05:05:40 am

Title: Need help with my cfg's for different binds. (gpp 1.2)
Post by: demonheadx on July 14, 2011, 05:05:40 am
Hey everyone,

Specs:
Windows 7
Gpp 1.2 w/ sagefault(http://code.google.com/p/segfault/wiki/Features)
Notepad++ (don't think that matters but what ever :P)
Ok the question,
What I am trying to do is separate my human and alien binds in different cfgs. Right now I have this on a line,
bind . "/exec humans.cfg"
but when I press "." I get "/exec is not a valid command." So what is a another way that I can do this?

Thanks for the help!
Title: Re: Need help with my cfg's for different binds. (gpp 1.2)
Post by: kharnov on July 14, 2011, 05:10:25 am
Take the / out.

"exec humans.cfg"
Title: Re: Need help with my cfg's for different binds. (gpp 1.2)
Post by: demonheadx on July 14, 2011, 05:12:06 am
Awesome Sauce!
That was simple :D
Thank you!
Title: Re: Need help with my cfg's for different binds. (gpp 1.2)
Post by: Meisseli on July 14, 2011, 05:16:45 am
I'd suggest that instead you type the following lines into console. This way you don't have to manually execute the configuration files, it's quite handily done automatically when you join a team.

Code: [Select]
/set cg_humanconfig "name_of_the_human_cfg.cfg"
/set cg_alienconfig "name_of_the_alien_cfg.cfg"
Title: Re: Need help with my cfg's for different binds. (gpp 1.2)
Post by: demonheadx on July 14, 2011, 05:25:19 am
That's even more awesome sauce! thank you for that.

I don't know too much about trem binding, I'm using the tremulous wiki(http://tremulous.net/wiki/Binding) for my binds.

Thank you again!
Title: Re: Need help with my cfg's for different binds. (gpp 1.2)
Post by: Kiwi on July 20, 2011, 05:04:17 am
If you are looking to expand your skills, I recommend taking a look at this tutorial (by Deadbeat Engineer) (http://tremulous.net/forum/index.php?topic=13675.0).  You should learn about strings and how to use them in conjunction with binds.  I also wrote an old and slightly outdated (and also cryptic) tutorial here (http://tremulous.net/forum/index.php?topic=10945.0).  If you have any questions, just ask.  (The 2nd link might be confusing, quite poorly written now that I look back.)