Raised This Month: $ Target: $400
 0% 

Gamma - A game mode manager


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mitchell
~lick~
Join Date: Mar 2010
Old 04-13-2014 , 09:02   Re: Gamma - A game mode manager
Reply With Quote #2

This sounds awesome, sorry for only skimming through the gist of this, but this caught my eye.
Quote:
Originally Posted by Cookies.net View Post
  • Make it possible for game modes to forcefully end themselves, and thus restart/end the round as well. Think of the VSH/FF2-ish game mode if it suddenly loses it's active boss behaviour, that would be no good.
You can make a stock:
Code:
SetCommandFlags("mp_forcewin", GetCommandFlags("mp_forcewin") & ~FCVAR_CHEAT);
stock ForceTeamWin(team)
{
	ServerCommand("mp_forcewin %i", team);
}
0, ends in a draw
2, RED wins
3, BLU wins

I would also like to know how the whole 'preventing round end' and preventing 'player spawning' works that would help me out in my gamemode too.

EDIT:
holy hell i just went through the gihub, this is amazing.

Last edited by Mitchell; 04-13-2014 at 09:09.
Mitchell is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode