Small Fixes #22
@ -101,47 +101,47 @@ function PostRender(Canvas C)
 | 
			
		||||
      C.SetPos(x, y);
 | 
			
		||||
      C.DrawTile(poisonIcon, size, size, 0, 0, poisonIcon.MaterialUSize(), poisonIcon.MaterialVSize());
 | 
			
		||||
   }
 | 
			
		||||
    
 | 
			
		||||
   // draw bleed and poison icons for TEAMMATES
 | 
			
		||||
//    C.GetCAmeraLocation(CamPos, CamRot);
 | 
			
		||||
//   ViewDir = vector(CamRot);
 | 
			
		||||
//   kfHud = HUDKillingFloor(ViewportOwner.Actor.myHUD);
 | 
			
		||||
//   OffsetX = (36.f * kfHud.default.VeterancyMatScaleFactor * 0.6) - (kfHud.default.HealthIconSize + 2.0);
 | 
			
		||||
//   BarLength = FMin(kfHud.default.BarLength * (float(C.SizeX) / 1024.f), kfHud.default.BarLength);
 | 
			
		||||
//   BarHeight = FMin(kfHud.default.BarHeight * (float(C.SizeX) / 1024.f), kfHud.default.BarHeight);
 | 
			
		||||
//   for (i = 0; i < kfHUD.PlayerInfoPawns.Length; i++)
 | 
			
		||||
//   {
 | 
			
		||||
//     if (kfHUD.PlayerInfoPawns[i].Pawn != none && kfHUD.PlayerInfoPawns[i].Pawn.Health > 0 && 
 | 
			
		||||
//                 (kfHUD.PlayerInfoPawns[i].Pawn.Location - kfHUD.PawnOwner.Location) dot ViewDir > 0.8 &&
 | 
			
		||||
//                 kfHUD.PlayerInfoPawns[i].RendTime > ViewportOwner.Actor.Level.TimeSeconds)
 | 
			
		||||
//     {
 | 
			
		||||
//       C.StrLen(Left(kfHUD.PlayerInfoPawns[i].Pawn.PlayerReplicationInfo.PlayerName, 16), XL, YL);
 | 
			
		||||
//       if (kfHUD.PlayerInfoPawns[i].Pawn.ShieldStrength <= 0)
 | 
			
		||||
//       {
 | 
			
		||||
//         posY = (kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosY - YL) - 2.75 * BarHeight -
 | 
			
		||||
//                         kfHUD.default.ArmorIconSize * 0.5;
 | 
			
		||||
//       }
 | 
			
		||||
//       else
 | 
			
		||||
//       {
 | 
			
		||||
//         posY = (kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosY - YL) - 3.8 * BarHeight -
 | 
			
		||||
//                         kfHUD.default.ArmorIconSize * 0.5;
 | 
			
		||||
//       }
 | 
			
		||||
//       offset = 0;
 | 
			
		||||
 | 
			
		||||
//       if (bIsBleeding(ScrnHumanPawn(kfHUD.PlayerInfoPawns[i].Pawn)))
 | 
			
		||||
//       {
 | 
			
		||||
//         C.SetPos(kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosX - OffsetX - 0.15 * BarLength - 
 | 
			
		||||
//                         kfHUD.default.ArmorIconSize - 2.0, posY);
 | 
			
		||||
//         C.DrawTileScaled(bleedIcon, 0.1875, 0.1875);
 | 
			
		||||
//       }
 | 
			
		||||
//       if (bIsPoisoned(ScrnHumanPawn(kfHUD.PlayerInfoPawns[i].Pawn)))
 | 
			
		||||
//       {
 | 
			
		||||
//         C.SetPos(kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosX - OffsetX + 0.15 * BarLength -
 | 
			
		||||
//                         kfHUD.default.ArmorIconSize - 2.0, posY);
 | 
			
		||||
//         C.DrawTileScaled(poisonIcon, 0.1875, 0.1875);
 | 
			
		||||
//       }
 | 
			
		||||
//     }
 | 
			
		||||
