Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Help Adding Custom Gametypes

#1
Hello, I'm new to hosting a Xonotic server and I'm looking to add a few custom gametypes that can be voted on by players. This seems possible according to the server config file, but it's not clear to me what I need to do to actually get them working. I'm not looking to do anything revolutionary here, simply add a few gametypes which utilize standard mutations.
Reply

#2
"Gametypes" are CTF, DM, Duel, KH, Nexball and such. If you really wanted to add another gametype, then you need to mod the game, it is not so easy.

I think what you mean are game modifiers, such as g_nix or overkill. You can put those up for vote, e.g. "call vote XPM" and it will switch to XPM. But it will not show a menu for that at the end of a match.

This is explained here: https://gitlab.com/xonotic/xonotic/-/wik...rver-votes

This old server config I found makes use of this: https://git.teknik.io/antares/infinity_x...server.cfg

Don't forget that you can't wildly mix all the game modifiers, like overkill with nix mode hardly makes sense. So for each vote option you need to consider that and undo the modifiers that have already been voted for if they can't really be combined.
Visit our clan website: http://extreme.voltage.nz/
Reply

#3
It is possible to add custom "gamemodes" to the vote screen after each map: https://gitlab.com/xonotic/xonotic/-/blo...r.cfg#L101
We should probably extend the documentation for this.
Reply

#4
You can also type "apropos gametype" in the console, and it will search all cvars for that term and show them to you with explanation.

This way you will easily find sv_vote_gametype and other variables.
Visit our clan website: http://extreme.voltage.nz/
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] g_maplist for all voteable gametypes savale 3 2,023 03-31-2020, 02:26 PM
Last Post: savale
  Help needed with custom gametypes Notavi 4 2,566 07-29-2018, 07:22 AM
Last Post: Freddy
  Help for custom voteble commands KyMAN 4 3,658 05-01-2018, 11:37 AM
Last Post: morosophos
  Host custom maps on Google Drive sgtsob 3 3,410 10-27-2016, 12:05 AM
Last Post: sgtsob
  custom weapons cadrogui 2 4,091 05-28-2016, 08:43 PM
Last Post: cadrogui
  Adding maps to server BuddyFriendGuy 3 3,730 10-20-2015, 01:21 AM
Last Post: BuddyFriendGuy
  How having xonotic server to make client download custom characters' sounds? gabolander 7 8,091 01-25-2015, 07:43 PM
Last Post: gabolander
  Adding in map screen shots end user 5 4,324 08-04-2013, 08:45 PM
Last Post: end user
  Adding or replacing in game music? end user 5 4,915 03-07-2013, 03:27 PM
Last Post: Mr. Bougo
  adding custom maps acidbuddha 6 7,588 09-25-2012, 12:48 PM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-