HUD
214
- Let's add those default properties now.
/* Crosshairs - from UTWeapon /
// Crosshair image
CrosshairImage=Texture2D'UI_HUD.HUD.UTCrossHairs'
// Crosshair location
CrossHairCoordinates=(U=192,V=64,UL=64,VL=64)
/** Crosshairs - From UTHUDBase */
// Crosshair size
ConfiguredCrosshairScaling=1.0
// Crosshair color
BlackColor=(R=0,G=0,B=0,A=255)
- Our default properties block should look like this now:
defaultproperties
{
/* Textures and font /
// Text scale
TextScale=0.25
// Font used for the text
TutFont="UI_Fonts.MultiFonts.MF_HudLarge"
// Texture for HP bar
BarTexture=Texture2D'UI_HUD.HUD.UI_HUD_BaseA'
/** Ammo */
/** Corner Position of bar. + / - to X / Y changes which
corner it is in */
AmmoPosition=(X=-1,Y=1)
// Offsets text from bar
AmmoTextOffset=(X=-108, Y=0)
// Coordinates of ammo bar
AmmoCoords=(U=277,V=494,UL=76,VL=126)
/** Corner Position of bar. + / - to X / Y changes which
corner it is in */
/** Hit Points */
HPPosition=(X=0,Y=1)
// Offsets text from bar
HPTextOffset=(X=220,Y=0)
// Coords for the HP bar
BarCoords=(U=277,V=494,UL=4,VL=13)
/** Name */
/** Corner Position of name text. + / - to X / Y changes
which corner it is in */
NamePosition=(X=0, Y=0)
// Coordinates for the player name text
NameCoords=(U=0,V=0,UL=0,VL=0)
/** Crosshairs - from UTWeapon */