Tremulous Forum

General => General Discussion => Topic started by: biotxc on March 11, 2007, 06:44:06 pm

Title: buildable status display
Post by: biotxc on March 11, 2007, 06:44:06 pm
old one
(http://www.abload.de/thumb/shot0006zzq.jpg) (http://www.abload.de/image.php?img=shot0006zzq.jpg)
new ones :D
(http://www.abload.de/thumb/shot0007ml3.jpg) (http://www.abload.de/image.php?img=shot0007ml3.jpg)(http://www.abload.de/thumb/shot000840e.jpg) (http://www.abload.de/image.php?img=shot000840e.jpg)
(http://www.abload.de/thumb/shot0009esh.jpg) (http://www.abload.de/image.php?img=shot0009esh.jpg)(http://www.abload.de/thumb/shot00100c0.jpg) (http://www.abload.de/image.php?img=shot00100c0.jpg)(http://www.abload.de/thumb/shot00138ar.jpg) (http://www.abload.de/image.php?img=shot00138ar.jpg)

I also added something that makes displays smaller as you go farther

umm it draw over everything so can I use it as a wall hack? :P
actually it is not something I want
(http://www.abload.de/thumb/shot0014uvx.jpg) (http://www.abload.de/image.php?img=shot0014uvx.jpg)
patch:
http://www.mercenariesguild.net/patches/?do=details&task_id=38
Title: buildable status display
Post by: Paradox on March 11, 2007, 07:05:08 pm
Looks like a rip of vcxzets mod that does the exact same thing, but gives teamoverlays too.
Title: buildable status display
Post by: Seffylight on March 11, 2007, 07:11:01 pm
Protip: biotxc = vcxzet
Title: buildable status display
Post by: Rawr on March 11, 2007, 08:42:20 pm
o rly? :O
Title: buildable status display
Post by: Risujin on March 16, 2007, 06:15:37 am
You ripped off tjw, congrats. :)

The problem is you are rendering 2D. The old health bars were rendered in world-space, so they were affected by the z-buffer.

Have a look at the old health bars, or my patch:
http://www.mercenariesguild.net/patches/?do=details&task_id=40&pagenum=2

Use CG_DrawPlane and 3D polys like a man.
Title: buildable status display
Post by: biotxc on March 16, 2007, 10:09:00 am
if it is real 3d you cant see it from sides
health bar must be 2d
I didnt rip off tjw's I didnt even know he made one
(mine was mostly about player healths though)

and old buildable health bars were also 2d

moreover tjw's version also use distance scaling
and it looks better than mine and yours AND it allows customization