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
  How to change server cfg on modified server veecho 2 66 04-17-2019, 05:04 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Change Player Speed, and Disable Bunny Hops 3agle427 2 367 12-29-2018, 09:38 AM
Last Post: 3agle427
  Local LAN Xonotic game server player Stats animatedjay 3 766 11-23-2018, 12:38 AM
Last Post: BuddyFriendGuy
  Game servers in Kazakhstan. Mysyk 0 352 08-25-2018, 04:43 AM
Last Post: Mysyk
  Why game mode menu is not showing at the end of match? marataziat 1 445 08-04-2018, 09:03 AM
Last Post: martin-t
  [NEED HELP] Change Teamplay Colors from Red vs Blue Antares* 1 951 04-13-2018, 01:40 PM
Last Post: Lyberta
  [NEED HELP] Game types | Tipos de juego [Votable] KyMAN 11 1,312 08-31-2017, 08:08 AM
Last Post: KyMAN
  BuddyFriendGuy Pick Up Game (bfgpug) Server BuddyFriendGuy 4 2,547 07-05-2016, 01:02 AM
Last Post: BuddyFriendGuy
  Servers not showing in game for some end user 3 1,983 11-14-2015, 05:27 PM
Last Post: end user
  Setting up infinite ammo in instagib? DECtape 4 3,433 11-03-2015, 09:44 PM
Last Post: lister

Forum Jump:


Users browsing this thread:
1 Guest(s)

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