HUD health icons

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
SteveK14
Old School Staff
Posts: 405
Joined: Sat Mar 05, 2005 3:59 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: USA
Contact:

HUD health icons

Post by SteveK14 »

On some objects I have in my map the health icons, when targeted by enemy units, are a square box. I have made an icon file for each one, but it doesn't seem to show up. Any help please?


Steve
SteveK14
Old School Staff
Posts: 405
Joined: Sat Mar 05, 2005 3:59 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by SteveK14 »

Wow. Stumped everyone?

Steve
SteveK14
Old School Staff
Posts: 405
Joined: Sat Mar 05, 2005 3:59 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by SteveK14 »

I am loading the vehicles from the world folder. I have in my worldid.req:

REQN
{
"texture"
"nab2_water"
"lander_icon"
"alllander_icon"
"falcon_icon"
}

I have the tga files in the world msh folder. they still don't load to the health hud. In my odf for the vehicles I have :

BUILDINGSECTION ="BODY"
Label ="Assault Lander"
MapTexture ="hud_dest_icon"
HealthTexture = "HUD_alllander_icon"
MapScale =3.0

********************************

FLYERSECTION = "BODY"
Label = "YT-1300"
MapTexture = "falcon_icon"
HealthTexture = "HUD_falcon_icon"
VehiclePosition = "common.vehiclepositions.pilot"
MapScale = 1.5

********************************

[Properties]
BUILDINGSECTION ="BODY"
Label ="Assault Lander"
MapTexture ="hud_dest_icon"
HealthTexture = "HUD_lander_icon"
MapScale =3.0


Steve
SteveK14
Old School Staff
Posts: 405
Joined: Sat Mar 05, 2005 3:59 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by SteveK14 »

Fred,

You were right the first time I guess. I loaded the textures as you said both from the world and the side but that didn't work. I went to the odf just for kicks and set:

MapTexture = "falcon_icon"
HealthTexture = "HUD_falcon_icon"

to:

MapTexture = "falcon_icon"
HealthTexture = "falcon_icon"

loaded the textures from the world req, and VOILA!! they work. Thanks for the help.

Steve
Post Reply