This patch implements a new feature that gives build points for kills that count towards the stage increases.
There are two new cvars, g_stageKillOurBuildMult and g_stageKillTheirBuildMult, both of which default to 0 (which turns them off).
For every stage kill, the team that gets the kill gets an additional g_stageKillOurBuildMult build points, and the other team gets an additional g_stageKillTheirBuildMult build points. These should generally be fractional amounts (say, 0.5 for Our and 0.25 for Their), but can be set to integer values. The numbers are rounded down automagically by C.
Created attachment 1004[details]
New stageKillBuild support.
This implements the above functionality. Note that, like all of my other functionality-change patches, it defaults to being off.
I should note that this patch also does some minor cleanup in the function it's implemented in; there were some redundant assignments which are no longer done.
For server admins who may want to use this patch, after some testing on Arcadia, an Our setting of 0.25 and a Their setting of 0.125 seems to hit a nice balance of giving bonuses without it becoming a buildfest. The atmosphere and play style on your server may require tweaks, of course.
Created attachment 1004 [details] New stageKillBuild support. This implements the above functionality. Note that, like all of my other functionality-change patches, it defaults to being off.