I really need help. I can't make numeric ammo HUD! Manuals don't help me at all!!!
Please help me!
Dan Valeo and RF manual didn't help me
Can someone tell me how to do that Step-By-Step?
P.S. Sorry for my Very-Very bad and ugly English 'cos I'm Estonian
SOS. Help With HUD!!!
Re: SOS. Help With HUD!!!
First of all, welcome to the forums.
Secondly, it all is in the manual:
Secondly, it all is in the manual:
Is there some thing in particular you don't understand?Clip& Magazine Display
In conjunction with weapon reloading it is possible to make the HUD display the amounts left in the clip and the number of clips left, rather than just the amount of ammunition. This change only applies if the currently selected weapon supports clips. If it doesn't, then just the amount of ammunition will be shown.
To make the HUD entry show the amount left in the clip add the line:
style = magazine
to the HUD definition. To make it show the number of clips left add this line:
style = clip
To show both clips and magazine contents at the same time you must use the ~ extension to the HUD entry name and define two different entries. For example, to show magazines and clips for bullets you would make the definitions like this:
[bullet]
type = numeric
style = magazine
framex = -100
framey = 0
indicatoroffsetx = 36
indicatoroffsety = 138
font = 9
width = 3
active = false
[~bullet]
type = numeric
style = clip
framex = -100
framey = 0
indicatoroffsetx = 36
indicatoroffsety = 158
font = 9
width = 3
active = false
Pain is only psychological.
Re: SOS. Help With HUD!!!
I understand everything, but this didn't work
hud.ini should be like this, I understand :
style=clip
style=magazine
[bullet]
style=magazine
blahblah etc.
[~bullet}
style=clip
blahblah etc.
hud.ini should be like this, I understand :
style=clip
style=magazine
[bullet]
style=magazine
blahblah etc.
[~bullet}
style=clip
blahblah etc.
Re: SOS. Help With HUD!!!
Hi Gamemaker. Did you get this issue resolved? What was happening? Did nothing show up on the screen, or did it come out wrong? Make sure you have a font #10, which is font = 9, and make sure you have equipped you weapon in the weapon ini, and player ini files.
Steve Dilworth - Resisting change since 1965!
Re: SOS. Help With HUD!!!
Nothing showed up on screen. All I got was a big headache and I wasted a lot of hourssteven8 wrote:Hi Gamemaker. Did you get this issue resolved? What was happening? Did nothing show up on the screen, or did it come out wrong? Make sure you have a font #10, which is font = 9, and make sure you have equipped you weapon in the weapon ini, and player ini files.
I copied all this script to weapon.ini, but do I have to copy it to player.ini too?
Waiting for answers
Re: SOS. Help With HUD!!!
I just meant to make sure the player is armed with the weapon and ammo you need in the player.ini file. Also, make sure your weapon supports clips.
Oh, if all that looks cool, set framex and y to like, 10.
Oh, if all that looks cool, set framex and y to like, 10.
Steve Dilworth - Resisting change since 1965!
Re: SOS. Help With HUD!!!
I used default Reality Factory weapons. When the game starts, the player has ammo. Or do I have to change [Bullet], to this weapon's ammo. Like: [GL_Grenade] etc. ?steven8 wrote:I just meant to make sure the player is armed with the weapon and ammo you need in the player.ini file. Also, make sure your weapon supports clips.
Oh, if all that looks cool, set framex and y to like, 10.
Re: SOS. Help With HUD!!!
Your hud ini file will have to have all possible weapon ammunitions in order to show them.
Steve Dilworth - Resisting change since 1965!
Re: SOS. Help With HUD!!!
Okay! Thanks for your help. REALLY!!steven8 wrote:Your hud ini file will have to have all possible weapon ammunitions in order to show them.
Re: SOS. Help With HUD!!!
You're welcome!Gamemaker wrote:Okay! Thanks for your help. REALLY!!steven8 wrote:Your hud ini file will have to have all possible weapon ammunitions in order to show them.
Steve Dilworth - Resisting change since 1965!