HUD Issues
Moderator: Moderators
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
HUD Issues
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.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: HUD Issues
There's your problem; HUD icon references go in the weapon's odf.skelltor wrote:I referenced the parts I thought I needed in the units REQ
They're referenced just like any other weapon icon.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.
Code: Select all
IconTexture = "HUD_powerup_icon"Hidden/Spoiler:
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: HUD Issues
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.
Hidden/Spoiler:
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.
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: HUD Issues
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.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: HUD Issues
I know that, but I can't find the line in the odf of the wrist rocket or the powerup dispenser.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: HUD Issues
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.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: HUD Issues
Yea I thought that too, and I am trying too get it in my new HUD, but it won't show up ingame.
