Is there any gunpowder units for them? And if not, how can I modify the game to allow them to recruit Cossack Gunners, Cossack Musketeers, and cannons?
Is there any gunpowder units for them? And if not, how can I modify the game to allow them to recruit Cossack Gunners, Cossack Musketeers, and cannons?
Check the EDU and the EDB to see if they have them, and add them in the EDB if they don't.
It seems they have Cossack Gunners, but not Musketeers or cannon. How can I add these? Step-by-step please, I'm horrible at this(usually).
You can have a look at my post to Roma_Vixtic a few topics down:
http://www.twcenter.net/forums/showt...7#post12051437
I see, very detailed! Thanks for this. Though, after I do it, how will I know it works without waiting for gunpowder to come around?
You could try removing the requirements from the Export_descr_buildings file.
For instance, there's an entrance in my submod looking like this:
Just remove the "and event_counter .." and "and hidden_resource ..." parts, making it look like this:Code:recruit_pool "Cossack Gunners" 1 0.17 1 0 requires factions { kievan_rus, russia, } and event_counter science_da_vinci_ornithopter 1 and hidden_resource kievan_rus or hidden_resource russia
That way it they should be recruitable from the start (once you have the required building level of course), so you'll be able to check the Building Browser and see them listed. Just to make sure, play a few turns, as not all units seem to show up on the first turn.Code:recruit_pool "Cossack Gunners" 1 0.17 1 0 requires factions { kievan_rus, russia, cumans, }
Then if that works, you can just put the requirements back in, so you won't have cossacks running around in 1100
That's part two of my post I linked to![]()
Custom battleAlso , do not forget to make them recruitable in the campaign ( export_descr_buildings.txt)
Throw me to the wolves and I will return leading the pack !
Thanks again!
EDIT: I did what you told me to, but after step one, all the files you told me to put there were already there! Such as the UI and in battle_models. Is this a problem or should I go ahead and copy and paste it anyway?
ANOTHER EDIT: GAGH! Now I can't start the game! It crashes to desktop without an error report! WHAT DO?!
Last edited by DC53; September 29, 2012 at 09:13 AM.
You did something wrong while editing text , like a missing colon or not spacing between pharagraphs.
Throw me to the wolves and I will return leading the pack !
Okay, let me see. Also, the faction name is "cumans", no?
EDIT: I've looked and there's no missing or misplaced spaces or commas. Would you like me to post what I have?
Last edited by DC53; September 29, 2012 at 04:13 PM.
Not a problem, I backed up the files that I edited. I just want to know why it isn't starting.
Yes I edited the starting files. Yes I have a backup. This are the files I edited.
This is the export_descr_unit:
Spoiler Alert, click show to read:
However, I went to export_descr_buildings and found there are two entries for Cossack Musketeers, so I added Cumans for both, here:
Spoiler Alert, click show to read:
Finally, I went to battle_models_modeldb and found that the Cumans were already in the list, like so:
Spoiler Alert, click show to read:
"recruit_pool "Cossack Musketeers" 1 0.5 2 0 requires factions { kievan_rus, cumans }"
should be like this:
"recruit_pool "Cossack Musketeers" 1 0.5 2 0 requires factions { kievan_rus, cumans, }"
ZOUNDS! How could I have missed that? Thanks I will try this later at home.
When you get a crash, check the log.
Back with an update, it works now, and the Musketeers are in the roster. Thanks for all the help!