Tremulous Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Come Chat with us live! Learn how
HERE!
Home
Help
Search
Login
Register
Tremulous Forum
»
Community
»
Servers
»
Custom Commands!
Print
Pages: [
1
]
Go Down
Author
Topic: Custom Commands! (Read 4233 times)
infestor1
Posts: 142
Turrets: +6/-28
Custom Commands!
«
on:
January 23, 2009, 04:18:23 am »
How can I make custom commands?
For example, if I typed /base, then I would return to my team's base?
Or if I typed !base.
That sort of thing...
Please let me know!
Logged
Quote from: Baconizer on July 31, 2009, 07:55:44 pm
Drama? Here?
I don't believe you.
Follow ATCS | Wonderland on Twitter
Paradox
Posts: 2612
Turrets: +253/-250
Re: Custom Commands!
«
Reply #1 on:
January 23, 2009, 05:56:44 am »
Edit the qvm
Logged
∧OMG ENTROPY∧
gimhael
Posts: 546
Turrets: +70/-16
Re: Custom Commands!
«
Reply #2 on:
January 23, 2009, 07:25:21 am »
Or if you are a beginner you could edit the source code and recompile instead of editing the qvm directly.
Logged
Lakitu7
Tremulous Developers
Posts: 1002
Turrets: +120/-73
Re: Custom Commands!
«
Reply #3 on:
January 23, 2009, 08:33:18 am »
In fact, outside of being a genius at hex editing, that would be the only way.
Logged
infestor1
Posts: 142
Turrets: +6/-28
Re: Custom Commands!
«
Reply #4 on:
January 24, 2009, 12:04:18 am »
Quote from: Paradox on January 23, 2009, 05:56:44 am
Edit the qvm
What is the qvm and how do I edit it?
Logged
Quote from: Baconizer on July 31, 2009, 07:55:44 pm
Drama? Here?
I don't believe you.
Follow ATCS | Wonderland on Twitter
David
Spam Killer
Posts: 3543
Turrets: +249/-273
Re: Custom Commands!
«
Reply #5 on:
January 24, 2009, 03:43:48 pm »
Download the source. Poke around in game/g_admin.c, and then compile.
Dump the new game.qvm over the one your server currently uses.
There are guides on compiling on windows around here.
Logged
Any maps not in the MG repo? Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone. I can't speak for anyone else, and there is no one who can speak for me. If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev. Nothing I say counts for anything.
Paradox
Posts: 2612
Turrets: +253/-250
Re: Custom Commands!
«
Reply #6 on:
January 25, 2009, 07:56:06 am »
Open the QVM in a hex editor, pick the line you like, and replace everything with F. If you do so correctly, and are the luckiest person in the world, you may just have a usable qvm.
Logged
∧OMG ENTROPY∧
David
Spam Killer
Posts: 3543
Turrets: +249/-273
Re: Custom Commands!
«
Reply #7 on:
January 25, 2009, 01:40:46 pm »
If you switch strings for strings of equal length, then you can get away with it.
Logged
Any maps not in the MG repo? Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone. I can't speak for anyone else, and there is no one who can speak for me. If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev. Nothing I say counts for anything.
Print
Pages: [
1
]
Go Up
Tremulous Forum
»
Community
»
Servers
»
Custom Commands!