Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTDmgType_OrbReturn


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
/**
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
 */
class UTDmgType_OrbReturn extends UTDamageType
	abstract;

simulated static function DrawKillIcon(Canvas Canvas, float ScreenX, float ScreenY, float HUDScaleX, float HUDScaleY)
{
	local color CanvasColor;
	local TextureCoordinates IconCoords;

	LogInternal("DRAW ORB");

	// save current canvas color
	CanvasColor = Canvas.DrawColor;

	// draw orb shadow
	Canvas.DrawColor = class'UTHUD'.default.BlackColor;
	Canvas.DrawColor.A = CanvasColor.A;
	Canvas.SetPos( ScreenX - 2, ScreenY - 2 );

	IconCoords = class'UTOnslaughtFlag'.default.IconCoords;
	Canvas.DrawTile(class'UTHud'.default.IconHudTexture, 4 + HUDScaleX * 96, 4 + HUDScaleY * 64, IconCoords.U, IconCoords.V, IconCoords.UL, IconCoords.VL);

	// draw the orb icon
	Canvas.DrawColor =  class'UTHUD'.default.WhiteColor;
	Canvas.DrawColor.A = CanvasColor.A;
	Canvas.SetPos( ScreenX, ScreenY );
	Canvas.DrawTile(class'UTHud'.default.IconHudTexture, HUDScaleX * 96, HUDScaleY * 64, IconCoords.U, IconCoords.V, IconCoords.UL, IconCoords.VL);
	Canvas.DrawColor = CanvasColor;
}

defaultproperties
{
   DeathString="`o decided to be a hero."
   FemaleSuicide="`o decided to be a hero."
   MaleSuicide="`o decided to be a hero."
   Name="Default__UTDmgType_OrbReturn"
   ObjectArchetype=UTDamageType'UTGame.Default__UTDamageType'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:18:42.000 - Creation time: sk 18-3-2018 10:01:19.993 - Created with UnCodeX