Modding Help!!!

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

Moderator: Slitherine Core

mikbro
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Sun Jan 29, 2006 8:41 pm

Modding Help!!!

Post by mikbro »

No matter what file I change and then save, has no effect on the game.
What's up?
Trying to mod the Grand Campaign, playing Spartans, trying to tweak the resources a little.
Modding the sides file.
Tried creating a new mod, that didn't show up.
So I tried installing the new patch, but that gave me a CTD.
Anyone?
TIA
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

Do you have Gates of Troy installed as well? What files did you change & what values did you change? Are you running Troy or Spartan. Which dir is your Mod in?
mikbro
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Sun Jan 29, 2006 8:41 pm

Post by mikbro »

I have Spartan only.
i created a mod folder, then inside that a Mikes game folder.(Spartan/Mod/Mikes)
But the folder never shows up.
Then all i did was pump up the resources for Spartans.
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

It might need to be "mods". Check the instructions.

Note : Inside your dir you need to replicate the dir structure of the game. E.g. data\maps\grand campaign, or whatever scenario you are trying to change.
mikbro
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Sun Jan 29, 2006 8:41 pm

Post by mikbro »

Check what instructions??????
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

In the sticky post "Mod Kit". It looks like "mod" is correct so it must something else you are doing wrong.
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

I also have a modding question. I manged to get a mod running, and it is playable. It starts in 1300 B.C. and is identical to the Grand Campaign except that the Lakedaemonians control both Messenian cities. Considering that it is in 1300 B.C., and not 400 B.C., I wanted to push the historical events back 900 years. I added the apropriate number of months to the time. But they still happen after the same amount of turns as they do in the GC. Also, I wanted to just remove the Persian, Roman, and Triballian invasions, so I deleted the folder with those invasions, but still the invasions come on schedule. Why aren't these changes I've made taking effect?

Dithy
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

The events are triggered on a turn number not date. If you want to push them back you'd ned to edit the events text file and add in 12*year for how long you want to push back the event.
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

iainmcneil wrote:The events are triggered on a turn number not date. If you want to push them back you'd ned to edit the events text file and add in 12*year for how long you want to push back the event.
That's what I did. I calculated how many turns would be 900 years and added that to the file. But they still fire when they're "supposed" to fire.
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

Here's another modding question.

I want to modify the Spartiate unit, but I don't understand the whole language of the file.
Some examples: the resourse requirements are listed thus: Gld Fd Wd BM Cop Tin Hrs Gem Inc
counting the appropriate number of spaces, the cost for Spartiates appears to be 800 Hrs, and their mantainence seems to be 400 Inc. But in the game, their cost is in copper, not horses.

Also what is "disorder penalty"? And "PanicEffector"? Is there any level to "Discipline" that would make them unbreakable? What is "KillEqualizer"?

Thankyou.

Dithy
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

Its easiest to change values in the xls file and save out to test, as the values are all lined up nicely and clearly. Disorder is teh % eficiency when disordered, so lower for heavy infantry than light & cavalry. Panic is how much panic they instill in your own side if you lose them (routed). Discipline above 500 or so is almost unbreakable. Kill equalizer is a modifier to make archers gain less xp from kills than hand to hand troops etc.
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

Okay, thankyou very much.

One more question.

Is there a way to add more units into the game, and use the same graphics? For example, could I make a Spartan equivalent to Hoplites, and use the Hoplite graphics? Same for Proto-Hoplites and Astynomia? etc.?

Thankyou

Dithy
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

iainmcneil wrote:Its easiest to change values in the xls file and save out to test, as the values are all lined up nicely and clearly. Disorder is teh % eficiency when disordered, so lower for heavy infantry than light & cavalry. Panic is how much panic they instill in your own side if you lose them (routed). Discipline above 500 or so is almost unbreakable. Kill equalizer is a modifier to make archers gain less xp from kills than hand to hand troops etc.
I tried using 500 and 600 and 700, but the Spartiates still broke after enough losses. So I just upped their discipline to 999! Then I went to the Sandbox scenario, sent 3 Spartiate units up against a while army, and it was a beautiful sight. My 120 Spartans fought bravely and died to the last man! Just like real Spartans. 8) I think Leonidas and Dienekes would be proud :cry: it brings a tear to the left side of my right eye! :lol:

