Tremulous Forum
Community => Servers => Topic started by: infestor1 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!
-
Edit the qvm
-
Or if you are a beginner you could edit the source code and recompile instead of editing the qvm directly.
-
In fact, outside of being a genius at hex editing, that would be the only way.
-
Edit the qvm
What is the qvm and how do I edit it?
-
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.
-
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.
-
If you switch strings for strings of equal length, then you can get away with it.