Author Topic: Weapons gauge graphics overlapping  (Read 988 times)

0 Members and 1 Guest are viewing this topic.

Offline Yarn

  • 210
Weapons gauge graphics overlapping
The attached image shows what BP's weapons gauge currently looks like, at least for me. As you can probably tell, the gauge's graphics aren't properly aligned. This happens because bpc-visuals1.vp contains taller versions of the weapons gauge graphics and the HUD table does not take this into account. The best solution to this is probably to just remove those altered graphics.

In case it helps, I noticed this in the first real mission of War in Heaven 1.

[attachment DELETED!! by Strong Bad]
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Weapons gauge graphics overlapping
They look like the graphics from the old abp2-hud-font-fix.vp file, but without the corresponding hud table changes.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline Yarn

  • 210
Re: Weapons gauge graphics overlapping
Is there any chance of this being fixed?
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Weapons gauge graphics overlapping
Most def, but I dunno if anyone's in a position to test and push a patch right now. I'm super overdue on my next book.

 

Offline Yarn

  • 210
Re: Weapons gauge graphics overlapping
All you really need to do is remove the weapons*.ani files from bpc-visuals1.ani\data\hud. As long as nothing in BP expects taller weapons gauge graphics (which the HUD table certainly doesn't), there shouldn't be any problems.
"Your fighter is running out of oil.  Please check under the hood and add more if necessary"
--strings.tbl, entry 177

"Freespace is very tired.  It is shutting down to get some rest."
--strings.tbl, entry 178

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Weapons gauge graphics overlapping
An update has been pushed to the installer and FTP that fixes this.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns