!command codes

Page 1 of 2 1, 2  Next

View previous topic View next topic Go down

!command codes

Post  swamp-cecil on Fri Nov 05, 2010 7:41 pm

so, i want to make my own commands for the server, so can i have a copy of the file with all the !commands of the GBA server so i can make my own and use these as a base?

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  The Hovel Humper on Fri Nov 05, 2010 10:03 pm

swamp-cecil wrote:so, i want to make my own commands for the server, so can i have a copy of the file with all the !commands of the GBA server so i can make my own and use these as a base?


Simple, they're used in the admin.dat and if you had that you would also have all our GUIDS. If you want a tutorial there are plenty around.

_________________



The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts: 1043
Join date: 2010-07-26
Age: 18
Location: Keeping the glameows away from my maras

View user profile

Back to top Go down

Re: !command codes

Post  swamp-cecil on Fri Nov 05, 2010 11:35 pm

which is where? :>_>:

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  The Hovel Humper on Fri Nov 05, 2010 11:39 pm

Gah, Copied and pasted from: http://tremulous.net/wiki/Server_guide

Adding simple admin commands is easy. Chances are you've already stumbled on a guide that tells you how to do this, but I'll write one here anyway.

Note that you can't add arguments to admin commands. If you want to create a command that slaps and mutes a specified player to death, you're out of luck. You'll have to compile the QVM yourself or get someone to do it for you.

Here is a sample admin command you could add to admin.dat:

[command]
command = ubp
exec = set g_alienbuildpoints 999999999; set g_humanbuildpoints 999999999; cp ^2Unlimited buildpoints!
desc = Enables unlimited buildpoints.
flag = ubp
This gives both teams 999999999 buildpoints (which is basically equal to infinity in Tremulous) and announces it to everyone in green text. You would use it by typing !ubp in the console, and it's only available to levels 6 and 7. The command's description is “Enables unlimited buildpoints.”

You could also clean up the command by changing exec to “exec ubp.cfg”. You would then create a script called “ubp.cfg” containing the following commands, and save it to your_tremulous_folder/base. set g_alienbuildpoints 999999999 set g_humanbuildpoints 999999999 cp ^2Unlimited buildpoints!

_________________



The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts: 1043
Join date: 2010-07-26
Age: 18
Location: Keeping the glameows away from my maras

View user profile

Back to top Go down

Re: !command codes

Post  swamp-cecil on Fri Nov 05, 2010 11:44 pm

The Hovel Humper wrote:Gah, Copied and pasted from: http://tremulous.net/wiki/Server_guide

Adding simple admin commands is easy. Chances are you've already stumbled on a guide that tells you how to do this, but I'll write one here anyway.

Note that you can't add arguments to admin commands. If you want to create a command that slaps and mutes a specified player to death, you're out of luck. You'll have to compile the QVM yourself or get someone to do it for you.

Here is a sample admin command you could add to admin.dat:

[command]
command = ubp
exec = set g_alienbuildpoints 999999999; set g_humanbuildpoints 999999999; cp ^2Unlimited buildpoints!
desc = Enables unlimited buildpoints.
flag = ubp
This gives both teams 999999999 buildpoints (which is basically equal to infinity in Tremulous) and announces it to everyone in green text. You would use it by typing !ubp in the console, and it's only available to levels 6 and 7. The command's description is “Enables unlimited buildpoints.”

You could also clean up the command by changing exec to “exec ubp.cfg”. You would then create a script called “ubp.cfg” containing the following commands, and save it to your_tremulous_folder/base. set g_alienbuildpoints 999999999 set g_humanbuildpoints 999999999 cp ^2Unlimited buildpoints!


TY, but i would like to the other commands listed from the GBA server as i do not own that admin.dat file plz.

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  The Hovel Humper on Sat Nov 06, 2010 12:07 am

None are new. Why would you need them...

_________________



