Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Inside HBServer.uc from HardModeBossS on lines 1651 to 1671, you have a few empty if statements:
// if not boss wave, play progress update trader dialog
`if(`isdefined(USING_ENDLESS_MODE))
if( !bIsOnBonusWave &&
`else
if(
`endif
!bIsOnBossWave && KilledPawn.IsA('KFPawn_Monster') )
{
// no KFTraderDialogManager object on dedicated server, so use static function
class'KFTraderDialogManager'.static.PlayGlobalWaveProgressDialog( GRI.AIRemaining, GRI.WaveTotalAICount, WorldInfo );
}
if( bIsOnBossWave && KFPawn_Monster(KilledPawn)!=None ) // Check if killed boss.
{
ActiveBossList.RemoveItem(KilledPawn);
if( KFPawn_MonsterBoss(KilledPawn)!=None )
SetTimer(2,false,'ResetBossView');
BossDied();
}
CheckWaveEnd();
}
I changed it so it looks like this:
// if not boss wave, play progress update trader dialog
`if(`isdefined(USING_ENDLESS_MODE))
if( !bIsOnBonusWave )
{
if( KFPawn_MonsterBoss(KilledPawn)!=None )
SetTimer(2,false,'ResetBossView');
}
else
{
if( KFPawn_MonsterBoss(KilledPawn)!=None )
SetTimer(2,false,'ResetBossView');
}
`else
if(
`endif
!bIsOnBossWave && KilledPawn.IsA('KFPawn_Monster') )
{
// no KFTraderDialogManager object on dedicated server, so use static function
class'KFTraderDialogManager'.static.PlayGlobalWaveProgressDialog( GRI.AIRemaining, GRI.WaveTotalAICount, WorldInfo );
}
It forces a call to "ResetBossView" whether or not your are currently on the Boss Wave or the Endless Wave.
Thanks Hunter-AP, I'll try this out tomorrow to see if it changes anything.