Modding Help!!!
Moderator: Slitherine Core
-
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.
Thankyou. You wouldn't happen to know what sound editing progam I need, would you?
"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.
Sound Forge, gotcha. Thankyou so much for all of your help and patience! You guys are the best!
Dithy
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
How to change roman army invasion settings and so on.
1 In the file events.txt and eventinvasion.txt i am change Roman settings. When I play the game, I see that Roman army has invasion only one time.
// Roman Invasion Warning
SET chanceOfEvent Rnd % 10000
IF ( ( turnCounter > 120 ) && ( timeSinceRoman > 60 ) && ( chanceOfEvent <
romanInvasionChance ) )
{
IF ( RomansCantInvade == 0 )
{
SET timeSinceRoman 0
SHOWMESSAGE 0 13
}
}
IF ( timeSinceRoman == 3 )
{
SHOWMESSAGE 1 13
IF ( turnCounter <= 180 )
{
SET xPos 1
SET yPos ( Rnd % 233) + 51
SET armySize 16
SET upgradeLevel 5
SET maxBR 250
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
}
// after 20 years drop in a 2rd army
IF ( ( turnCounter > 180 ) && ( turnCounter <= 300 ) )
{
SET xPos 1
SET yPos ( Rnd % 233) + 51
SET armySize 16
SET upgradeLevel 5
SET maxBR 250
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
}
// after 30 years drop in a 3rd army
IF ( ( turnCounter > 300 ) && ( turnCounter <= 420 ) )
{
SET xPos 1
SET yPos ( Rnd % 233) + 51
SET armySize 16
SET upgradeLevel 5
SET maxBR 250
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
}
}
When I must search error?
2 Which way I can change units in the fort? (for example I want to exchange proto-hoplite to dardanian spearmen)
// Roman Invasion Warning
SET chanceOfEvent Rnd % 10000
IF ( ( turnCounter > 120 ) && ( timeSinceRoman > 60 ) && ( chanceOfEvent <
romanInvasionChance ) )
{
IF ( RomansCantInvade == 0 )
{
SET timeSinceRoman 0
SHOWMESSAGE 0 13
}
}
IF ( timeSinceRoman == 3 )
{
SHOWMESSAGE 1 13
IF ( turnCounter <= 180 )
{
SET xPos 1
SET yPos ( Rnd % 233) + 51
SET armySize 16
SET upgradeLevel 5
SET maxBR 250
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
}
// after 20 years drop in a 2rd army
IF ( ( turnCounter > 180 ) && ( turnCounter <= 300 ) )
{
SET xPos 1
SET yPos ( Rnd % 233) + 51
SET armySize 16
SET upgradeLevel 5
SET maxBR 250
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
}
// after 30 years drop in a 3rd army
IF ( ( turnCounter > 300 ) && ( turnCounter <= 420 ) )
{
SET xPos 1
SET yPos ( Rnd % 233) + 51
SET armySize 16
SET upgradeLevel 5
SET maxBR 250
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
CREATEARMY xPos yPos armySize 102 upgradeLevel maxBR
}
}
When I must search error?
2 Which way I can change units in the fort? (for example I want to exchange proto-hoplite to dardanian spearmen)
-
IainMcNeil
- Site Admin

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
The events.txt is just a compilation of all the smaller eventsXXX.txt files. You can change teh events.txt and do not need to edit the eventsbarbarian.txt file.
There is a big gap between invasions. Maybe they are coming but have not arrived yet? DO you want the Roman army to be bigger or do you want them to arrive more frequenctly?
There is a big gap between invasions. Maybe they are coming but have not arrived yet? DO you want the Roman army to be bigger or do you want them to arrive more frequenctly?
-
giannis3568
- Private First Class - Opel Blitz

- Posts: 4
- Joined: Mon Jun 26, 2006 8:12 am
- Location: Knossos
Hallo Dithyrambos!dithyrambos wrote: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.I think Leonidas and Dienekes would be proud
it brings a tear to the left side of my right eye!
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".And when I built a unit of "93" to see if they would have the right name on the campaign map, the game CTDs!
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
Nice to see people so interested in history!!
Salutes from Knossos , Grete !
ΜΟΛΩΝ ΛΑΒΕ