Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » problem with hud.ini
Re: problem with hud.ini [message #362797 is a reply to message #362796] Fri, 12 December 2008 00:37 Go to previous messageGo to previous message
MGamer is currently offline  MGamer
Messages: 412
Registered: January 2008
Karma:
Commander
DeathLink6.0 wrote on Fri, 12 December 2008 01:26

Quad0XPos= means the X Position ans screen (left right)
Quad0YPos= means the Y Position on your screen (up down)

IMPORTANT for this both: The X=0 Y=0 point is in the upper left corner of your screen. You can also use NEGATIVE values here. If you use e.g. -500 -500 you have the right lower corners as 0,0 Point. This allows you to make your HUD nearly independet from screen esolution.

This defines the area on you texture which you want to display (right a coordinbate system in yout texture):
Quad0Top=
Quad0Left=
Quad0Bottom=
Quad0Right=

For example: You have a nice box for you radar in the left upper corner in your 512x512 texture but 10 pixel from the left and top border and this box is 100x100 pixel large you have to fill in:
Quad0Top=10
Quad0Left=10
Quad0Bottom=109
Quad0Right=109

Take a look at this pixture:
-this it what the QuadXTop,left and so on do:
index.php?t=getfile&id=8720&private=0

Edit: Hmm I should copy this part in my HUD tutorial...

you have a hud tutorial?


rawr.....
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ActionParamsStruct
Next Topic: C++ error
Goto Forum:
  


Current Time: Wed Dec 25 15:38:21 MST 2024

Total time taken to generate the page: 0.00957 seconds