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
  Local LAN Xonotic game server player Stats animatedjay 5 4,231 03-23-2023, 02:23 PM
Last Post: FAF
Big Grin Is it possible to change bot names from console, without changing bots.txt? YottaMxt 0 507 11-12-2022, 07:57 PM
Last Post: YottaMxt
  LAN game possible? daveasdf222 2 3,179 05-19-2022, 08:07 AM
Last Post: agvant1b0
  Game servers in Kazakhstan. Mysyk 4 3,153 07-17-2020, 09:38 AM
Last Post: Mysyk
  How to modify the instagib mod/mutator sonotic 3 2,018 01-11-2020, 05:19 PM
Last Post: sonotic
  How to change server cfg on modified server veecho 4 3,711 04-24-2019, 08:15 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Change Player Speed, and Disable Bunny Hops 3agle427 1 2,035 12-29-2018, 09:38 AM
Last Post: 3agle427
  Why game mode menu is not showing at the end of match? marataziat 1 1,976 08-04-2018, 09:03 AM
Last Post: martin-t
  [NEED HELP] Change Teamplay Colors from Red vs Blue Antares* 0 2,470 04-12-2018, 07:44 PM
Last Post: Antares*
  [NEED HELP] Game types | Tipos de juego [Votable] KyMAN 10 4,700 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-