Author Topic: creating new levels help :\  (Read 3521 times)

CrAzY

  • Posts: 30
  • Turrets: +1/-6
creating new levels help :\
« on: July 11, 2008, 09:23:27 pm »
I used to know how to do this.. But I just cant remember :\
Question #1:
How do I edit the admin.dat 'Correctly' to make new admin levels AND assign server commands?  (this always messed up when I tried :( )

Question #2: (goes along with #1)
How do I add custom commands also and keep the original qvm command with it? (This always caused errors for me)

When I tried to make levels myself it said level was not defined, and when i added my own custom commands the qvm commands were lost.

Please help me fix this   :-\

Bomb

  • Guest
Re: creating new levels help :\
« Reply #1 on: July 11, 2008, 09:57:06 pm »
http://tjw.org/tremulous/ADMIN.txt

This helped me a lot. It might help you too.

[EDIT] Remember not to do it while the server is running or it might erase all your changes. If you have to do it like that, save the file immediately and then do !readconfig in the tremded console.
« Last Edit: July 11, 2008, 10:18:03 pm by Bomb »

CrAzY

  • Posts: 30
  • Turrets: +1/-6
Re: creating new levels help :\
« Reply #2 on: July 11, 2008, 10:53:48 pm »
Yeah this really helped me :P Now I know what went wrong.. I forgot what tags were lol

CrAzY

  • Posts: 30
  • Turrets: +1/-6
Re: creating new levels help :\
« Reply #3 on: July 12, 2008, 12:01:11 am »
Ok can anyone help here:
Code: [Select]
[level]
level   = -1
name    = ^2Wacthed
flags   = ah

[level]
level   = 0
name    = ^7Player
flags   = iahC

[level]
level   = 1
name    = ^1Registered
flags   = iahC

[level]
level   = 2
name    = ^6V.I.P
flags   = iahCpPm

[level]
level   = 3
name    = ^2Game Moderator
flags   = i1ahCpPkm

[level]
level   = 4
name    = ^3Trainee
flags   = ayhkimPC1490

[level]
level   = 5
name    = ^1Rouge
flags   = aychbkDimeVBPC14790!

[level]
level   = 6
name    = ^1Forsaken Rouge
flags   = aychkKbrDimeVBPC146790!

[level]
level   = 7
name    = ^2GLobal Moderator
flags   = aychkKbrsDimeVBPC1467890!

[level]
level   = 8
name    = ^5Dream Games Staff Member
flags   = *!

[level]
level   = 9
name    = ^4Forsaken Rouges Leader
flags   = *!

Now, I want to add these custom commands without anything going wrong:
Code: [Select]
[command]
command = practice
exec    = exec practice.cfg
desc    = Locks the server and puts a pass on it
levels  = 8 9
[command]
command = endpractice
exec    = exec endpractice.cfg
desc    = Ends practice mode
levels  = 7 8 9
[command]
command = ava
exec    = exec ava.cfg
desc    = Starts a TK war with aliens
levels  = 8 9
[command]
command = hvh
exec    = exec hvh.cfg
desc    = Starts a TK war with humans
levels  = 8 9
[command]
command = endwar
exec    = exec endwar.cfg
desc    = Ends any TK wars
levels  = 7 8 9
[command]
command = advirt
exec    = exec advirt.cfg
desc    = Advirtises the forums
levels  = 4 5 6 7 8 9
[command]
command = dreamgames
exec    = exec dreamgames.cfg
desc    = Advirtises Dream Games
levels  = 8 9

Do I just add it in there after the levels? I want to make sure before doing it.
« Last Edit: July 12, 2008, 12:03:30 am by CrAzY »

Bomb

  • Guest
Re: creating new levels help :\
« Reply #4 on: July 12, 2008, 02:48:02 am »
Yeah, add it after the levels. But just to be sure, I'd put a line break between the commands, like so:
Code: [Select]
[command]
command = practice
exec    = exec practice.cfg
desc    = Locks the server and puts a pass on it
levels  = 8 9

[command]
command = endpractice
exec    = exec endpractice.cfg
desc    = Ends practice mode
levels  = 7 8 9
And so on. I don't think this will actually change anything, but it does make it easier to read.

CrAzY

  • Posts: 30
  • Turrets: +1/-6
Re: creating new levels help :\
« Reply #5 on: July 12, 2008, 05:16:58 am »
thank you