Author Topic: Hud_gauges  (Read 1590 times)

0 Members and 1 Guest are viewing this topic.

Offline origin

  • 27
I put in a Hud_gauges table in the mod I am working on and first of all I really like the ability to change the layout a bit.  The problem I am having is that if I use the #Main Gauges command I can move the gauges where I want them, but if I use the #Ships Main Gauges there is no affect to the gauge locations.  I know that the ship must be specified the '$Ship:' line.  I am putting in the ships name that is in the Shp.tbm.

So is this function not working - I see in Wiki that the code is not complete.  I think that this a great table - it will really helps to give the feel that you are in different ships.

This works like a champ

  #Main Gauges
     $Resolution: (1024 768)
     $Player shield: (865 430)
     $Target shield: (865 630)
  #End


This has no affect on the gauges

  #Ships Main Gauges
     $Ship: Viper                         ;Name of the ship that appears in the xxx-shp.tbm table
     $Resolution: (1024 768)
     $Player shield: (865 430)
     $Target shield: (865 630)
  #End

 

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Not sure if I mentioned this in the wiki or not, but the hud_gauges table does not report parse errors, and instead silently dies.  Everything up to that point in the file will take effect though, and everything after will not be seen.  Pretty ****ty I know, but no one's been able to even go back and add basic error reporting to it yet.  I commented on this in a critical Mantis issue, #1936.  So hopefully someone feels like diving in and figuring out that code at some point.  Error checking itself is probably trivial to add, obviously the code is aware when it decides to stop parsing the file, it just needs to report why, or at least where it did, when it doesn't finish the file.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
I already posted a fix for this, since WC Saga is using this also. So far it hasn't found its way into trunk yet though.

  

Offline origin

  • 27
Are there any plans to move this forward - if not how do we do that?