Tremulous Forum
Community => Servers => Topic started by: robert on June 21, 2007, 05:04:06 am
-
is there any way to make rcon commands so they are admin commands like !gravity 500
if so then how i need a guide to do it
-
hmm yea here are some commands here. If you dont understand how to do them. I am not going to explain here at the moment. I am about to leave for work, so someone else may beat me to it. So here are commands.
Check that link.
http://mercenariesguild.net/index.php?option=com_openwiki&Itemid=46&id=wiki:admin_commands
-
And here (http://www.mercenariesguild.net/component/option,com_openwiki/Itemid,12/id,making_tjw_admin_commands/lang,en/) is the docs on how to create them :)
-
I think that he means admin commands that have arguements, like the new !restart command, in which you can do !restart switchteams and !restart keepteams.
I would like very much to be able to do this as well.
-
He means commands that do this
Player: !Gravity 500
Server: Gravity has been changed to 500
that what he means... and yea thats pretty easy!
-
oh? easy?
if so, would you care to explain how?
-
Instead of asking him to explain, why don't you.
And it is quite easy, I have read over most of the MG guides on those topics. I couldn't tell you how to do it right now. I'm not a server op and I haven't read through MG's guides for a while, but I do remember that they're easy.
Just because you know something is easy, doesn't mean you know or remember how to do it.
-
Instead of asking him to explain, why don't you.
And it is quite easy, I have read over most of the MG guides on those topics. I couldn't tell you how to do it right now. I'm not a server op and I haven't read through MG's guides for a while, but I do remember that they're easy.
Just because you know something is easy, doesn't mean you know or remember how to do it.
david can't explain it and neither can evlesoa, because it's not possible without compiling a custom game.qvm
-
Making an admin command? You sure about that?
-
Making an admin command? You sure about that?
Tuple posted the link on how to make admin commands.
What the OP wants is an admin command that accepts arguments. Im guessing this is what requires a custom qvm.
-
Or he could make an admin command for every variable.
That'd be a tad tedious, though.
-
Wha.. You can make admin commands with variables?! (I.e.: !gravity 400 and !gravity 500 will both set the gravity to those integers)
Also, I have compiled a game.qvm from SVN, how would I patch it / make a patch that would allow commands such as this with arguements?
-
ty oblivion and tuple they worked
-
Death on Ice:
I know of no way to get an admin command to accept a variable from the command line. I don't think its possible to create one without some patch to the source. TBO I have less than no idea what that would entail.
Others(you know who you are): If you don't know what you are talking about, it's best not to open your mouth and let everyone know.
-
Also, I have compiled a game.qvm from SVN, how would I patch it / make a patch that would allow commands such as this with arguements?
Look at the diff for tjw's version, see how he added things like !map.
-
ty oblivion and tuple they worked
No problem man.