EDIT: ADDED MAY 19, 2:22 PM

Argh! I need more help! I tried adding a new unit to the game and it wouldn't work! I edited the "Spare 35" file and made it into a Spartan version of the Elite Hoplite. But the name I gave, Homoioi, wouldn't show up, it was just called "93". The desctiption didn't show up either. I also modded the description of the Spartiate description to say "They are better than Homoioi" instead of "They are better than Hoplites", but the Spartiate description still says "Better than Hoplites". :x And when I built a unit of "93" to see if they would have the right name on the campaign map, the game CTDs! :x Whats wrong? I filled in everything I could find in the "Localization" file. I filled in everything in the "sqauds" file. What more do I need to do to get my Homoioi, and later add the Perioikoi and Helots to the Spartan Army?

Dithy
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

Anybody?
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

You'd need to edit the battlegfx file and add the new unit in. You'd need to create a copy of the unit graphics you want to add name it appropriately. You need to edit the game text file & then convert it as per the text editing instructions. Adding new units is not simple - it's much easier to modify the stats of existing units :(
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

iainmcneil wrote:You'd need to edit the battlegfx file and add the new unit in. You'd need to create a copy of the unit graphics you want to add name it appropriately. You need to edit the game text file & then convert it as per the text editing instructions. Adding new units is not simple - it's much easier to modify the stats of existing units :(
Couldn't I use the same graphics as another unit? Since the Homoioi unit I'm trying to make is of almost equal ability as the Elite Hoplites, I was just going to recycle the Elite Hoplite Graphics. and I was going to use Hoplite graphics for the Perioikoi, and Astynomia graphics for the Helots, plus Psiloi Javelinmen graphics for the Helot Javelinmen. Would that work? BTW, what is the "game text file"? Where is it?

EDIT: Graphics problem solved. But I can't get the name to show. It's still called "93" and the description I wrote doesn't appear. But atleast I can train the unit and the game won't CTD anymore.

I also have another question. I wanted to take music files from Legion and use them in Spartan also. But the game won't play them. I think it may be because the Spartan tracks are *.mp3 files and the Legion tracks are *.wav files. Is there any way to convert *.wav files to *.mp3 files? Is that even necessary? Also, could I take Graeco-Roman sounding tracks from other games like CIV III and Pax Romana and have them in Spartan?
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

There are progerams that convert Wav to MP3 so if you download one you'll be able to do that. You can play anything as long as it is the right format. You may even be able to force Spartan to play waves by setting MUSICTYPE to 2 I think, but this may not work!

As for text changes, make sure you're using the converter proagram to change the text to a lang.str file used by the game. Check teh instructions for details.
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

iainmcneil wrote:There are progerams that convert Wav to MP3 so if you download one you'll be able to do that. You can play anything as long as it is the right format. You may even be able to force Spartan to play waves by setting MUSICTYPE to 2 I think, but this may not work!
Thankyou for your advice. 8)
iainmcneil wrote:As for text changes, make sure you're using the converter proagram to change the text to a lang.str file used by the game. Check teh instructions for details.
Which instructions? Wouldn't the localization file already be that type of file?

EDIT: I converted the two tracks from Legion that I wanted into mp3 files. I wanted the Campiagn music and the Frontend music. So I saved them as Campaign2.mp3 and Frontend2.mp3 so that I wouldn't overwrite the originals. But when I got into Spartan, it just played the original frontend over and over in the main menu, without ever playing Legions frontend. I want to have both play, is this possible? Is there some place I need to tell it what tracks to play where? I looked but couldn't find one. :(
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

The only way to alternate between the two would be to edit the files and paste one on the end of the other. It only plays one track.
dithyrambos
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 103
Joined: Sat May 13, 2006 5:01 am
Location: Thermopylae, 480 B.C.

Post by dithyrambos »

Okay, thanks. Can you tell me how to do that, though? I'm not the most knowledgeable when it comes to combining music tracks. :oops:
"Now Dithyrambos, the Thespian captain... by trade an architect and by no means a professional soldier, had already distinguished himself with such magnificent courage throughout the day..." From Steven Pressfield's Gates of Fire
Post Reply

Return to “Spartan & Gates of Troy”