Author Topic: Need help with my cfg's for different binds. (gpp 1.2)  (Read 2787 times)

demonheadx

  • Posts: 13
  • Turrets: +0/-2
Need help with my cfg's for different binds. (gpp 1.2)
« 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!

kharnov

  • Spam Killer
  • *
  • Posts: 626
  • Turrets: +47/-791
    • Unvanquished
Re: Need help with my cfg's for different binds. (gpp 1.2)
« Reply #1 on: July 14, 2011, 05:10:25 am »
Take the / out.

"exec humans.cfg"

demonheadx

  • Posts: 13
  • Turrets: +0/-2
Re: Need help with my cfg's for different binds. (gpp 1.2)
« Reply #2 on: July 14, 2011, 05:12:06 am »
Awesome Sauce!
That was simple :D
Thank you!

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Need help with my cfg's for different binds. (gpp 1.2)
« Reply #3 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"

demonheadx

  • Posts: 13
  • Turrets: +0/-2
Re: Need help with my cfg's for different binds. (gpp 1.2)
« Reply #4 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!

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Need help with my cfg's for different binds. (gpp 1.2)
« Reply #5 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).  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.  If you have any questions, just ask.  (The 2nd link might be confusing, quite poorly written now that I look back.)