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
  Noob needs help running server. CORDUROY 3 6,925 07-01-2021, 02:31 PM
Last Post: CORDUROY
  [NEED HELP] g_maplist for all voteable gametypes savale 3 2,869 03-31-2020, 02:26 PM
Last Post: savale
  Help needed with custom gametypes Notavi 4 3,137 07-29-2018, 07:22 AM
Last Post: Freddy
  Help for custom voteble commands KyMAN 4 4,407 05-01-2018, 11:37 AM
Last Post: morosophos
  Host custom maps on Google Drive sgtsob 3 3,872 10-27-2016, 12:05 AM
Last Post: sgtsob
  custom weapons cadrogui 2 4,634 05-28-2016, 08:43 PM
Last Post: cadrogui
  Need Server help! Beagle 3 3,132 04-27-2016, 02:29 PM
Last Post: Beagle
  Adding maps to server BuddyFriendGuy 3 4,218 10-20-2015, 01:21 AM
Last Post: BuddyFriendGuy
  How having xonotic server to make client download custom characters' sounds? gabolander 7 9,369 01-25-2015, 07:43 PM
Last Post: gabolander
  [SOLVED] Need help for serverconfiguration diddi 0 2,074 02-26-2014, 10:21 AM
Last Post: diddi

Forum Jump:


Users browsing this thread:
2 Guest(s)

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