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

Title: F***in RTT, how does it work?
Post 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:
Code: [Select]
$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:
Code: [Select]
  +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?
Title: Re: F***in RTT, how does it work?
Post by: Swifty on October 08, 2012, 03:44:16 pm
is your cockpit panel texture separate from the rest of your cockpit?
Title: Re: F***in RTT, how does it work?
Post by: Talon 1024 on October 08, 2012, 03:59:37 pm
Yes, it's called HUD(.dds).

I'm using one of Scooby Doo's cockpit models.
Title: Re: F***in RTT, how does it work?
Post by: Swifty on October 08, 2012, 04:01:17 pm
If you can post the models and textures here I can take a look at it when I get back from work.
Title: Re: F***in RTT, how does it work?
Post by: Talon 1024 on October 08, 2012, 04:09:31 pm
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).
Title: Re: F***in RTT, how does it work?
Post by: Talon 1024 on October 09, 2012, 08:05:56 pm
little :bump:
Title: Re: F***in RTT, how does it work?
Post by: Swifty on October 15, 2012, 01:56:33 am
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