Forum

Please or Register to create posts and topics.

Adding HUD Icon Display

We will make a HUD icon for vehicles to look the same as in game.
Start off by taking a screen shot of your model, click Render and save image as a .tga preferably without the textures

Trim the excess black off the image so you have something like below

In Photoshop create a new image 128px x 256px make it Transparent.
Add a new Alpha Channel to image

Next we will grab the H_strykr1.tga image from the JO Game Localres.pff
Open it and click the Alpha channel and close the RGB colors so it like below

So we have our H_Strykr1.tga, our 128 x 256 image with Alpha and screen print we took in 3DMAX.
We need to copy n paste our new image we trimmed down into the Alpha Channel of the 128x256 image like below, resize the image so it sits to the bottom left

Now we need to add the seating
Go back to your H_Strykr1.tga and copy the little black box for seating to your image

We will copy n paste twice to get 2 seating positions, as below

Open the HUDPOS.def
go to the bottom and add the following

VEHICLE_HUD
sid ski02
interface H_ski001.tga
driver 29, 195
seats 1,29,217
VEHICLE_END

VEHICLE_HUD
sid ski02 <--- Model Name
interface H_ski001.tga <--- In Game Hud Image
driver 29, 195 <--- Drivers Seating Postion
seats 1,29,217 <--- Passanger Seating Position
VEHICLE_END

The number 29, 195 are the position for the seats, you might have to play around to get it correct.
The finished in game image