Results 1 to 19 of 19

Thread: Cuman Khanate

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Cuman Khanate

    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?

  2. #2

    Default Re: Cuman Khanate

    Check the EDU and the EDB to see if they have them, and add them in the EDB if they don't.

  3. #3

  4. #4

    Default Re: Cuman Khanate

    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).

  5. #5

    Default Re: Cuman Khanate

    Quote Originally Posted by DC53 View Post
    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

  6. #6

    Default Re: Cuman Khanate

    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?

  7. #7

    Default Re: Cuman Khanate

    Quote Originally Posted by DC53 View Post
    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:

    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
    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, cumans, }
    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.
    Then if that works, you can just put the requirements back in, so you won't have cossacks running around in 1100

    Quote Originally Posted by Alexanderos View Post
    Custom battle Also , do not forget to make them recruitable in the campaign ( export_descr_buildings.txt)
    That's part two of my post I linked to

  8. #8
    Alexanderos's Avatar Senator
    Join Date
    Jan 2012
    Location
    Cotnari
    Posts
    1,057

    Default Re: Cuman Khanate

    Custom battle Also , 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 !


  9. #9

    Default Re: Cuman Khanate

    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.

  10. #10

    Default Re: Cuman Khanate

    Quote Originally Posted by DC53 View Post
    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?!
    Always backup...

  11. #11

    Default Re: Cuman Khanate

    Quote Originally Posted by DC53 View Post
    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?!
    You edited the already existing files, not create new ones I hope?
    I hope you made a backup of any files you changed, as mentioned in my link. If so, restore the backups and try again. Something obviously went wrong since the game won't start.

  12. #12
    Alexanderos's Avatar Senator
    Join Date
    Jan 2012
    Location
    Cotnari
    Posts
    1,057

    Default Re: Cuman Khanate

    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 !


  13. #13

    Default Re: Cuman Khanate

    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.

  14. #14

    Default Re: Cuman Khanate

    Not a problem, I backed up the files that I edited. I just want to know why it isn't starting.

  15. #15

    Default Re: Cuman Khanate

    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: 
    type Cossack Musketeers
    dictionary Cossack_Musketeers ; Cossack Musketeers, up
    category infantry
    class skirmish
    voice_type Light
    banner faction main_missile
    banner holy crusade
    soldier Cossack_Musketeers, 60, 0, 0.75, 0.35

    attributes sea_faring, hide_forest, very_hardy, can_withdraw, gunpowder_unit, start_skirmishing, gunmen
    formation 1.2, 1.4, 1.2, 1.4, 5, square
    stat_health 1, 2
    stat_pri 24, 3, quality_caliver_bullet, 130, 12, missile, missile_gunpowder, piercing, none, musket_shot_set, 700, 1
    stat_pri_attr area
    stat_sec 4, 2, no, 0, 0, melee, melee_blade, piercing, sword, 30, 1
    stat_sec_attr no
    stat_pri_armour 0, 6, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 0
    stat_ground 1, -1, 3, 1
    stat_mental 11, normal, trained
    stat_charge_dist 6
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 565, 190, 100, 75, 375, 4, 230
    armour_ug_levels 0, 1
    armour_ug_models Cossack_Musketeers, Cossack_Musketeers_ug1
    ownership russia, kievan_rus, cumans
    era 2 russia, kievan_rus, cumans
    recruit_priority_offset 30


    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: 
    recruit_pool "Cossack Musketeers" 1 0.5 2 0 requires factions { kievan_rus, cumans } and event_counter pike_and_shot 1
    recruit_pool "EE Crossbow Militia" 1 0.5 4 0 requires factions { kievan_rus, } and event_counter pike_and_shot 1
    recruit_pool "EE Crossbow Militia" 1 0.67 5 0 requires factions { kievan_rus, } and not event_counter pike_and_shot 1

    recruit_pool "EE Archer Militia" 1 0.67 5 0 requires factions { russia, kievan_rus, }

    recruit_pool "Cossack Musketeers" 1 0.5 2 0 requires factions { russia, cumans } and event_counter pike_and_shot 1
    recruit_pool "Portuguese Arquebusiers" 1 0.5 2 0 requires factions { russia, } and event_counter pike_and_shot 1
    recruit_pool "Arquebusiers" 1 0.5 2 0 requires factions { russia, } and event_counter MATCHLOCK 1 and not event_counter pike_and_shot 1
    recruit_pool "EE Crossbow Militia" 1 0.5 4 0 requires factions { russia, } and event_counter MATCHLOCK 1 and not event_counter pike_and_shot 1
    recruit_pool "EE Crossbow Militia" 1 0.67 5 0 requires factions { russia, } and not event_counter MATCHLOCK 1


    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: 
    18 cossack_musketeers
    1 3
    66 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_lod0.mesh 121
    66 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_lod1.mesh 1225
    66 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_lod2.mesh 6400
    3
    6 russia
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_russia.texture
    78 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal3.texture
    49 unit_sprites/russia_Cossack_Musketeers_sprite.spr
    10 kievan_rus
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_kievan.texture
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
    49 unit_sprites/russia_Cossack_Musketeers_sprite.spr
    6 cumans
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_russia.texture
    78 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal3.texture
    49 unit_sprites/russia_Cossack_Musketeers_sprite.spr
    3
    6 russia
    68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
    10 kievan_rus
    68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
    6 cumans
    68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
    1
    4 None
    18 MTW2_Fast_Musket_3
    20 MTW2_Non_Shield_Fast 1
    19 MTW2_Musket_Primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    22 cossack_musketeers_ug1
    1 3
    70 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_ug1_lod0.mesh 121
    70 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_ug1_lod1.mesh 1225
    70 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_ug1_lod2.mesh 6400
    3
    6 russia
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_russia.texture
    78 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal3.texture
    53 unit_sprites/russia_Cossack_Musketeers_ug1_sprite.spr
    10 kievan_rus
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_kievan.texture
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
    53 unit_sprites/russia_Cossack_Musketeers_ug1_sprite.spr
    6 cumans
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_russia.texture
    78 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal3.texture
    53 unit_sprites/russia_Cossack_Musketeers_ug1_sprite.spr
    3
    6 russia
    68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
    10 kievan_rus
    68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
    6 cumans
    68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
    1
    4 None
    18 MTW2_Fast_Musket_3
    20 MTW2_Non_Shield_Fast 1
    19 MTW2_Musket_Primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

  16. #16

    Default Re: Cuman Khanate

    "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, }"

  17. #17

    Default Re: Cuman Khanate

    ZOUNDS! How could I have missed that? Thanks I will try this later at home.

  18. #18

  19. #19

    Default Re: Cuman Khanate

    Back with an update, it works now, and the Musketeers are in the roster. Thanks for all the help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •