My mix of my 1.34 to 1.35 hud...mixed with some stuff from others.
Code: Select all
!DEFAULT
{
fontsize 8
color 1, 1, 1, 1
textstyle 1
}
NetGraph
{
rect 592 432 48 48
bgcolor 0.25 0.25 0.25 0.25
fill
}
NetGraphPing
{
rect 592 432 48 12
textalign C
}
# the WeaponList has to get a little funky to be able to handle all the legacyhud tricks:
# W and H are the size of EACH weapon, not the total
# and for the horizontal weaponlist (textalign C) X is the point to center around
WeaponList
{
rect 0 80 48 16
color 0.25 0.25 1 0.75
bgcolor 0.25 0.25 0.25 0.75
fontsize 16
}
StatusBar_HealthIcon
{
rect 260 420 24 24
image "gfx/2d/cpmaicon_180.tga"
}
StatusBar_HealthCount
{
rect 240 448 48 24
font idblock
fontsize 16 24
textalign R
}
StatusBar_ArmorIcon
{
rect 352 420 24 24
}
StatusBar_ArmorCount
{
rect 352 448 48 32
font idblock
fontsize 16 24
}
StatusBar_AmmoIcon
{
rect 312 428 16 16
}
StatusBar_AmmoCount
{
rect 302 448 36 16
font idblock
fontsize 12 16
textalign C
}
FPS
{
rect 0, 465, 642, 25
color 1, 1, 1, 0.5
textalign R
}
GameTime
{
rect 21, 449, 620, 50
fontsize 8
color 1, 1, 1, 0.5
textalign R
}
GameType
{
rect 0, 16, 640, 24
fontsize 24
textalign C
color 1, 1, 0.5, 1
}
WarmupInfo
{
rect 0, 40, 640, 24
fontsize 16
textalign C
}
FollowMessage
{
rect 0, 400, 640, 12
textalign C
}
SpecMessage
{
rect 0, 80, 640, 16
fontsize 16
textalign C
}
FragMessage
{
rect 0, 280, 640, 16
fontsize 10
textalign C
time 1000
fade 1, 1, 1, 0.5
}
RankMessage
{
rect 0, 290, 640, 12
fontsize 10
textalign C
time 1000
fade 1, 1, 1, 0.5
}
PlayerSpeed
{
rect 0, 457, 642, 25
color 1, 1, 1, 0.5
textalign R
}
ItemPickup
{
rect 24, 384, 640, 16
fontsize 16
time 1500
#fade 1, 1, 1, 0.5
}
ItemPickupIcon
{
rect 0, 384, 16, 16
time 1500
# fading an image requires an alpha channel, which the icons don't have >:(
#fade 1, 1, 1, 0.5
}
TargetName
{
rect 0, 256, 640, 12
textalign C
time 500
color 1, 1, 1, 0.5
}
TargetStatus
{
rect 0, 268, 640, 12
textalign C
time 500
color 0.5, 1, 1, 1
}
Chat1 { rect 0, 372, 640, 12; time 3000; }
Chat2 { rect 0, 360, 640, 12; time 3000; }
Chat3 { rect 0, 348, 640, 12; time 3000; }
Chat4 { rect 0, 336, 640, 12; time 3000; }
Chat5 { rect 0, 324, 640, 12; time 3000; }
Chat6 { rect 0, 312, 640, 12; time 3000; }
Chat7 { rect 0, 300, 640, 12; time 3000; }
Chat8 { rect 0, 288, 640, 12; time 3000; }
VoteMessageArena
{
rect 0, 60, 640, 16
fontsize 16
textalign C
}
VoteMessageWorld
{
rect 0, 76, 640, 16
fontsize 16
textalign C
color 1, 1, 0, 1
}
Score_Limit { rect 0, 420, 32, 20; textalign R; fontsize 20; bgcolor 0.5 0.5 0.5 0.5; fill; }
Score_OWN { rect 0, 440, 32, 20; textalign R; fontsize 20; bgcolor 1 1 1 0.5; fill; }
Score_NME { rect 0, 460, 32, 20; textalign R; fontsize 20; bgcolor 0 1 0 0.5; fill; }
# that's all the DM stuff
Team1 { rect 0, 372, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team2 { rect 0, 360, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team3 { rect 0, 348, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team4 { rect 0, 336, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team5 { rect 0, 324, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team6 { rect 0, 312, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team7 { rect 0, 300, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
Team8 { rect 0, 288, 640, 12; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 8 12; monospace; }
# PowerUp1_Icon is also used for the O/D indicator in CTFS
PowerUp1_Icon { rect 608, 264, 32, 32; }
PowerUp1_Time { rect 544, 264, 64, 32; textalign R; fontsize 32; }
PowerUp2_Icon { rect 608, 232, 32, 32; }
PowerUp2_Time { rect 544, 232, 64, 32; textalign R; fontsize 32; }
PowerUp3_Icon { rect 608, 200, 32, 32; }
PowerUp3_Time { rect 544, 200, 64, 32; textalign R; fontsize 32; }
PowerUp4_Icon { rect 608, 168, 32, 32; }
PowerUp4_Time { rect 544, 168, 64, 32; textalign R; fontsize 32; }
FlagStatus_OWN { rect 608 400 32 32; color 1 1 1 1; }
FlagStatus_NME { rect 568 400 32 32; color 0 1 0 1; }
TeamCount_OWN { rect 620, 40, 20, 20; bgcolor 0.5 0.5 0.5 0.5; fill; fontsize 20; }
TeamIcon_OWN { rect 600, 40, 20, 20; bgcolor 0.5 0.5 0.5 0.5; fill; image "gfx/2d/cpmaicon_180.tga"; }
TeamCount_NME { rect 620, 64, 20, 20; bgcolor 0.5 0.5 0.5 0.5; fill; fontsize 20; }
TeamIcon_NME { rect 600, 64, 20, 20; bgcolor 0.5 0.5 0.5 0.5; fill; image "gfx/2d/blender_180.tga"; }
Code: Select all
!DEFAULT
{
fontsize 8
color 1, 1, 1, 1
textstyle 1
}
WeaponList
{
rect 320 464 30 11
color 0.2 0.2 0.7 0.75
font cpma
textalign C
fontsize 11
bgcolor 0 0 0 0.5
fill
}
StatusBar_HealthIcon
{
rect 220 438 24 24
image "gfx/2d/cpmaicon_180.tga"
}
StatusBar_HealthCount
{
rect 260 438 48 24
font idblock
fontsize 16 24
textalign R
}
StatusBar_ArmorIcon
{
rect 400 438 24 24
}
StatusBar_ArmorCount
{
rect 332 438 32 32
font idblock
fontsize 16 24
}
FPS
{
rect 0, 465, 642, 25
color 1, 1, 1, 0.5
textalign R
}
GameTime
{
rect 21, 449, 620, 50
fontsize 8
color 1, 1, 1, 0.5
textalign R
}
GameType
{
rect 0 16 640 24
fontsize 20
textalign C
color 1 1 0.5 1
}
WarmupInfo
{
rect 0 40 640 24
fontsize 16
textalign C
}
FollowMessage
{
rect 0 250 640 12
textalign C
}
SpecMessage
{
rect 0 80 640 16
fontsize 12 16
textalign C
}
FragMessage
{
rect 0, 280, 640, 16
fontsize 10
textalign C
time 1000
fade 1, 1, 1, 0.5
}
RankMessage
{
rect 0, 290, 640, 12
fontsize 10
textalign C
time 1000
fade 1, 1, 1, 0.5
}
PlayerSpeed
{
rect 0, 457, 642, 25
color 1, 1, 1, 0.5
textalign R
}
ItemPickup
{
rect 24 384 640 16
fontsize 12 16
time 1500
#fade 1 1 1 0.5
}
ItemPickupIcon
{
rect 0 384 16 16
time 1500
# fading an image requires an alpha channel which the icons don't have >:(
#fade 1 1 1 0.5
}
TargetName
{
rect 0 256 640 12
textalign C
time 500
}
TargetStatus
{
rect 0 268 640 12
textalign C
time 500
color 0.5 1 1 1
}
Chat1 { rect 0 372 640 12; time 0001; }
Chat2 { rect 0 360 640 12; time 0001; }
Chat3 { rect 0 348 640 12; time 0001; }
Chat4 { rect 0 336 640 12; time 0001; }
Chat5 { rect 0 324 640 12; time 0001; }
Chat6 { rect 0 312 640 12; time 0001; }
Chat7 { rect 0 300 640 12; time 0001; }
Chat8 { rect 0 288 640 12; time 0001; }
VoteMessageArena
{
rect 0 60 640 16
fontsize 12 16
textalign C
}
VoteMessageWorld
{
rect 0 76 640 16
fontsize 12 16
textalign C
color 1 1 0 1
}
Score_Limit { rect 0 420 32 20; textalign R; fontsize 16 20; bgcolor 0.5 0.5 0.5 0.5; fill; }
Score_OWN { rect 0 440 32 20; textalign R; fontsize 16 20; bgcolor 1 1 1 0.5; fill; }
Score_NME { rect 0 460 32 20; textalign R; fontsize 16 20; bgcolor 0 1 0 0.5; fill; }
# that's all the DM stuff
!DEFAULT { bgcolor 0.5 0.5 0.5 0.5; textalign R; }
Team1 { rect 0, 472, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team2 { rect 0, 465, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team3 { rect 0, 458, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team4 { rect 0, 451, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team5 { rect 0, 444, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team6 { rect 0, 437, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team7 { rect 0, 430, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
Team8 { rect 0, 423, 640, 7; bgcolor 0.5 0.5 0.5 0.5; textalign R; fontsize 6 7; monospace; }
!DEFAULT { bgcolor 0 0 0 0; textalign L; }
# PowerUp1_Icon is also used for the O/D indicator in CTFS
PowerUp1_Icon { rect 608 264 32 32; }
PowerUp1_Time { rect 544 264 64 32; textalign R; fontsize 24 32; }
PowerUp2_Icon { rect 608 232 32 32; }
PowerUp2_Time { rect 544 232 64 32; textalign R; fontsize 24 32; }
PowerUp3_Icon { rect 608 200 32 32; }
PowerUp3_Time { rect 544 200 64 32; textalign R; fontsize 24 32; }
PowerUp4_Icon { rect 608 168 32 32; }
PowerUp4_Time { rect 544 168 64 32; textalign R; fontsize 24 32; }
FlagStatus_OWN { rect 608 400 32 32; color 1 1 1 1; }
FlagStatus_NME { rect 568 400 32 32; color 0 1 0 1; }
TeamCount_OWN { rect 620 40 20 20; bgcolor 0.5 0.5 0.5 0.5; fill; fontsize 12 16; }
TeamIcon_OWN { rect 600 40 20 20; bgcolor 0.5 0.5 0.5 0.5; fill; image "gfx/2d/cpmaicon_180.tga"; }
TeamCount_NME { rect 620 64 20 20; bgcolor 0.5 0.5 0.5 0.5; fill; fontsize 12 16; }
TeamIcon_NME { rect 600 64 20 20; bgcolor 0.5 0.5 0.5 0.5; fill; image "gfx/2d/blender_180.tga"; }