Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change game to instagib through client?

#1
Hey everyone... I'm trying to set up a dedicated server at home and would like to be able to change the game to instagib without updating the server.cfg file and restarting the dedicated server.

When I type vcall gib into the client it says vote accepted but nothing changes.

I would prefer if people could vote on it like the game types and maps but I'll take a simple command if it's possible. Thanks!
Reply

#2
You need to define "gib" in your server.cfg. Something like this would do the trick:
alias gib "g_instagib 1; say ^2InstaGib will be active in the next match!"

You'll also probably want a vote to turn it off:
alias nogib "g_instagib 0; say ^2InstaGib will be off in the next match!"



It is possible to make it votable like the game types, but that takes a bit more setup, and only works on a single game type...

set sv_vote_gametype_instactf_type ctf
set sv_vote_gametype_instactf_name "InstaGib CTF"
set sv_vote_gametype_instactf_description "Capture the Flag mode with the InstaGib mutator"
alias sv_vote_gametype_hook_instactf "g_instagib 1"
alias sv_vote_gametype_hook_all "g_instagib 0" // this one is needed, since these settings aren't temporary

Then you would add "instactf" to the sv_vote_gametype_options cvar.
[Image: 230.png]
Reply

#3
Thanks Mario.... that solved my problem!!!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Big Grin Is it possible to change bot names from console, without changing bots.txt? YottaMxt 0 404 11-12-2022, 07:57 PM
Last Post: YottaMxt
  LAN game possible? daveasdf222 2 1,535 05-19-2022, 08:07 AM
Last Post: agvant1b0
  Game servers in Kazakhstan. Mysyk 4 2,922 07-17-2020, 09:38 AM
Last Post: Mysyk
  How to modify the instagib mod/mutator sonotic 3 1,886 01-11-2020, 05:19 PM
Last Post: sonotic
  How to change server cfg on modified server veecho 4 3,525 04-24-2019, 08:15 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Change Player Speed, and Disable Bunny Hops 3agle427 1 1,953 12-29-2018, 09:38 AM
Last Post: 3agle427
  Local LAN Xonotic game server player Stats animatedjay 3 3,814 11-23-2018, 12:38 AM
Last Post: BuddyFriendGuy
  Why game mode menu is not showing at the end of match? marataziat 1 1,885 08-04-2018, 09:03 AM
Last Post: martin-t
  [NEED HELP] Change Teamplay Colors from Red vs Blue Antares* 0 2,379 04-12-2018, 07:44 PM
Last Post: Antares*
  [NEED HELP] Game types | Tipos de juego [Votable] KyMAN 10 4,376 08-31-2017, 08:08 AM
Last Post: KyMAN

Forum Jump:


Users browsing this thread:
1 Guest(s)

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