Page 1 of 1

Changing grenade HUD icon texture?

Posted: Tue Nov 27, 2018 2:43 am
by SkinnyODST
My map has 2 grenade types, stock and EMP. They both use the same grenade hud icon with the red light. I've already made a texture with a blue light and made it it's own .msh and .tga file
hud_thermaldetonator_emp.msh and hud_thermalemponator.tga
but after looking at all the odf files relating to thermal detonators, I can't find a single place where the hud icon's texture is referenced. All I want to do is make the EMP grenade use the different texture so its easier to tell the two apart, how can I do this?

Re: Changing grenade HUD icon texture?

Posted: Thu Nov 29, 2018 5:45 pm
by FlatulentMoth
I want to say there is a texture in data_XYZ/common

Re: Changing grenade HUD icon texture?

Posted: Sat Dec 01, 2018 12:30 pm
by SkinnyODST
FlatulentMoth wrote:I want to say there is a texture in data_XYZ/common
There are, but I can't find where they're mentioned in the grenade odfs

Re: Changing grenade HUD icon texture?

Posted: Sat Dec 01, 2018 6:00 pm
by FlatulentMoth
My bad, I misread the question...

I am pretty sure that you should use the parameter "HUDTag" to define the hud texture. (kind of like defining models and textures)

So, in this case, just add the line:

Code: Select all

HUDTag = "hud_thermaldetonator_emp"

Re: Changing grenade HUD icon texture?

Posted: Sun Dec 02, 2018 5:22 pm
by ARCTroopaNate
I've been having this problem as well, I tried this and it didn't work.