Age of Empires II (2013)

Age of Empires II (2013)

Advance to the Steam Age
Explore new maps, multiplayer scenarios, and user created campaigns. Or reinvent your game experience with new sounds, visuals, AI, units, and more! Ready to share your creations with the world? Upload right from the map editor, or collaborate with friends to create a masterpiece collection.
Editing Civ Information with Language Strings - Keeps crashing game
This is an issue that I ran into when I first began modding. To provide context I'm making a mod in which I replace the Malians with Tibetans, let's say I wan't to change "Buildings are 15% cheaper" to "Monestaries are cheaper"

In the document, the entire string is;
120175 "Infantry civilization \n\n· Infantry armor research provides +1 additional pierce armor per research \n· Monasteries cost 100 wood. Standing monks generate gold.\n· Monasteries, Towers get +25% hp in Castle and +25% in Imperial \n\n<b>Unique Unit:<b> Dharmaphala (Mountable infantry)\n\n<b>Unique Techs:<b> Lamellar (Infantry get +1/+1 armor); Nirvana (Monks regain faith 75% faster)\n\n<b>Team Bonus:<b> Blacksmith research doubly faster"

However when I change this at ALL, even something as miniscule as changing one character (like 15% to 18%, just to test if it was a character limitation issue), when booting up the game with the text interface mod enabled, it will prompltly freeze and crash IF I click on the tech tree for the edited civ.

Yes, I use the modded-strings utf8, and yes it works fine otherwise with unit and technology names. However it is specifically the civ information, which is naturally vital to a mod for replacing a civ, that causes these problems. Any other insights on this would be appreciated

Last edited by THE TERRIBLE SORCERER; 3 Dec, 2018 @ 3:59pm
< >
Showing 1-2 of 2 comments
Jineapple 12 4 Dec, 2018 @ 11:42am 
Hmm I think that might potentially be an encoding issue. Are you saving this in in UTF-8?
The dots used aren't ascii chars, they might be what's going wrong. You could try removing them to see if it works then.
I believe that was the issue - I solved it by basically reconstructing the string by hand and afterwards noticed those were dots, not periods, and I replaced them with periods. It's strange because they were used in the original string as it would seem.
< >
Showing 1-2 of 2 comments
Per page: 1530 50