Author Topic: Spartan labels display glitch  (Read 883 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
-=-
103 (32%)
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
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

And the Lord God said, 'Behold, the man is become as one of us, to know good and evil: and now, lest he put forth his hand, and take also of the tree of life, and eat, and live forever, we must send him forth.' Therefore the Lord God sent him forth from the garden of Eden, to till the ground from whence he was taken.
~The Conclave Bible

* 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: 39.

[Show Queries]