View Single Post
Cookies.net
Senior Member
Join Date: Jan 2011
Old 04-13-2014 , 11:26   Re: Gamma - A game mode manager
Reply With Quote #4

Quote:
Originally Posted by Mitchell View Post
This sounds awesome, sorry for only skimming through the gist of this, but this caught my eye.

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
It's not so much that I don't know ways to do it, but doing it elegantly would be much better

Quote:
Originally Posted by Mitchell View Post
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.
There's no preventing round end or preventing player spawning, that'd be something you'd have to make yourself - at least for now, could be a future feature.

Quote:
Originally Posted by Mitchell View Post
holy hell i just went through the gihub, this is amazing.
Thanks, I'm surprised of the outcome as well. Guess it's because of 2 things:
1. It's not biased towards any particular project, unlike my attempt 2 years ago
and
2. Gotten a lot more experience since then, with all kinds of small projects

Last edited by Cookies.net; 04-13-2014 at 11:27.
Cookies.net is offline