Author Topic: Spartan labels display glitch  (Read 1105 times)

0 Members and 1 Guest are viewing this topic.

Offline dino

Spartan labels display glitch
« on: March 27, 2019, 10:22:54 pm »
I have a display error when Spartan labels text next to units/bases ( unit orders, bases size ) are ampty black rectangles.
The fonts is rendered black instead of white, so it's invisible on the black backround. Anyone else had this issue ?

Offline Vidsek

Re: Spartan labels display glitch
« Reply #1 on: March 28, 2019, 12:02:22 am »
    Yes, I've seen the same thing.  A bit frustrating.
All this talk of fungus and worms makes me hungry...

Offline scient

Re: Spartan labels display glitch
« Reply #2 on: March 28, 2019, 01:02:31 am »
Does a reload fix this? And if not, got a saved game you could upload? I have poked around the Font engine class a little bit and might be able to see the issue.

Offline dino

Re: Spartan labels display glitch
« Reply #3 on: March 28, 2019, 06:45:51 am »
OK, I think I've found the source of the issue. It seems that white font for Sparta is hardcoded and applied only for a faction called SPARTANS that is in the FACTIONS# section of the alphax.txt.

I've made a mod where original factions where replaced with "faction_ai" with ai buffs and NEWFACTIONS# where replaced with unmodified original seven, for me to pick from.
So SPARTANS_AI didn't work because of the name and SPARTANS didn't work because of wrong section. Basically you can't have custom faction with black theme.

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
106 (33%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
5 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 316
AC2 Wiki Logo
-click pic for wik-

* Random quote

It is not uncommon to see patients undergo permanent psychological trauma in the presence of the Sphere, before the nerve stapler has even been strapped into position. Its effect on the general consciousness of the culture is profound: husbands have seen wives go inside, and mothers their children. Dr. Xynan left the surface of the sphere semitranslucent for a reason. You can hear them in there.. you can see them. It is a thing of terrible beauty.
~Baron Klim 'The Music of the Spheres'

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 38.

[Show Queries]