Mod Issues, Spartan/GOT installed

PC/MAC : Turn based Empire building in the ancient Greek World.

Moderator: Slitherine Core

Post Reply
mothax7
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Thu Nov 17, 2005 4:20 am

Mod Issues, Spartan/GOT installed

Post by mothax7 »

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?
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

We add some clever stuff to stop the game turning English if you bought Gates of Troy which seems to intefere with mods. Are you changing the data in GoT or in Spartan? You may have to try doing it in both :(
mothax7
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Thu Nov 17, 2005 4:20 am

Post by mothax7 »

I think I only edited it in the Troy folder. Since the Leonidas unit came with the expansion, I assumed that was all that was necessary. I'll try adding it to the original Spartan files, as well, and post back with my results.
mothax7
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Thu Nov 17, 2005 4:20 am

Post by mothax7 »

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
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

The localiser.exe needs to sit with the game exe.
mothax7
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 4
Joined: Thu Nov 17, 2005 4:20 am

Post by mothax7 »

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.
pipfromslitherine
Site Admin
Site Admin
Posts: 9939
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

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
brasidas
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Mon Apr 04, 2005 2:35 am
Location: davao city
Contact:

Post by brasidas »

I had similar problems see my thread on this at http://www.slitherine.com/eslitherine/f ... php?t=1935
Post Reply

Return to “Spartan & Gates of Troy”