News:

Come Chat with us live! Learn how HERE!

Main Menu

Please help with .cfg files

Started by l0ne, April 30, 2015, 01:49:27 AM

l0ne

I have tried to use .cfg commands with Tremulous 1.2 on Windows. Here's what I did:

     I created the files autogen.cfg, human.cfg, and alien.cfg

autogen.cfg
bind - "team humans; exec alien.cfg"
bind = "team aliens; exec human.cfg"


human.cfg
// Spawning
bind j "class rifle
bind k "class ackit; wait; class ckit"

// Weapons
bind 1 "sell all; buy rifle; buy helmet; buy larmor"
bind 2 "sell all; buy rifle; buy helmet; buy larmor; buy jetpack"
bind 3 "sell all; buy lcannon; buy helmet; buy larmor; buy battpack"
bind 4 "sell all; buy lcannon; buy helmet; buy larmor; buy jetpack"
bind 5 "sell all; buy lgun; buy helmet; buy larmor; buy battpack"
bind 6 "sell all; buy lgun; buy helmet; buy larmor; buy jetpack"
bind 9 "sell all; buy ackit; wait; buy ckit"
bind 0 "sell all; buy rifle"

// Teams
bind - "exec alien.cfg"
bind = "exec human.cfg"


alien.cfg
I haven't done anything with the alien text yet

I go into tremulous onto the AA2 server. I hit "-" and I go into the "Human" team as so. When I hit "j" to spawn as a rifle class, it does NOTHING

I've seen someone with near the same error (not exactly) and he said he did /exec human.cfg, so I tried it and here is what I got.

/exec human.cfg
Couldn't exec human.cfg


I don't know what these files do, and how they work. All I know basically is how to make the binds and vaguely how to use these .cfg files
If you're looking for me, look on AA2.
My name is l0ne and humans is my game.
Yeah... Run dretch run!

DarkMicrobe

My dear sir, "couldn't exec <file>" means that your .cfg files aren't in the correct location.
Move them to the same location that the autogen.cfg is in. Also why have a bind that puts you in aliens but executes human binds? and aren't the aa2 servers on 1.1? anyways I've made a guide on binding some time ago (for gpp but it's probably useful none the less) It might be useful to read trough: http://new-edge.org/forum/showthread.php?tid=494

l0ne

Quote from: DarkMicrobe on April 30, 2015, 11:08:38 AM
My dear sir, "couldn't exec <file>" means that your .cfg files aren't in the correct location.
Move them to the same location that the autogen.cfg is in. Also why have a bind that puts you in aliens but executes human binds? and aren't the aa2 servers on 1.1? anyways I've made a guide on binding some time ago (for gpp but it's probably useful none the less) It might be useful to read trough: http://new-edge.org/forum/showthread.php?tid=494

Oh yeah. Sorry. I'm playing 1.1. And also the human.cfg file and the alien.cfg file are both in the base folder in tremulous. As for the flip flop THANK YOU for seeing that. I changed it so that it looks like this
autogen.cfg

bind - "team humans; exec human.cfg"
bind = "team aliens; exec alien.cfg"


I tried it immediately and it still won't work. Nothing from the human.cfg still won't work

As for the guide I'll get right to that
If you're looking for me, look on AA2.
My name is l0ne and humans is my game.
Yeah... Run dretch run!

l0ne

I noticed that where it said "humans.cfg" in the "terminal", it said humans

/exec human.cfg
Couldn't exec humans.cfg

I don't know if that is anything. So then I changed it so that each one was with an "s" at the end.
I did change the autogen.cfg to this:

autogen.cfg

bind - "team humans; exec humans.cfg"
bind = "team aliens; exec aliens.cfg"


Once again the other ones are these:

humans.cfg

//Spawning
bind j "class rifle
bind k "class ackit; wait; class ckit"

//Weapons
bind 1 "sell all; buy rifle; buy helmet; buy larmor"
bind 2 "sell all; buy rifle; buy helmet; buy larmor; buy jetpack"
bind 3 "sell all; buy lcannon; buy helmet; buy larmor; buy battpack"
bind 4 "sell all; buy lcannon; buy helmet; buy larmor; buy jetpack"
bind 5 "sell all; buy lgun; buy helmet; buy larmor; buy battpack"
bind 6 "sell all; buy lgun; buy helmet; buy larmor; buy jetpack"
bind 9 "sell all; buy ackit; wait; buy ckit"
bind 0 "sell all; buy rifle"

//Teams
bind - "exec aliens.cfg"
bind = "exec humans.cfg"


I haven't done anything with the aliens.cfg yet...

aliens.cfg

// Evolves
// Teams
bind - "exec aliens.cfg"
bind = "exec humans.cfg"
If you're looking for me, look on AA2.
My name is l0ne and humans is my game.
Yeah... Run dretch run!

/dev/humancontroller

works for me. though the details r weird: autogen.cfg binds "-" to "team humans; exec humans.cfg", but humans.cfg rebinds "-" to "exec aliens.cfg" !

l0ne

oh yeah... I'll change that.

But it is still saying

Couldn't exec humans.cfg

When I go from Spectators (autogen.cfg)
If you're looking for me, look on AA2.
My name is l0ne and humans is my game.
Yeah... Run dretch run!

/dev/humancontroller

Quote from: l0ne on May 04, 2015, 01:14:19 AM

Couldn't exec humans.cfg

ORLY. then humans.cfg in the WRONG directory. put it in the directory of the mod (eg., "gpp", "zombie") where u want to use the binds, or put it in "base" for use in all mods.

l0ne

Quote from: /dev/humancontroller on May 04, 2015, 07:07:46 AM
Quote from: l0ne on May 04, 2015, 01:14:19 AM

Couldn't exec humans.cfg

ORLY. then humans.cfg in the WRONG directory. put it in the directory of the mod (eg., "gpp", "zombie") where u want to use the binds, or put it in "base" for use in all mods.

The humans.cfg and the aliens.cfg are both in the base folder! Here's what's in the tremulous folder in Programs files (x86) and (See Attachments)
If you're looking for me, look on AA2.
My name is l0ne and humans is my game.
Yeah... Run dretch run!


ULTRA Random ViruS

Quote from: l0ne on May 02, 2015, 09:32:37 PM

//Spawning
bind j "class rifle
bind k "class ackit; wait; class ckit"

Not sure if you noticed this but you're missing a set of ""s

l0ne

Quote from: ULTRA Random ViruS on June 14, 2015, 02:57:24 AM
Quote from: l0ne on May 02, 2015, 09:32:37 PM

//Spawning
bind j "class rifle
bind k "class ackit; wait; class ckit"

Not sure if you noticed this but you're missing a set of ""s
That would be a problem...
I switched computers So I will have to do this all over again (the .cfg files) and hope to do it properly, and maybe it will work, but that's later...
If you're looking for me, look on AA2.
My name is l0ne and humans is my game.
Yeah... Run dretch run!