setting up config folder

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Post Reply
tk1SickO
Posts: 25
Joined: Sat Apr 03, 2004 1:28 pm

setting up config folder

Post by tk1SickO »

i have a set of configs in a folder inside my etmain, but how can a run them?

C:/program files/enemy territory/etmain/config/configname

but what command do i type in console to run these?
nihilist
Posts: 30
Joined: Sun Nov 28, 2004 1:52 pm

Re: setting up config folder

Post by nihilist »

tk1SickO wrote:C:/program files/enemy territory/etmain/config/configname
exec config/configname.cfg
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Re: setting up config folder

Post by KingJackaL »

nihilist wrote:
tk1SickO wrote:C:/program files/enemy territory/etmain/config/configname
exec config/configname.cfg
(the .cfg is optional)
User avatar
deej
Posts: 743
Joined: Fri Mar 19, 2004 12:44 am
Location: Belgium!
Contact:

Post by deej »

really? I thought it was only for "config <file.config>" but not for exec.
Our servers now run on 64 bit steroids. Point your ET to:
- Forgotten Ground StopWatch Server with occasional wolfrof 1
- Fraggle Rock ETPub Server - Mix up ET/UT & Duke Nukem
DG
Posts: 513
Joined: Thu Jul 24, 2003 4:16 am

Post by DG »

nah its optional aslong as the file is .cfg

you can exec .txt's but then you do have to specify the extension.
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

please don't confuse .config files with .cfg files. They are completely different. It looks like the original poster is talking about .cfg files, but it isn't completely clear.
send lawyers, guns and money
tk1SickO
Posts: 25
Joined: Sat Apr 03, 2004 1:28 pm

Post by tk1SickO »

yea im talking about .cfg files, the 1st reply works, but how would i set this up for semi admins to exec the files? thanks

/sa ____________
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

just wondering why you set them up in a .config folder???? .cfg files generally go in the /etpro or /etmain directory... the etpro/config folder is generally meant for .config files

for semiadmins to beable to execute them just give the semiadmin the exec ability
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
tk1SickO
Posts: 25
Joined: Sat Apr 03, 2004 1:28 pm

Post by tk1SickO »

i wanted a special set of configs to be in their own folder (organization) so that semi admins can change gravity and such without rcon, so all thats in these small cfg's is like: "g_gravity 400" and thats it.
User avatar
gotenks
Posts: 3465
Joined: Fri Nov 15, 2002 4:12 pm
Location: out of my mind
Contact:

Post by gotenks »

ah, organization... pfff who needs that... :lol:
My Website
Image
After a night of binge drinking:
=FF=im2good4u wrote:WTF wanst i on top ?
Aragorn
Posts: 25
Joined: Tue Nov 16, 2004 5:21 am

Post by Aragorn »

you can also call a config as a ref..

/ref config "configname"

it wil load the configs in the map that you say..
maybe that's what your searching for?
Grtz Ara
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

Aragorn wrote:you can also call a config as a ref..

/ref config "configname"

it wil load the configs in the map that you say..
maybe that's what your searching for?
Again, that is a .config not a .cfg :?
send lawyers, guns and money
tk1SickO
Posts: 25
Joined: Sat Apr 03, 2004 1:28 pm

Post by tk1SickO »

so what if i name all the files .config?
DG
Posts: 513
Joined: Thu Jul 24, 2003 4:16 am

Post by DG »

that'd still have to be in the .config format, syntax or whatever it's called

but, you should probably be able to edit away to sort that without too much hassle (just download some league's .config and see how the formatting works, or mebbie try here. the pub/comp vote sneakiness might suit you too.
User avatar
KingJackaL
Posts: 666
Joined: Thu Jan 08, 2004 3:47 pm
Location: ChCh, NZ
Contact:

Post by KingJackaL »

The only way to let semi-admins run those .cfg's, is by adding 'exec' to their commands/cvars list.

Code: Select all

b_semiAdminCmds1 = "exec"
...for example, allows logged in level 1 semiadmins (if they have a password set) to use the exec command. They would then use that like so:

Code: Select all

/sa exec path/filename.cfg
However, that's kinda overkill, as they can of course use exec for ANY .cfg anywhere in your ET install - even if you don't want them execing that.
Post Reply