Difference between revisions of "Killing Floor:Known Issues & Bugs"

From Tripwire Interactive Wiki
Jump to: navigation, search
m (Added TOC)
m (Experimenting with layout)
Line 5: Line 5:
 
ZombieVolume, line 159:
 
ZombieVolume, line 159:
  
 +
{{cot|title=Code|width=50%}}
 
<blockquote><pre>if( bTryAllSpawns )
 
<blockquote><pre>if( bTryAllSpawns )
 
{
 
{
Line 20: Line 21:
 
{
 
{
 
TrySpawnPoint = SpawnPos[Rand(SpawnPos.Length)];</pre></blockquote>
 
TrySpawnPoint = SpawnPos[Rand(SpawnPos.Length)];</pre></blockquote>
 +
{{cob}}
  
  
Line 28: Line 30:
 
MK23Fire, line 41:
 
MK23Fire, line 41:
  
 +
{{cot|title=Code|width=50%}}
 
<blockquote><pre>While( (HitCount++)<3 )
 
<blockquote><pre>While( (HitCount++)<3 )
 
{
 
{
Line 34: Line 37:
 
Other = Instigator.HitPointTrace(HitLocation, HitNormal, End, HitPoints, Start,, 1);
 
Other = Instigator.HitPointTrace(HitLocation, HitNormal, End, HitPoints, Start,, 1);
 
if( Other==None )</pre></blockquote>
 
if( Other==None )</pre></blockquote>
 +
{{cob}}
 
 
 
MK23Fire: line 104:
 
MK23Fire: line 104:
  
 +
{{cot|title=Code|width=50%}}
 
<blockquote><pre>if( (HCounter++)>=4 || Pawn(DamageActor)==None )
 
<blockquote><pre>if( (HCounter++)>=4 || Pawn(DamageActor)==None )
 
{
 
{
Line 42: Line 47:
 
}
 
}
 
HitDamage/=2;</pre></blockquote>
 
HitDamage/=2;</pre></blockquote>
 +
{{cob}}
  
 
These are both from the penetration loop, and provide conflicting conditions for breaking from the loop. Logically the former block should be checking for a value of 10 (as with DeagleFire.uc), allowing the second block to correctly control the amount of penetrations itself.
 
These are both from the penetration loop, and provide conflicting conditions for breaking from the loop. Logically the former block should be checking for a value of 10 (as with DeagleFire.uc), allowing the second block to correctly control the amount of penetrations itself.

Revision as of 12:09, 2 November 2012

ZombieVolume bTryAllSpawns bug (version 1040)

ZombieVolume, line 159:


This code picks from a random spawn point each time, but doesn't exclude already-tried ones. It means it may waste attempts, and the 'bTryAllSpawns' flag will not work.

MK23Fire, Magnum44Fire Penetration loop bug (version 1040)

MK23Fire, line 41:

MK23Fire: line 104:

These are both from the penetration loop, and provide conflicting conditions for breaking from the loop. Logically the former block should be checking for a value of 10 (as with DeagleFire.uc), allowing the second block to correctly control the amount of penetrations itself.

DualMK23Pickup AmmoCost bug (version 1040)

AmmoCost is the same as for the single version (£16), which is incorrect. It should be double, like all the other dual pistols.