28. Mär 2024, 11:02 Hallo Gast.
Willkommen Gast. Bitte einloggen oder registrieren. Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge. Hierbei werden gemäß Datenschutzerklärung Benutzername und Passwort verschlüsselt für die gewählte Dauer in einem Cookie abgelegt.


Select Boards:
 
Language:
 


Autor Thema: Help with Custom Unit Text in Map.STR  (Gelesen 2046 mal)

magickoala

  • Edain Unterstützer
  • Elbischer Pilger
  • ***
  • Beiträge: 194
  • "Nothing is true, but... Santa is."
Help with Custom Unit Text in Map.STR
« am: 21. Nov 2015, 01:14 »
Im trying to change a object name using map.str, but isnt working, the object gets the MISSING:... ingame. Im changing the display name in map.ini and adding the currentline (with a unique tag) under map.str, but.. no luck.

Ideas?

Gnomi

  • Administrator
  • Bewahrer des roten Buches
  • *****
  • Beiträge: 12.617
Re: Help with Custom Unit Text in Map.STR
« Antwort #1 am: 21. Nov 2015, 01:40 »
You can't add new names for objects via map.str.
All you can do is replace the names with other strings which are already in the game, but whenever you try to change the name with a new defined string it will show the missing.

magickoala

  • Edain Unterstützer
  • Elbischer Pilger
  • ***
  • Beiträge: 194
  • "Nothing is true, but... Santa is."
Re: Help with Custom Unit Text in Map.STR
« Antwort #2 am: 21. Nov 2015, 01:42 »
Jeah, looks like it ignores everything in your map.str =/

Guess i cant change already existent strings too?

Well, thanks man o/

Gnomi

  • Administrator
  • Bewahrer des roten Buches
  • *****
  • Beiträge: 12.617
Re: Help with Custom Unit Text in Map.STR
« Antwort #3 am: 21. Nov 2015, 11:12 »
Probably not.
You can add changes for every string, but you can't add new strings for the names. There you can only replace them with existing, like "Multiplayer" or "Ithilien" :P


Perhaps there's a way (the engine works in mysterious ways), but I haven't seen someone solve that problem yet.^^