|
Post by smood on Sept 8, 2006 23:21:11 GMT -5
How exactly does this bonus work? I have seen on numerous if not every occasion that we may have a calculated bonus of 300+ dollars and when the last specimen is killed and I had 100 dollars before the kill I have 100 dollars after the final kill (assuming I didn't kill the last specimen), thus I get no bonus.
Is the bonus given sometimes, all the time, split between survivors?
|
|
Hayato
Stalker
Exhausted Soldier
Posts: 199
|
Post by Hayato on Sept 8, 2006 23:31:14 GMT -5
You know, I've been wondering that, too.
|
|
Doomest
Crawler
Laser Vision
Posts: 317
|
Post by Doomest on Sept 9, 2006 0:20:58 GMT -5
same, were the hell is my christmas bonus dammit
|
|
BIGJohnMP
Stalker
Shall we play a game?
Posts: 119
|
Post by BIGJohnMP on Sept 9, 2006 0:24:23 GMT -5
I think its busted for now.
|
|
Doomest
Crawler
Laser Vision
Posts: 317
|
Post by Doomest on Sept 9, 2006 9:07:37 GMT -5
Then my christmas wish for Emitting a powerful red beam from both my eyes will never come true... *tear*
|
|
Kno
Clot
SlaughterHouse King
Posts: 66
|
Post by Kno on Sept 9, 2006 10:44:26 GMT -5
I not 100% on this, but I believe it gets split up between all the players. So if there are three people on and the wave end bonus is 300, they will each receive 100 apiece.
|
|
|
Post by faust on Sept 9, 2006 11:49:53 GMT -5
The most precise and at the same time most useless reply to this would be presenting the code that manages the distribution of the end wave bonus:
function bool RewardSurvivingPlayers(){ local Controller C; //log("REWARDED!!"); for ( C=Level.ControllerList; C!=None; C=C.NextController ) {
if ( (C.PlayerReplicationInfo != None) && C.bIsPlayer && !C.PlayerReplicationInfo.bOnlySpectator ) { // Dump the Team Score into the personal scores of all the players. C.PlayerReplicationInfo.Score += (C.PlayerReplicationInfo.Team.Score / NumPlayers); C.PlayerReplicationInfo.Team.Score -= (C.PlayerReplicationInfo.Team.Score); C.PlayerReplicationInfo.Team.NetUpdateTime = Level.TimeSeconds - 1; C.PlayerReplicationInfo.NetUpdateTime = Level.TimeSeconds - 1; TeamScoreEvent(C.PlayerReplicationInfo.Team.TeamIndex, 1, "tdm_frag"); } //only give points if after 1st wave. //rewardFlag = true; return true ; }
}
That some people get 300 Dollars after a round end is because of this:
if (aPlayer.PlayerReplicationInfo.Score == 0)//!KFGameReplicationInfo(GameReplicationInfo).bStartCashApplied) { aPlayer.PlayerReplicationInfo.Score = StartingCash ; KFGameReplicationInfo(GameReplicationInfo).bStartCashApplied = true; }
This is a hack I implemented into the patch so that joiners who join after wave 1 would still get money. It's been solved properly for ver 2.2.
|
|
|
Post by uwasawaya on Sept 9, 2006 15:52:31 GMT -5
Usually when Caesar and I play, I get a bonus... and usually he doesn't (or gets $3...) so I'm not sure it properly works.
|
|