Page 2 of 34 FirstFirst 12345678910111227 ... LastLast
Results 21 to 40 of 689

Thread: How to add a new unit into game

Hybrid View

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

    Default Re: How to add a new unit into game

    after i do all that stuff when the loading screen appears it crashes and system.log says "Could not find soldier battle model for unit type 'german_knights'."

  2. #2

    Default Re: How to add a new unit into game

    Plz help me iv'e used 1 of ur other tutorials http://www.twcenter.net/forums/showt...n+units+to+hre to try and add scots guard, dismounted polish knights and venetian heavy infantry to the HRE but when i start the game unspecified error comes up plz help i did everything right

  3. #3
    Syphon520's Avatar Foederatus
    Join Date
    Jun 2010
    Location
    Arizona USA
    Posts
    36

    Default Re: How to add a new unit into game

    Here is a stupid question, I am trying to add the ui files but cant seem to find them in the rome I am trying to modify, are they located in the packs files and if so is there a way to open them so I can extract to work on them? thank you

  4. #4

    Default Re: How to add a new unit into game

    when i open battle_model with this ModelDB Check nothing about units appears but this
    Unit count at top of file = 701
    Number of processed unit models = 701
    It is advisable that these two numbers should match.
    Total errors: 0
    String count errors: 0
    Faction count errors: 0
    any help????

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: How to add a new unit into game

    Quote Originally Posted by Double-head of North View Post
    when i open battle_model with this ModelDB Check nothing about units appears but this
    Unit count at top of file = 701
    Number of processed unit models = 701
    It is advisable that these two numbers should match.
    Total errors: 0
    String count errors: 0
    Faction count errors: 0
    any help????

    As you said: it is a check thing. And it says that everything is in order with your modelDB file. You cannot use it to edit the file, use Notepad to do that.

    Quote Originally Posted by Double-head of North View Post
    i want to put a unit from a mod to another....i copyp/paste from battle_models to the original med 2 battle_models...then i copy paste to edu...when i launch i receive an error message....i check both battle_models and edu......any help?????

    Did you increase the count number in the first line of the modelDB file by the number of models (upgrades are counted as models)?
    Last edited by Gigantus; September 11, 2011 at 09:58 PM.










  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: How to add a new unit into game

    There is something that I don't understand, you mention this: copy the .mesh files (in this case "Hoplites_early_ug0_lod0-3.mesh") into the "new_folder" folder and copy your new texture and the norm_texture (in this case "ionian_hoplite.texture") into the "textures" folder.
    Not sure what you can't understand: mesh files go into 'new_folder' folder, texture files go into the 'new_folder\textures' folder.
    I don't know where I could get the meshes and textures
    First you need to have the game unpacked. Then you need to get the proper name of the unit from the EDU (the one in the soldier line - example: soldier Dismounted_Feudal_Knights)
    Then you get a formatted version of the modeldb file because the original is a pain to read. Either here (vanilla) or here (campaigns)
    There you look for your unit (example: Dismounted_Feudal_Knights)
    And there you will find neatly listed where the meshes and textures can be found.










  7. #7

    Default Re: How to add a new unit into game

    Is there a limit to how many entries can be placed in 'battle_models' like the limit in 'descr_model_battle' in RTW?



    "We were all of us cogs in a great machine which sometimes rolled foward, nobody knew where, sometimes backwards, nobody knew why." -Ernst Toller

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: How to add a new unit into game

    If there is, I haven't heard of anyone reaching it.










  9. #9

    Default Re: How to add a new unit into game

    Good to know, thanks for the quick response.



    "We were all of us cogs in a great machine which sometimes rolled foward, nobody knew where, sometimes backwards, nobody knew why." -Ernst Toller

  10. #10
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: How to add a new unit into game

    One is glad to be of service










  11. #11

    Default Re: How to add a new unit into game

    Can any1 help me. When I start medieval and the loadingscreen appears, soon m2tw shuts down and when i look for what went wrong from system.log it says "Could not find soldier battle model for unit type 'german_knights'." HELP!!

  12. #12

    Default Re: How to add a new unit into game

    and my unit is that german knight

  13. #13

    Default Re: How to add a new unit into game

    helphelp fast im dying

  14. #14

    Default Re: How to add a new unit into game

    i cant breath

  15. #15

    Default Re: How to add a new unit into game

    imk just a light infantryman

  16. #16
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: How to add a new unit into game

    Stop spamming please.

    How about telling us what you changed from the original set up?
    The error points to a mismatch between your export_descr_unit (EDU) file and the modelDB file.










  17. #17

    Default Re: How to add a new unit into game

    well this is what i did(i did everything from the beginning like the new folder): I copyed gothic knight meshes and textures to the folder and renamed them. Then:
    14 german_knights
    1 3
    54 unit_models/_Units/new_folder/german_knights_lod0.mesh 121
    54 unit_models/_Units/new_folder/german_knights_lod1.mesh 1225
    54 unit_models/_Units/new_folder/german_knights_lod2.mesh 6400
    1
    3 hre
    69 unit_models/_Units/new_folder/textures/gothic_knights_hre.texture
    73 unit_models/_Units/new_folder/textures/gothic_knights_normal.texture
    52 unit_sprites/milan_Dismounted_Italian_MAA_sprite.spr
    1
    2 hre
    63 unit_models/AttachmentSets/Final Special Heads_hre_diff.texture
    63 unit_models/AttachmentSets/Final Special Heads_hre_norm.texture 0
    1
    4 None
    19 MTW2_Slow_Swordsman 0
    2
    18 MTW2_Sword_Primary
    14 fs_test_shield 0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

  18. #18

    Default Re: How to add a new unit into game

    allso EDU:
    type german_knights
    dictionary german_knights ; German Knights
    category infantry
    class heavy
    voice_type Heavy
    banner faction main_infantry
    banner holy crusade
    soldier german_knights , 48, 0, 1.2
    attributes sea_faring, hide_forest, hardy, can_withdraw
    formation 1.2, 1.2, 2.4, 2.4, 3, square
    stat_health 2, 0
    stat_pri 13, 6, no, 0, 0, melee, melee_blade, slashing, sword, 25, 1.3
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 10, 8, 6, metal
    ;stat_armour_ex 10, 0, 0, 0, 4, 0, 0, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground 1, -2, 3, 2
    stat_mental 9, normal, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 810, 225, 90, 70, 810, 4, 200
    armour_ug_levels 1
    armour_ug_models german_knights
    ownership hre
    era 2 hre
    ;unit_info 13, 0, 24

  19. #19
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,681
    Blog Entries
    35

    Default Re: How to add a new unit into game

    The entries look correct. did you increase the number in the top row of the modeldb file by 1 (number in red as example)?

    22 serialization::archive 3 0 0 0 0 763 0 0










  20. #20

    Default Re: How to add a new unit into game

    yea i did

Posting Permissions

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