Page 1 of 1
HUD Issues
Posted: Tue Aug 23, 2011 6:21 pm
by skelltor
I seem to be having some issues with using HUD icons as I can't get the wrist blaster icon to show up and I can't get a weapon to use the sbd's wrist rocket icon I referenced the parts I thought I needed in the units REQ but am a bit unsure for a stamina dispenser I can't figure out how the ammo and bacta cans HUD are referenced in the weapon odf same with a custom mine with a new texture.
Re: HUD Issues
Posted: Tue Aug 23, 2011 9:27 pm
by Fiodis
skelltor wrote:I referenced the parts I thought I needed in the units REQ
There's your problem; HUD icon references go in the weapon's odf.
skelltor wrote:I can't figure out how the ammo and bacta cans HUD are referenced in the weapon odf same with a custom mine with a new texture.
They're referenced just like any other weapon icon.
In com_weap_inf_powerup_dispenser.odf.
Re: HUD Issues
Posted: Tue Aug 23, 2011 9:45 pm
by skelltor
By referenced in the REQ I meant stuff like this.
About this line "IconTexture = "HUD_powerup_icon""
if you open up that texture n gimp you will notice that it looks nothing like the ingame HUD icon and looks like unused bf1 stuff.
Re: HUD Issues
Posted: Wed Aug 24, 2011 4:19 am
by DarthD.U.C.K.
the entrys in the req tell battlefront to load these files when the req is loaded. the icons themselves must be referenced in some odf.
Re: HUD Issues
Posted: Wed Aug 24, 2011 9:57 am
by skelltor
I know that, but I can't find the line in the odf of the wrist rocket or the powerup dispenser.
Re: HUD Issues
Posted: Wed Aug 24, 2011 10:47 am
by Fiodis
Hmm - the line that usually references the hud icon is HudTag = "something". I don't see that anywhere in the powerup dispenser odf; but I also don't see it in, say, the Republic sniper rifle. This is more a guess than anything, but maybe if the odf doesn't have anything referenced then the game just uses the weapon's mesh? That'd explain why you can't find the powerup icon anywhere.
Re: HUD Issues
Posted: Wed Aug 24, 2011 11:04 am
by skelltor
Yea I thought that too, and I am trying too get it in my new HUD, but it won't show up ingame.