• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Custom text not showing on first load

Status
Not open for further replies.
Vague title.

I have imported a .tff (font) and the war3mapskin.txt and war3campaignMisc.txt which sets the font used.

Now the issue is that when the map is started (both from Test Map and from ingame) it will use the default font.
When the map is either restarted or exited and started again the custom font will be used (even in the menu, but that's fine).

The question is. Can I make the map use my imported font the first time the map is started so a restart is unnecessary?


Edit:
Actually this only seem to be a problem with floating texts. But since I need them to use the custom font as well, I would still like a solution.
 
Yes, the exception is with floating texts. It just sees your change too late/sets the text tag data too early on. You can pick an alternative for your text tags like TextSplat.

Ah... that seems to much of a hassle for just floating texts.
What I think I'll do instead is to simply reload the map the first time a player starts it up, using the game cache to detect if the map has already loaded once.
 
Status
Not open for further replies.
Top