//   }
 | 
			
		||||
    // draw bleed and poison icons for TEAMMATES
 | 
			
		||||
    // C.GetCAmeraLocation(CamPos, CamRot);
 | 
			
		||||
    // ViewDir = vector(CamRot);
 | 
			
		||||
    // kfHud = HUDKillingFloor(ViewportOwner.Actor.myHUD);
 | 
			
		||||
    // OffsetX = (36.f * kfHud.default.VeterancyMatScaleFactor * 0.6) - (kfHud.default.HealthIconSize + 2.0);
 | 
			
		||||
    // BarLength = FMin(kfHud.default.BarLength * (float(C.SizeX) / 1024.f), kfHud.default.BarLength);
 | 
			
		||||
    // BarHeight = FMin(kfHud.default.BarHeight * (float(C.SizeX) / 1024.f), kfHud.default.BarHeight);
 | 
			
		||||
    // for (i = 0; i < kfHUD.PlayerInfoPawns.Length; i++)
 | 
			
		||||
    // {
 | 
			
		||||
    //     if (kfHUD.PlayerInfoPawns[i].Pawn != none && kfHUD.PlayerInfoPawns[i].Pawn.Health > 0 && 
 | 
			
		||||
    //                 (kfHUD.PlayerInfoPawns[i].Pawn.Location - kfHUD.PawnOwner.Location) dot ViewDir > 0.8 &&
 | 
			
		||||
    //                 kfHUD.PlayerInfoPawns[i].RendTime > ViewportOwner.Actor.Level.TimeSeconds)
 | 
			
		||||
    //     {
 | 
			
		||||
    //     C.StrLen(Left(kfHUD.PlayerInfoPawns[i].Pawn.PlayerReplicationInfo.PlayerName, 16), XL, YL);
 | 
			
		||||
    //     if (kfHUD.PlayerInfoPawns[i].Pawn.ShieldStrength <= 0)
 | 
			
		||||
    //     {
 | 
			
		||||
    //         posY = (kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosY - YL) - 2.75 * BarHeight -
 | 
			
		||||
    //                         kfHUD.default.ArmorIconSize * 0.5;
 | 
			
		||||
    //     }
 | 
			
		||||
    //     else
 | 
			
		||||
    //     {
 | 
			
		||||
    //         posY = (kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosY - YL) - 3.8 * BarHeight -
 | 
			
		||||
    //                         kfHUD.default.ArmorIconSize * 0.5;
 | 
			
		||||
    //     }
 | 
			
		||||
    //     offset = 0;
 | 
			
		||||
 | 
			
		||||
    //     if (bIsBleeding(ScrnHumanPawn(kfHUD.PlayerInfoPawns[i].Pawn)))
 | 
			
		||||
    //     {
 | 
			
		||||
    //         C.SetPos(kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosX - OffsetX - 0.15 * BarLength - 
 | 
			
		||||
    //                         kfHUD.default.ArmorIconSize - 2.0, posY);
 | 
			
		||||
    //         C.DrawTileScaled(bleedIcon, 0.1875, 0.1875);
 | 
			
		||||
    //     }
 | 
			
		||||
    //     if (bIsPoisoned(ScrnHumanPawn(kfHUD.PlayerInfoPawns[i].Pawn)))
 | 
			
		||||
    //     {
 | 
			
		||||
    //         C.SetPos(kfHUD.PlayerInfoPawns[i].PlayerInfoScreenPosX - OffsetX + 0.15 * BarLength -
 | 
			
		||||
    //                         kfHUD.default.ArmorIconSize - 2.0, posY);
 | 
			
		||||
    //         C.DrawTileScaled(poisonIcon, 0.1875, 0.1875);
 | 
			
		||||
    //     }
 | 
			
		||||
    //     }
 | 
			
		||||
    // }
 | 
			
		||||
 | 
			
		||||
    if (niceWeap != none && niceWeap.bShowSecondaryCharge && scrnHUDInstance != none)
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,7 @@ var int maxBleedCount;
 | 
			
		||||
var private float fBleedPeriod;
 | 
			
		||||
 | 
			
		||||
var int bleedLevel;
 | 
			
		||||
var MeanZombieCrawler stalker;
 | 
			
		||||
var MeanZombieStalker stalker;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
event PostBeginPlay()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user