Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Unknown Target on October 26, 2002, 01:08:13 pm

Title: Could someone try this out?
Post by: Unknown Target on October 26, 2002, 01:08:13 pm
I thought of a neato way to make it so that the player has a 2D-cockpit when facing forward (meh, like we ever use the option to turn your head in-game :D).

Anyways, you know how each section of your HUD is in PCX format? Well, i was thinking, if you manage to put in a static image in each of the frames of the animation for that section of the hud, like put a frame around the radar screen animation, if you did it correctly, you could make it big enough so all of them meshed into one image.
Title: Could someone try this out?
Post by: Anaz on October 26, 2002, 02:01:24 pm
sory, but I don't think you could do that. all of the .pcx's are grey (more like alpha blending maps IIRC) and they get converted to selected HUD color (green by default...). So, you see the issue.
Title: Could someone try this out?
Post by: TrashMan on October 26, 2002, 03:42:01 pm
I sthere no way to add a cockpit? What's with those guys who are doing the Freespce Source Code project?
Title: Could someone try this out?
Post by: EdrickV on October 27, 2002, 07:06:32 pm
Only way I can see to do a cockpit would be to put a fullscreen image between the HUD stuff's layers and the 3D stuff's layer(s). And I'm not sure the code supports that. (I haven't looked into this.)
Title: Could someone try this out?
Post by: EdrickV on October 27, 2002, 08:12:57 pm
BTW, the HUD is done with anis not pcx files. That means it expects files to have a certain number of frames and to be a certain size.