Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Talon 1024 on October 08, 2012, 03:22:59 pm
-
Or rather, how do I get it working?
I've defined a cockpit display in the ships TBM like this:
$Cockpit Display:
+Texture: HUD
+Offsets: (0, 0)
+Size: (640, 640)
+Background: CP_Disp_BG
+Foreground: CP_Disp_FG
+Display Name: Radar
And I've defined a HUD gauge that uses the display like this:
+Radar BSG:
Position: (0, 0)
Cockpit Target: Radar
Canvas Size: (1024, 1024)
Display Size: (640, 640)
However, when I try it ingame, it doesn't show up on the cockpit display I defined in ships.tbl. How do I get this to work? Is there something obvious I'm missing here?
-
is your cockpit panel texture separate from the rest of your cockpit?
-
Yes, it's called HUD(.dds).
I'm using one of Scooby Doo's cockpit models.
-
If you can post the models and textures here I can take a look at it when I get back from work.
-
Or just download the Banshee from this thread (http://www.hard-light.net/forums/index.php?topic=73516.0), since it's the one I'm working with.
EDIT: I just made a mini-mod so that others can take a look. Get it here (http://www.ciinet.org/kevin/cpitminimod.7z).
-
little :bump:
-
I spent the week knocking out bugs in the cockpit HUD system. I've finally spewed out some working examples.
http://www.hard-light.net/forums/index.php?topic=82572.0