That depends on how you made your HUD.
If you are using ZScript, you can use SetSize to make the HUD be 640x480 with 160 of the height being used by the bar and then force its scale:
Code: Select all
Class MyStatusBar : BaseStatusBar{
Override void Init(){
Super.Init();
SetSize(160,640,480); //640x480 HUD with 160 units of height reserved for the bar
//Rest of the init
}
Override void Draw(int state, double TicFrac){
Super.Draw(state,TicFrac);
BeginStatusBar(true); //Force the scale of the statusbar
DrawImage("STBAR",(0,320),DI_ITEM_OFFSETS); //Draw your bar
//Rest of the draw
}
}
And if you are using SBARINFO, you can do the same by, well, doing the same:
Code: Select all
Resolution 640,480; //640x480 HUD
Height 160; //160 bar height
StatusBar Normal,forcescaled{ //Force the scale
DrawImage "STBAR",0,320; //Draw the bar
//Rest of the status bar
}
You will also have to adjust your weapons' offsets as well to make them appear higher up.