I'm trying to make a mod based on something I read in the chronicles, somewhere, to the effect that when other Greek city states would ask for military aid of one another, they would ask for men or ships, but when her allies requested aid of Sparta, they usually asked for a commander.
Anyway, I've made a mod where I simply changed the stats of the Leonidas unit to make a more generic Polemarch unit unique to the Spartans for use in the mod in place of the generic Western General. I changed all the appropriate references in the squad, building, and localization_a files having to do with the unit and then ran the localiser.exe from the directory above the 'data' folder for the mod, producing a text file called 'Lstrings' in the same directory, but every time I open the game and run it with the mod, it still lists the unit as 'Leonidas' in the Pedia and then crashes at the turn when the unit is produced.
Any clue how to fix this, then?
Mod Issues, Spartan/GOT installed
Moderator: Slitherine Core
-
IainMcNeil
- Site Admin

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
I copied over the content of the Mod folder in Troy to the Spartan folder, but still, no dice. I've a feeling the problem is one where the game is not reading my changes to the localization files for some reason. Perhaps I don't have the directories arranged properly. There were no instructions with the Mod kit about where the localizer.exe files were supposed to go, for instance. Currently, I have them within the Mod folder alongside the folders for the individual mod files. When I try to run the localizer from within the individual mod files, I get an error message.
-
IainMcNeil
- Site Admin

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
It's still not working. Has anyone else been able to rename units in the game with Spartan and Gates of Troy installed? Maybe I could get an idea of what I'm doing wrong by looking at some of their files.
Also, I've noticed that in the 'Strings' file generated by the localizer, the unitID for 77, Leonidas, is blank. Maybe the localizer only works on units from Spartan? I'll test it.
Also, I've noticed that in the 'Strings' file generated by the localizer, the unitID for 77, Leonidas, is blank. Maybe the localizer only works on units from Spartan? I'll test it.
-
pipfromslitherine
- Site Admin

- Posts: 9939
- Joined: Wed Mar 23, 2005 10:35 pm
If I recall correctly (and this is going back quite a way!) Troy uses an 'overlay' text file - with some char which is used to denote that it should use the Spartan version of the string. I would recommend editing this file and then replacing the Troy lang file (I don't have it in front of me but I think it's lang_a.str?).
Cheers
Pip
Cheers
Pip
-
brasidas
- Corporal - 5 cm Pak 38

- Posts: 31
- Joined: Mon Apr 04, 2005 2:35 am
- Location: davao city
- Contact:
I had similar problems see my thread on this at http://www.slitherine.com/eslitherine/f ... php?t=1935
