Page 10 of 13 FirstFirst 12345678910111213 LastLast
Results 181 to 200 of 248

Thread: Creating a World - Importing units from another mod

  1. #181
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    Have a look in the log of your mod to check if a [error] message exists. There could be several - the last one in the log might describe the problem. You can also upload the log and all the related text files so I can have a look at it - but I won't be at my home machine for a while so that would a last option.

    Did you do the check described in the instructions regarding number of entries in the EDU?
    Did you increase the model count in the modeldb file?
    Make sure there is a space at the end of each line in the modeldb file entry.
    Does your unit have a custom animation? Copy the unit's modeldb entry here.
    Compress only the log and attach it there so I can have a look at the log.










  2. #182
    bphl98's Avatar Libertus
    Join Date
    Apr 2018
    Location
    Barad-dûr, Mordor
    Posts
    64

    Default Re: Creating a World - Importing units from another mod

    I already moving some unit from third age vanilla mod to DAC submod but when I play custom battle and using arnor spearman unit the game is CTD and I don't know why? the other unit that I move don't cause CTD.
    here my log say
    Code:
    08:50:56.692 [system.rpt] [always] CPU: SSE2
    08:50:56.693 [system.rpt] [always] ==== system log start, build date: Sep  5 2014 version development ===
    08:50:56.695 [system.io] [always] mounted pack packs/data_0.pack
    08:50:56.696 [system.io] [always] mounted pack packs/data_1.pack
    08:50:56.696 [system.io] [always] mounted pack packs/data_2.pack
    08:50:56.697 [system.io] [always] mounted pack packs/data_3.pack
    08:50:56.697 [system.io] [always] mounted pack packs/data_4.pack
    08:50:56.698 [system.io] [always] mounted pack packs/localized.pack
    08:50:59.462 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 2502, column 175
    unit(Khazad Axethrowers) does not match up to the ownership for faction(moors)
    08:50:59.462 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 2502, column 175
    unit(Khazad Axethrowers) does not match up to the ownership for faction(hungary)
    08:50:59.467 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 3488, column 175
    unit(Khazad Axethrowers) does not match up to the ownership for faction(moors)
    08:50:59.467 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 3488, column 175
    unit(Khazad Axethrowers) does not match up to the ownership for faction(hungary)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction scripts (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction milan (bdg city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction normans (bdg city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction turks (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction scotland (bdg city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction timurids (bdg town vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction byzantium (bdg city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction moors (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction hungary (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction norway (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction saxons (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction egypt (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction ireland (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction mongols (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction teutonic_order (bdg town vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction venice (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction england (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction poland (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction france (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction aztecs (bdg town vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction hre (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction portugal (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction spain (bdg city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction russia (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction khand (bdg town vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction ents (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction papal_states (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction united (bdg large_city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - culture db max settlement level differs from building db max settlement level for faction slave (bdg city vs clt huge_city)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction scripts has gap in building prior to stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction scripts has gap in building prior to large_stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction sicily has gap in building prior to stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction sicily has gap in building prior to large_stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction sicily has gap in building prior to huge_stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction sicily has gap in building prior to rebuilt_bridge (unavailable at level zero)
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction denmark has gap in building prior to stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction denmark has gap in building prior to large_stone_wall
    08:50:59.737 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction denmark has gap in building prior to huge_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction denmark has gap in building prior to rebuilt_bridge (unavailable at level zero)
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction milan has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction normans has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction turks has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction turks has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction turks has gap in building prior to rebuilt_bridge (unavailable at level zero)
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction scotland has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction byzantium has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction moors has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction moors has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction hungary has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction hungary has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction norway has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction norway has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction saxons has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction saxons has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction egypt has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction egypt has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction ireland has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction ireland has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction mongols has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction mongols has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction venice has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction venice has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction england has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction england has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction poland has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction poland has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction france has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction france has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction hre has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction hre has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction portugal has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction portugal has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction spain has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction russia has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction russia has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction ents has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction ents has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction papal_states has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction papal_states has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction united has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction united has gap in building prior to large_stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction slave has gap in building prior to stone_wall
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction sicily has gap in building prior to rebuilt_bridge (unavailable at level zero)
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction denmark has gap in building prior to rebuilt_bridge (unavailable at level zero)
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction turks has gap in building prior to rebuilt_bridge (unavailable at level zero)
    08:50:59.742 [script.err] [error] Script Error in mods/Third_Age_3_DAC/data/export_descr_buildings.txt, at line 14097, column 66
    Building DB error - faction khand has gap in building prior to fortress
    08:51:57.841 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
    and here my ModelDB for Arnor Spearman
    Code:
    19 aum_arnor_maa_spear 
    1 1 
    52 unit_models/_Units/aum/aum_arnor_maa_spear_lod0.mesh 6400 
    3 
    5 turks 
    60 unit_models/_Units/EN_Lmail_Hmail/textures/arnorpike.texture 
    67 unit_models/_Units/EN_Lmail_Hmail/textures/arnorpike_normal.texture 
    44 unit_sprites/turks_arnor_infantry_sprite.spr
    9 byzantium 
    60 unit_models/_Units/EN_Lmail_Hmail/textures/arnorpike.texture 
    67 unit_models/_Units/EN_Lmail_Hmail/textures/arnorpike_normal.texture 
    44 unit_sprites/turks_arnor_infantry_sprite.spr
    4 merc 
    60 unit_models/_Units/EN_Lmail_Hmail/textures/arnorpike.texture 
    67 unit_models/_Units/EN_Lmail_Hmail/textures/arnorpike_normal.texture 
    44 unit_sprites/turks_arnor_infantry_sprite.spr
    3 
    5 turks 
    54 unit_models/_Units/aum/textures/arnor_aum_diff.texture 
    54 unit_models/_Units/aum/textures/arnor_aum_norm.texture 0 
    9 byzantium 
    54 unit_models/_Units/aum/textures/arnor_aum_diff.texture 
    54 unit_models/_Units/aum/textures/arnor_aum_norm.texture 0 
    4 merc 
    54 unit_models/_Units/aum/textures/arnor_aum_diff.texture 
    54 unit_models/_Units/aum/textures/arnor_aum_norm.texture 0 
    1 
    4 None 
    10 MTW2_Spear 0  
    2 
    18 MTW2_Spear_primary 
    14 fs_test_shield 0 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    this error happen when I edit Battle.modeldb using that code

  3. #183
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    Did you check if this entry exceeds the 500 unit limit in the EDU?
    Did you increase the model count in the modeldb file?










  4. #184
    bphl98's Avatar Libertus
    Join Date
    Apr 2018
    Location
    Barad-dûr, Mordor
    Posts
    64

    Default Re: Creating a World - Importing units from another mod

    Quote Originally Posted by Gigantus View Post
    Did you check if this entry exceeds the 500 unit limit in the EDU?
    Did you increase the model count in the modeldb file?
    yeah i already fix the problem it like that my unit dont have the dect_projectile so i need to add mine new and the spearman it because i forgot to copy some model from the original mod. did archer unit alway need to edit dect_projection file to work ?

  5. #185
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    The descr_projectile file from the vanilla (packed) files is different from the kingdoms' file, hence you need to provide the kingdoms version. It's actually about the boiling oil entry and some weird projectiles like the barrel and beehive.










  6. #186
    bphl98's Avatar Libertus
    Join Date
    Apr 2018
    Location
    Barad-dûr, Mordor
    Posts
    64

    Default Re: Creating a World - Importing units from another mod

    thank for the advice btw its posible to make infantry to become mounted unit ?

  7. #187
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    It's possible - but it requires the adding of a mounted animation in the modelDB file for that soldier model. Otherwise you will get what I refer to as 'Chinese Acrobats': the soldier stands on top of the mount.

    The best example for an all round soldier unit in the modeldb are the models used for captains and generals - they have the full set of animations, but those are simple infantry animations, mounted missile animations you may have to copy from similar units.
    Can't give an actual example as I am still not at my own computer.










  8. #188

    Default Re: Creating a World - Importing units from another mod

    Hey there

    I am pretty sure my question is stupid and answered in this forum.
    But anyway here is my question: Can I use this Tutorial in order to create/import the Elder Palace Guard from Third Age Reforged into DaC?
    To be honest I just want to import there model into the DaC Woodland Realm Campaign.
    I hope someone can help me out with that

  9. #189
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    If you only wish to import the model for use with an existing unit then you will need to identify the model's name first. The relevant reference is in the export_descr_units (EDU) file, the armour_ug_models line.
    Trace that entry in the modelDB (see example in the OP) and copy that entry into the new mod's modeldb file at the bottom, increase the total count at the top line of the file by one --> 22 serialization::archive 3 0 0 0 0 297 0 0
    Trace all files mentioned in the modeldb entry and copy them into the new mod, files you can't find will be default files which teh game will retrieve from the packs
    Last step will be to change the armour_ug_models line entry of the unit that is going to use this new model.










  10. #190

    Default Re: Creating a World - Importing units from another mod

    Thank you Gigantus for your helpful explaination :j
    With „See example in the OP“ you mean just follow along the original posts examples right?
    When I „overwrite“ a unit of the Woodland Realm of DaC can there be any weapon animation problems? The Elder Palace Guard from Reforged use a two handed spear like the Clan Guard of Rhun in DaC. They should overwrite the Woodland Warriors of the Woodland Realm who use a two handed axe.
    Thanks for your time and help

  11. #191
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    The animation part is this in the animation:
    Code:
    1 4 None 
    16 MTW2_Fast_Bowman 
    20 MTW2_Non_Shield_Fast 1 
    19 MTW2_Bowman_Primary 1 
    18 MTW2_Sword_Primary
    Replacing that section will result in a change in animation - provided you have changed the model entry in the EDU's soldier. The animation of the entry there will override the animation of the model in the armour_ug_models line. It usually is the same, but provides a very simple way of changing the animation of a model.










  12. #192

    Default Re: Creating a World - Importing units from another mod

    Thanks again for the information
    But I am not able to worry about animations for now because my game crashes while loading up the battle map.
    I managed to import my unit - I can start the game and the unit has all the right stats, the picture at the army select screen and so on. When I try to start the battle the game crashes the moment before it jumps to the battle map.
    Is there anything I did wrong?

  13. #193
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    That points to a problem with the model entry in modeldb - eg sprite or mesh or a simple format error.

    Did you confirm that it is related to this unit by excluding it from the army composition?
    Did you have a look into the log for a conclusive [error] entry?










  14. #194

    Default Re: Creating a World - Importing units from another mod

    I looked around the files and found the problem. I missed copying one MESH file - in my opinion it was not listet in the mdb where I only found 4 files or so.
    The file missing was a ... .att.MESH if I remember right

  15. #195
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    Glad you got it sorted.










  16. #196

    Default Re: Creating a World - Importing units from another mod

    Thanks for your great tutorial and help
    I fear that this is not the right place to ask about importing battlemaps right? Is there any dedicated subforum?
    It is pretty much the same: I want to import some battlemaps from Reforged into DaC.

  17. #197
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    I am not aware of a tutorial for it so the best way will be to open a thread in the mapping workshop.










  18. #198

    Default Re: Creating a World - Importing units from another mod

    I'm trying to import a unit from Reforged, that being the Wardens of Minas Ithil, and I seem to have put everything it the right place and done almost everything that the tutorial has told me to do yet upon launch the game still crashes. Could you please tell me what I should do to make it work and also where do I find the crash logs to see what I'm potentially missing out or have done wrong?

  19. #199
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Creating a World - Importing units from another mod

    'almost anything' is most likely the reason why it crashes

    The most common error is not to increase the 'total' number in the first line of the modeldb for each model you add. The log is unfortunately not much of a help here but on the other hand in cases like these the error is nearly always in the modeldb and nearly all of these problems are about that number I mentioned. Provided you copied the model details over properly and didn't skip a line. The last line requires a SPACE at the end, btw.










  20. #200

    Default Re: Creating a World - Importing units from another mod

    Quote Originally Posted by Gigantus View Post
    'almost anything' is most likely the reason why it crashes The most common error is not to increase the 'total' number in the first line of the modeldb for each model you add. The log is unfortunately not much of a help here but on the other hand in cases like these the error is nearly always in the modeldb and nearly all of these problems are about that number I mentioned. Provided you copied the model details over properly and didn't skip a line. The last line requires a SPACE at the end, btw.
    Can you give me an example of what it should look like?

Tags for this Thread

Posting Permissions

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