Results 1 to 4 of 4

Thread: Sauron unit editing problem in DAC 4.6

  1. #1

    Icon5 Sauron unit editing problem in DAC 4.6

    Recently I've been editing the Mordor roster of Divide And Conquer 4.6 to my liking and I can say that I'm little displeased with the Sauron bodyguard unit.
    I am trying to alter it to be like the Massive Overhaul Submod 1.7 one (it's probably the same in vanilla TATW but i wouldnt know since I have never played it) which has a single elephant type Sauron unit.Click image for larger version. 

Name:	20211129121452_1.jpg 
Views:	48 
Size:	586.6 KB 
ID:	366108
    I've made the supposedly appropriate changes in EDU and unit_models files. Everything seems to be in order, but the game crashes upon launch after I make the EDU alterations.

    Here are the changes that I've made.
    modeldb:
    Spoiler Alert, click show to read: 

    I took these form MOS 1.7 and added them to DAC 4.6

    14 elephant_crew3 1 1
    53 unit_models/_Units/EN_Lmail_Hmail/ents_crew_lod0.mesh 64000
    3
    7 mongols
    54 unit_models/_Units/EN_Lmail_Hmail/textures/ent.texture
    61 unit_models/_Units/EN_Lmail_Hmail/textures/ent_normal.texture
    46 unit_sprites/sicily_eeents_infantry_sprite.spr
    5 slave
    54 unit_models/_Units/EN_Lmail_Hmail/textures/ent.texture
    61 unit_models/_Units/EN_Lmail_Hmail/textures/ent_normal.texture
    46 unit_sprites/sicily_eeents_infantry_sprite.spr
    4 merc
    54 unit_models/_Units/EN_Lmail_Hmail/textures/ent.texture
    61 unit_models/_Units/EN_Lmail_Hmail/textures/ent_normal.texture
    46 unit_sprites/sicily_eeents_infantry_sprite.spr
    3
    7 mongols
    55 unit_models/_Units/EN_Lmail_Hmail/textures/ent2.texture
    62 unit_models/_Units/EN_Lmail_Hmail/textures/ent2_normal.texture 0
    5 slave
    55 unit_models/_Units/EN_Lmail_Hmail/textures/ent2.texture
    62 unit_models/_Units/EN_Lmail_Hmail/textures/ent2_normal.texture 0
    4 merc
    55 unit_models/_Units/EN_Lmail_Hmail/textures/ent2.texture
    62 unit_models/_Units/EN_Lmail_Hmail/textures/ent2_normal.texture 0
    1
    8 Elephant
    18 MTW2_Elephant_Crew 0
    1
    21 MTW2_Arquebus_Primary
    0 -1 0 0 0 0 0 0
    14 elephant_crew4
    1 1
    50 unit_models/_Units/EN_Lmail_Hmail/sauron_lod0.mesh 64000
    1
    5 turks
    57 unit_models/_Units/EN_Lmail_Hmail/textures/sauron.texture
    64 unit_models/_Units/EN_Lmail_Hmail/textures/sauron_normal.texture
    46 unit_sprites/sicily_eeents_infantry_sprite.spr
    1
    5 turks
    58 unit_models/_Units/EN_Lmail_Hmail/textures/sauron2.texture
    65 unit_models/_Units/EN_Lmail_Hmail/textures/sauron2_normal.texture 0
    1
    8 Elephant
    18 MTW2_Elephant_Crew 0
    1
    21 MTW2_Arquebus_Primary
    0 -1 0 0 0 0 0 0
    12 mount_sauron
    1 1
    50 unit_models/_Units/EN_Lmail_Hmail/sauron_lod0.mesh 64000
    1
    7 england
    57 unit_models/_Units/EN_Lmail_Hmail/textures/sauron.texture
    64 unit_models/_Units/EN_Lmail_Hmail/textures/sauron_normal.texture
    46 unit_sprites/sicily_eeents_infantry_sprite.spr
    1
    7 england
    58 unit_models/_Units/EN_Lmail_Hmail/textures/sauron2.texture
    65 unit_models/_Units/EN_Lmail_Hmail/textures/sauron2_normal.texture 0
    1
    8 elephant
    18 fs_sauron_elephant 0
    2
    17 MTW2_Mace_Primary
    14 fs_test_shield 0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002


    I also noticed that "unit_sprites/sicily_eeents_infantry_sprite.spr" is missing in both mods but it seems to work properly without it in MOS 1.7.

    EDU:
    Spoiler Alert, click show to read: 

    MOS 1.7 (mod I'm taking from)
    type Sauron Elephants2
    dictionary Sauron_Elephants2 ; 1 Sauron - Custom Battles
    category cavalry
    class heavy
    voice_type Heavy
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier Elephant_Crew4, 6, 1, 1
    mounted_engine elephant_serpentine
    mount sauron
    attributes very_hardy, frighten_foot, frighten_mounted
    formation 3, 3, 6, 6, 1, horde
    stat_health 1, 12
    stat_pri 0, 0, no, 0, 0, no, no, no, none, 0, 1
    stat_pri_attr no
    stat_sec 50, 25, no, 0, 0, melee, melee_simple, piercing, sword, 0, 1
    stat_sec_attr launching, bp, ap, area
    stat_pri_armour 5, 5, 5, metal
    stat_sec_armour 25, 25, metal
    stat_heat 0
    stat_ground 0, 0, -1, -1
    stat_mental 18, impetuous, highly_trained, lock_morale
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 3500, 0, 500, 500, 3500, 1, 100000
    armour_ug_levels 0
    armour_ug_models Elephant_Crew3
    ownership england
    era 0 england
    era 1 england
    era 2 england

    DAC 4.6 (mod I'm trying to edit)
    type Saurondictionary Sauron
    category infantry
    class heavy
    voice_type General
    accent German
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier elephant_crew4, 6, 1, 1
    mount sauron
    attributes very_hardy, frighten_foot, frighten_mounted, command
    formation 3, 3, 6, 6, 1, square
    stat_health 1, 12
    stat_pri 50, 25, no, 0, 0, melee, melee_blade, blunt, mace, 0, 1
    stat_pri_attr ap, launching
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr no
    stat_pri_armour 60, 12, 8, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 0
    stat_ground 5, 5, 5, 5
    stat_mental 24, disciplined, highly_trained, lock_morale
    stat_charge_dist 16
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 2500, 0, 125, 125, 1200, 3, 120
    armour_ug_levels 0
    armour_ug_models elephant_crew3
    ownership england
    era 0 england
    era 1 england
    era 2 england


    Am I missing anything, or is it just not possible to add that unit in DAC 4.6?
    If anyone can give me some advice or help me with this, I would be very grateful.

    Thank you for reading and have a great day!

  2. #2

    Default Re: Sauron unit editing problem in DAC 4.6

    Can you tell me exactly in what file you did this? Because, in DCI: Last Alliance, I have the same problem. "Sauron Elephants" is buggy because they used and modded a bodyguard Sauron. Please can tell me the path of that file of Divide and Conquer. I think it is the same as Third Age 3.2. Also, you can take advantage of this and maybe you could try creating a fixing submod.

  3. #3

    Default Re: Sauron unit editing problem in DAC 4.6

    I did these changes in two files. Firstly, "battle_models.modeldb". For DAC the file path is "Medieval II Total War\mods\Divide_and_Conquer\data\unit_models".
    And secondly, the EDU which is an acronym for "export_descr_unit.txt" located in the data folder of any m2tw mod. So in my case "Medieval II Total War\mods\Divide_and_Conquer\data".

    This guide helped me learn about these files and more so I can edit the game at my leisure. The basic stuff is really not that complicated at all, and you can learn about it very quickly. For me it took only a few hours to become an adept of text file editing, although, I still have a lot to learn. So here you go. https://www.youtube.com/watch?v=NktA...ErGaludirithon

    As for creating a fixing submod, I don't know if I would be able to do that with my current skillset in modding. For now I'll try to find a solution to my current problem, and if I do, I'll definitely make sure to post an explanation of it here.

  4. #4

    Default Re: Sauron unit editing problem in DAC 4.6

    I finally got this to work! In the decr_mount.txt file of DAC, the sauron entry name is "creature_sauron".
    I simply made the change in EDU
    from:
    mount sauron
    to:
    mount creature_sauron

    I got mislead from MOS where it's simply "sauron", and assumed it would be the same in DAC.

Posting Permissions

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