Couple questions about Hud configuration

knuckle
10-20-2004, 12:18 AM
Alright, so i was playing around with my hud today, trying to emulate the scoreboard that i've seen in a lot of huds. In the process i've completely borked mine up (http://andeburu.studioink.org/tribes/files/borked_hud.jpg).

Here's the code i'm using:

;
; Scoreboard
;

[default_scoreboardGroup]
backgroundTexture=(materi al=Texture'HUD.MPDialogue QuickCHat',drawColor=(R=2 55,G=255,B=255,A=255),sty le=1,bStretched=true)
textFontName=Res_defaultF ont
textFont=font'Engine_res. Res_DefaultFont'
bUseResFonts=true
horizontalAlignment=HALIG N_Left
verticalAlignment=VALIGN_ Bottom
offsetY=-100
offsetx=5
horizontalFill=HFILL_Rela tive
RelativeWidth=0.44
Height=40

[default_countDown]
horizontalAlignment=HALIG N_Center
verticalAlignment=VALIGN_ Top
Width=45
Height=12

[default_teamOneLabel]
horizontalAlignment=HALIG N_Left
horizontalFill=HFILL_Rela tive
verticalAlignment=VALIGN_ Middle
RelativeWidth=0.4
textFontName=Res_defaultF ont
textFont=font'Engine_res. Res_DefaultFont'
bUseResFonts=true
justification=ALIGN_Right
textInsetX=0
bAutoSize=true

[default_teamOneScore]
horizontalAlignment=HALIG N_Right
horizontalFill=HFILL_Rela tive
verticalAlignment=VALIGN_ Top
RelativeWidth=0.23
textInsetX=0
textFontName=Res_defaultF ont
textFont=font'Engine_res. Res_DefaultFont'
bUseResFonts=true
bAutoSize=true

[default_teamTwolabel]
horizontalAlignment=HALIG N_Left
horizontalFill=HFILL_Rela tive
verticalAlignment=VALIGN_ Middle
RelativeWidth=0.4
textFontName=Res_defaultF ont
textFont=font'Engine_res. Res_DefaultFont'
bUseResFonts=true
textInsetX=0
textInsetY=15
bAutoSize=true

[default_teamTwoScore]
horizontalAlignment=HALIG N_Right
horizontalFill=HFILL_Rela tive
verticalAlignment=VALIGN_ Middle
RelativeWidth=0.23
textInsetX=0
textInsetY=15
textFontName=Res_defaultF ont
textFont=font'Engine_res. Res_DefaultFont'
bUseResFonts=true
justification=ALIGN_Right
bAutoSize=true


Is there a specific hierarchy that the elements in the hud have to go in? How do i seperate the text for team name and score onto two seperate lines?

Please be gentle. I don't know much about object-oriented programming (or programming at all, for that matter...)