The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts: 1043
Join date: 2010-07-26
Age: 18
Location: Keeping the glameows away from my maras

View user profile

Back to top Go down

Re: !command codes

Post  Pkmmte on Sat Nov 06, 2010 12:53 am

I remember that someone uploaded an admin.dat with the GUIDs to the repo right after I made the map uploader. I have no idea who but that was unexpected. (I deleted it from the repo right after I saw and downloaded it.) Very Happy

Pkmmte
Dragoon
Dragoon

Posts: 340
Join date: 2010-08-05
Age: 16
Location: Find me on facebook...

View user profile

Back to top Go down

Re: !command codes

Post  swamp-cecil on Sat Nov 06, 2010 12:56 am

Pkmmte wrote:I remember that someone uploaded an admin.dat with the GUIDs to the repo right after I made the map uploader. I have no idea who but that was unexpected. (I deleted it from the repo right after I saw and downloaded it.) Very Happy


PLEASE

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  Pkmmte on Sat Nov 06, 2010 1:01 am

swamp-cecil wrote:
Pkmmte wrote:I remember that someone uploaded an admin.dat with the GUIDs to the repo right after I made the map uploader. I have no idea who but that was unexpected. (I deleted it from the repo right after I saw and downloaded it.) Very Happy


PLEASE


Sorry but you need permission from Glameow or Bor first. Razz

Pkmmte
Dragoon
Dragoon

Posts: 340
Join date: 2010-08-05
Age: 16
Location: Find me on facebook...

View user profile

Back to top Go down

Re: !command codes

Post  Bor. on Sat Nov 06, 2010 2:13 am

More useless commands to spam the global chat with !cp stuff? No, thanks.

Bor.
Bouncing Granger!
Bouncing Granger!

Posts: 971
Join date: 2010-07-26
Age: 16
Location: Germany

View user profile http://grangersba.forummotion.com

Back to top Go down

Re: !command codes

Post  The Hovel Humper on Sat Nov 06, 2010 3:13 am

F1 Agreed XD

_________________



The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts: 1043
Join date: 2010-07-26
Age: 18
Location: Keeping the glameows away from my maras

View user profile

Back to top Go down

Re: !command codes

Post  swamp-cecil on Sat Nov 06, 2010 3:16 am

no. ill make stuff like !Bubbles and stuff to do with .particle and .trail.

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  Pkmmte on Sat Nov 06, 2010 3:35 am

swamp-cecil wrote:no. ill make stuff like !Bubbles and stuff to do with .particle and .trail.

Awesome!! (Bor, please let him do so Sad )

Pkmmte
Dragoon
Dragoon

Posts: 340
Join date: 2010-08-05
Age: 16
Location: Find me on facebook...

View user profile

Back to top Go down

Re: !command codes

Post  KingNickolas on Sat Nov 06, 2010 3:41 am

I agree, i'd like to see that.

We should make a system where the spectators can be seen.

KingNickolas
Bouncing Granger!
Bouncing Granger!

Posts: 1695
Join date: 2010-07-29
Age: 99
Location: Dead, just for luis.

View user profile

Back to top Go down

Re: !command codes

Post  swamp-cecil on Sat Nov 06, 2010 3:50 am

kingnickolas wrote:I agree, i'd like to see that.

We should make a system where the spectators can be seen.


thats...dificult coding. can we move the max hovels from 1 --> 3?

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  The Hovel Humper on Sat Nov 06, 2010 10:35 am

Weve already had a topic about spec models. It failed.

Mainly due to the fact that if you follow a lisk or are close you'll give it away

On the other hand, swamp. if you want all the stuff for the game.qvm I suggest you check here and get one of the tarballs which will look like this: korx032_r425.tar.bz2

_________________



The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts: 1043
Join date: 2010-07-26
Age: 18
Location: Keeping the glameows away from my maras

View user profile

Back to top Go down

Re: !command codes

Post  $$Luis$$ on Sat Nov 06, 2010 5:23 pm

