Page 1 of 1
type = verticle...
Posted: Wed Nov 05, 2008 8:18 pm
by metal_head
The health bitmap for the hud is 85x196 and I have a little problem. Until now,the health picture in the hud was modified horiontal,and it's supposed to be Vertical. I wen't to the HUD.ini and set type = horizontal to verticle and when I started the game,the health indicator was just gone

. why is that happening and what's the solution for this? Nirhis and Skullcrack both use vertical modification,so tha problem has to be in me.
Code: Select all
[health]
type = vertical
indicator = hud\health.bmp
indicatoralpha = hud\a_health.bmp
framex = 10
framey = 400
indicatoroffsetx = 1
indicatoroffsety = 0
indicatorwidth = 160
Also I can't get to show the oxygen element. It's a 128 x 128 image and whatever I do,it just doesn't show.
Re: type = verticle...
Posted: Wed Nov 05, 2008 8:34 pm
by QuestOfDreams
you've typed vertical but the value should be verticle as you wrote in the title
Re: type = verticle...
Posted: Wed Nov 05, 2008 8:44 pm
by metal_head
oh,I never learned that it's "Verticle" (something in the pronunciation makes me write it "vertical" every time),well...strange, but it's still not working,the hud element doesn't show,it shows when it's horizontal, but not verticle.
Re: type = verticle...
Posted: Wed Nov 05, 2008 8:49 pm
by bernie
The correct spelling is vertical it is incorrectly spelled in RF.
Re: type = verticle...
Posted: Wed Nov 05, 2008 9:35 pm
by metal_head
well,it doesn't work both ways

So it's not correctly spelled in RF,phew it's not mine mistake...
now,what could be the source of the problem? maybe something with the positioning?
right now it looks like that (added an extra frame to the element):
Code: Select all
[health]
type = verticle
frame = hud\health_frame.bmp
franeakoha = hu\a_health_frame.bmp
indicator = hud\health.bmp
indicatoralpha = hud\a_health.bmp
framex = 10
framey = 400
indicatoroffsetx = 0
indicatoroffsety = 0
indicatorwidth = 160
and the HUD element just doesn't show up.

Re: type = verticle...
Posted: Wed Nov 05, 2008 10:19 pm
by Juutis
Let me quote QoD from another thread:
It's easy.
All you need is the manual, all you need is the manual,
All you need is the manual, the manual, the manual is all you need.
The manual, manual, manual, manual, manual, manual, manual, manual, manual.
All you need is the manual, all you need is the manual,
All you need is the manual, the manual, the manual is all you need.
(freely adapted from All you need is love

)
There are 3 different types of attribute display that can be used, verticle, horizontal and numeric. First, a sample of a verticle display.
[mana]
type = verticle
frame = rhud.bmp
framealpha = a_rhud.bmp
indicator = hbar.bmp
indicatoralpha = a_hbar.bmp
framex = -100
framey = 0
indicatoroffsetx = 10
indicatoroffsety = 50
indicatorheight = 32

Re: type = verticle...
Posted: Wed Nov 05, 2008 10:23 pm
by metal_head
Yeah,I've read this like a million times,and I still can't figure it out.
why have you highlighted "indicatorheight = 32" in your quote? does this has something to do with my problem? I have a frame,so my indicatorheight is 0 btw.
Re: type = verticle...
Posted: Wed Nov 05, 2008 10:26 pm
by Juutis
Because I don't see an 'indicatorheight' in your definition. The element ain't working if you don't have it.
***EDIT***
And you seem to have a little typo there:
franeakoha = hu\a_health_frame.bmp
Re: type = verticle...
Posted: Wed Nov 05, 2008 11:53 pm
by metal_head
yeah,you're right,I have missed it (and I though that it's not important).
Re: type = verticle...
Posted: Thu Nov 06, 2008 11:28 am
by QuestOfDreams
horizontal -> width
vertical -> height
pretty logical to me

Re: type = verticle...
Posted: Thu Nov 06, 2008 5:19 pm
by metal_head
Because I don't see an 'indicatorheight' in your definition. The element ain't working if you don't have it.
Well,i never though that this could be the problem,because none of my other HUD elements have indicatorheight and they show.Ok,no matter,it works now and the demo is about to be released!
***EDIT***
And you seem to have a little typo there:
Quote:
franeakoha = hu\a_health_frame.bmp
Yeah I saw it you posted the message,but I didn't remember to fix this in the forums. Curses,that new keyboard is getting on my nerves,will take time till I get used to it.
