pwijnands
03-02-2005, 12:27
I found in export_descr_units.txt that the civilians that wander around in cities have a soldier count of 300. Which would make them have 1200 soldiers in the game in a single unit. I tried to make them trainable, the game starts but when I end my first turn the game crashes and returns to desktop.
Does anyone have ideas how to make this work?
Thanks
Epistolary Richard
03-02-2005, 14:00
The game only crashes at the end of your first turn? Have you therefore seen this 1,200 man unit on the battlefield?
Could you post the changes you've made to their entry in export_descr_unit so we can see what you've done?
The max of any unit has been incresed from 255 to 500 in the patch, so 1200 citizens are way beyond the capabilities. Mod them to be smaller then you should be able to do it.
Epistolary Richard
03-02-2005, 16:02
Errr... 500 is the max. number of units in the game in v1.2. I believe it has been determined that 60 is the max. number of soldiers in a unit in export_descr_unit.
But I would have expected a 300 unit size to CTD on start-up, not get to the end of the first turn.
Something like this:
type barbarian civ peasant
dictionary barbarian_civ_peasant ; Barbarian Tribesmen
category infantry
class light
voice_type Medium_1
soldier barb_peasant, 60, 0, 0.7
attributes sea_faring, hide_forest, can_sap, no_custom
formation 1.2, 1.8, 2.4, 2.4, 3, horde
stat_health 1, 0
stat_pri 1, 0, no, 0, 0, melee, simple, piercing, knife, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 0, 1, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, -2, 3, 2
stat_mental 0, low, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 250, 510, 30, 40, 250
ownership barbarian
should work, but lowering their soldier count makes them near-indistinguishable from peasant units and even more pointless.
pwijnands
03-02-2005, 16:22
I didn't change anything in export_descr_units.txt, I just allowed them to be built by all barracks. When I start a game I can build them and the information card says that there are 1200 soldiers in it. The game just crashes as soon as I end my turn.
Epistolary Richard
03-02-2005, 16:34
So you added an entry for them to the barracks in export_descr_buildings? If so, did you actually try to build one before it crashed?
Or did you do something else?
pwijnands
03-03-2005, 16:14
I trained one unit and then I ended my turn to see if it would work. When I clicked on the End Turn-button the game crashes to Desktop.
Epistolary Richard
03-07-2005, 11:10
Yeah, there are a number of things that the game could have had a problem with. The citizens unit is marked as non-combatant (which is probably what allows it to have the 300 unit size), and the game probably objected when it was told to build a non-combatant unit.
You could try changing the entry to infantry instead of non-combatant but then it would probably fall foul of the 60 unit size hard-coded limit and CTD on start-up.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.