damn i want a !$$Luis$$ command XD hmm the effect errr ima think of it

$$Luis$$
Tyrant
Tyrant

Posts: 413
Join date: 2010-07-26
Age: 17
Location: North HollyWood, CA

View user profile

Back to top Go down

Re: !command codes

Post  KingNickolas on Sat Nov 06, 2010 6:29 pm

No, what i meant was a particle system that will trail a spectator that's not annoying. Once they start to spec somebody, they need to take it off. If they don't, then they get a !switchteam, or their system admin can turn it off. Idk, I'm just tired of not being able to see the ghost that's stalking me.
Besides, it's a fairly more simple idea then adding a whole model, which would require editing the game.qvm.

KingNickolas
Bouncing Granger!
Bouncing Granger!

Posts: 1695
Join date: 2010-07-29
Age: 99
Location: Dead, just for luis.

View user profile

Back to top Go down

Re: !command codes

Post  {Z}BlAdE on Mon Nov 08, 2010 11:58 am

swamp-cecil wrote:TY, but i would like to the other commands listed from the GBA server as i do not own that admin.dat file plz.
Not no, not even hell no... BUT FU** NO! I didn't even want Hovel, Glame or Bor. to have my GUID, but I guess it was a given that they would. If you give it, the world is damned. Seriously, I would trust a squirrel before you...

{Z}BlAdE
Tyrant
Tyrant

Posts: 394
Join date: 2010-08-08
Age: 15
Location: Texas, U.S.A.

View user profile

Back to top Go down

Re: !command codes

Post  GLAMEOW on Mon Nov 08, 2010 6:06 pm

i may try to edit the qvm and add some stuff... i already added a command, but i gotta compile and test it

_________________

GLAMEOW
Pokémon FTW
Pokémon FTW

Posts: 841
Join date: 2010-07-26
Age: 22
Location: Keeping the maras away from my chickens

View user profile

Back to top Go down

Re: !command codes

Post  swamp-cecil on Mon Nov 08, 2010 9:30 pm

after glam gave me the codes, i GTFO'ed and left the coding to glamser. way to dificult.

swamp-cecil
Granger
Granger

Posts: 546
Join date: 2010-09-14
Age: 14
Location: Keeping the PKs away from my Caulk

View user profile

Back to top Go down

Re: !command codes

Post  GLAMEOW on Mon Nov 08, 2010 10:31 pm

learn a little C and you'll be fine

_________________

GLAMEOW
Pokémon FTW
Pokémon FTW

Posts: 841
Join date: 2010-07-26
Age: 22
Location: Keeping the maras away from my chickens

View user profile

Back to top Go down

Re: !command codes

Post  The Hovel Humper on Tue Nov 09, 2010 7:22 am

GLAMEOW wrote:learn a little C and you'll be fine


Hmmm, can you try to compile mine for me?

I tried and I got an error (twice). All the files are there.

_________________



The Hovel Humper
Bouncing Granger!
Bouncing Granger!

Posts: 1043
Join date: 2010-07-26
Age: 18
Location: Keeping the glameows away from my maras

View user profile

Back to top Go down

Re: !command codes

Post  GLAMEOW on Tue Nov 09, 2010 12:44 pm

i gotta get the right shit to do the compiling, i'll let you know when i'm ready

_________________

GLAMEOW
Pokémon FTW
Pokémon FTW

Posts: 841
Join date: 2010-07-26
Age: 22
Location: Keeping the maras away from my chickens

View user profile

Back to top Go down

Re: !command codes

Post  $$Luis$$ on Wed Nov 10, 2010 12:58 am

hey glameow, i want my !$$Luis$$ command the effect is that everyone dies, like with !detonate

$$Luis$$
Tyrant
Tyrant

Posts: 413
Join date: 2010-07-26
Age: 17
Location: North HollyWood, CA

View user profile

Back to top Go down

Page 1 of 2 1, 2  Next

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum