summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-06 03:33:17 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:40 +0000
commita4478a4d40db8d11ce0ac54490565abeb65c3b5f (patch)
tree35f4c3106f65449aeed9e423d22ec307991b864d
parent8525ee4edde68d8a7964e4c1e3556458b9eabf63 (diff)
* Fix transparency of certain hud elements (Rezyn)
-rw-r--r--assets/ui/tremulous_alien_common_hud.h11
-rw-r--r--assets/ui/tremulous_human_hud.menu20
2 files changed, 21 insertions, 10 deletions
diff --git a/assets/ui/tremulous_alien_common_hud.h b/assets/ui/tremulous_alien_common_hud.h
index f575d6fa..68bc8f36 100644
--- a/assets/ui/tremulous_alien_common_hud.h
+++ b/assets/ui/tremulous_alien_common_hud.h
@@ -84,7 +84,8 @@ itemDef
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backcolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/alien/bolt.tga"
ownerdraw CG_PLAYER_BOOST_BOLT
}
@@ -109,7 +110,8 @@ itemDef
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backcolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/alien/left-ring.tga"
ownerdraw CG_PLAYER_BOOSTED
}
@@ -123,6 +125,7 @@ itemDef
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 1.0
+ backcolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/alien/left-spikes.tga"
ownerdraw CG_PLAYER_WALLCLIMBING
}
@@ -135,7 +138,8 @@ itemDef
aspectBias ALIGN_RIGHT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backcolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/alien/right-ring.tga"
ownerdraw CG_PLAYER_BOOSTED
}
@@ -149,6 +153,7 @@ itemDef
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 1.0
+ backcolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/alien/right-spikes.tga"
ownerdraw CG_PLAYER_WALLCLIMBING
}
diff --git a/assets/ui/tremulous_human_hud.menu b/assets/ui/tremulous_human_hud.menu
index 57039f38..e5fe27bf 100644
--- a/assets/ui/tremulous_human_hud.menu
+++ b/assets/ui/tremulous_human_hud.menu
@@ -112,7 +112,8 @@
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backColor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/human/bolt.tga"
ownerdraw CG_PLAYER_STAMINA_BOLT
}
@@ -137,7 +138,8 @@
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backColor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/human/stamina1.tga"
ownerdraw CG_PLAYER_STAMINA_1
}
@@ -150,7 +152,8 @@
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backColor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/human/stamina2.tga"
ownerdraw CG_PLAYER_STAMINA_2
}
@@ -163,7 +166,8 @@
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backColor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/human/stamina3.tga"
ownerdraw CG_PLAYER_STAMINA_3
}
@@ -176,7 +180,8 @@
aspectBias ALIGN_LEFT
visible MENU_TRUE
decoration
- forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.8
+ backColor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/human/stamina4.tga"
ownerdraw CG_PLAYER_STAMINA_4
}
@@ -191,6 +196,7 @@
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
+ backColor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.2
background "ui/assets/human/ring.tga"
ownerdraw CG_PLAYER_CLIPS_RING
}
@@ -323,7 +329,7 @@
{
name "charge"
rect 510 384 56 8
- aspectBias ALIGN_CENTER
+ aspectBias ALIGN_RIGHT
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.5
@@ -336,7 +342,7 @@
{
name "chargebg"
rect 506 380 64 16
- aspectBias ALIGN_CENTER
+ aspectBias ALIGN_RIGHT
visible MENU_TRUE
decoration
forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 0.25