Page 1 of 1

Revolts in Spartan

Posted: Sat Dec 17, 2005 11:29 pm
by brasidas
When a city goes into revolt, what determines the size and composition of the rebel army and can it be changed?

Is it also possible to put an individual city in revolt instead of the whole side?

I can randomly change the happiness of any side by adding code 2 the random event text file, I also give the revolting city a chance of independence once again by creating an army even if it has been taken prior to the event.

The created armies composition is determined by the battle rating and thus units that should not be available are produced.

Posted: Mon Dec 19, 2005 9:47 am
by IainMcNeil
What type of revolt do you mean? The ones that happen from diplomacy actions or the ones that are scripted events in game?

The armies.txt file specifies what appears in an army. In events.txt the CreateArmy tag includes an ID to reference that army so thats how you match it up.

If it is diplomacy related then from memory its all hard coded.

Posted: Mon Dec 19, 2005 10:02 pm
by brasidas
I mean when a cities happiness drops from content thru to discontent, protesting , on strike then you lose control of city and it reverts to "peasant rebel" side. A peasant army is introduced into the city with side type tribal. Therefore the composition of this army is made up of what squads are available to the tribal ethic group. This army size seems to be randomly generated but containing a large number of units. How is this army generated and can i do anything about its size and composition.

I am doing this artificially by using the MODHAPPINESS command thru the event text files.

This is not the same as causing statis via the diplomats.

I am also interested in the way the CREATEARMY command works in the event txt files.

thanks

Posted: Tue Dec 20, 2005 12:12 pm
by IainMcNeil
You cant control the size of the revolt army in this situation as far as I remember, though have a look through the tweaks file and see if anything looks appropriate.