Modding Help!!!
Moderator: Slitherine Core
Modding Help!!!
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
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

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

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

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
-
dithyrambos
- Senior Corporal - Destroyer

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
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
Dithy
-
IainMcNeil
- Site Admin

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
-
dithyrambos
- Senior Corporal - Destroyer

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
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.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.
"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

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
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
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

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

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
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
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

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
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.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.
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".
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

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
-
IainMcNeil
- Site Admin

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

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
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?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
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

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

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
Thankyou for your advice.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!
Which instructions? Wouldn't the localization file already be that type of file?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.
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

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
-
dithyrambos
- Senior Corporal - Destroyer

- Posts: 103
- Joined: Sat May 13, 2006 5:01 am
- Location: Thermopylae, 480 B.C.
Okay, thanks. Can you tell me how to do that, though? I'm not the most knowledgeable when it comes to combining music tracks. 
"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
