Page 10 of 34 FirstFirst 1234567891011121314151617181920 ... LastLast
Results 181 to 200 of 689

Thread: How to add a new unit into game

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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

    Check the last line in post #173 referring to the texture files:
    You did not mention that you copied them from crusades into SS6.3 - please do so
    .










  2. #2

    Default Re: How to add a new unit into game

    The line is correct acording the post 173.
    8 khassaki
    1 4
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod0.mesh 121
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod1.mesh 900
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod2.mesh 2500
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod3.mesh 6400
    2
    5 egypt
    92 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate_egypt.texture
    93 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate_normal.texture
    38 unit_sprites/egypt_Khassaki_sprite.spr
    7 kwarezm
    95 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate2_kwarezm.texture
    94 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate2_normal.texture
    38 unit_sprites/egypt_Khassaki_sprite.spr
    2
    5 egypt
    66 unit_models/AttachmentSets/Final Middle Eastern_egypt_diff.texture
    66 unit_models/AttachmentSets/Final Middle Eastern_egypt_norm.texture 0
    7 kwarezm
    68 unit_models/AttachmentSets/Final Middle Eastern_kwarezm_diff.texture
    66 unit_models/AttachmentSets/Final Middle Eastern_egypt_norm.texture 0
    1
    5 Horse 13
    MTW2_HR_Lance 13
    MTW2_HR_Sword 2
    21 MTW2_HR_Lance_Primary
    14 fs_test_shield 2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    12 khassaki_ug1
    1 4
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod0.mesh 121
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod1.mesh 900
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod2.mesh 2500
    62 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/khassaki_lod3.mesh 6400
    2
    5 egypt
    92 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate_egypt.texture
    93 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate_normal.texture
    38 unit_sprites/egypt_Khassaki_sprite.spr
    7 kwarezm
    95 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate2_kwarezm.texture
    94 unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate2_normal.texture
    38 unit_sprites/egypt_Khassaki_sprite.spr
    2
    5 egypt
    66 unit_models/AttachmentSets/Final Middle Eastern_egypt_diff.texture
    66 unit_models/AttachmentSets/Final Middle Eastern_egypt_norm.texture 0
    7 kwarezm
    68 unit_models/AttachmentSets/Final Middle Eastern_kwarezm_diff.texture
    66 unit_models/AttachmentSets/Final Middle Eastern_egypt_norm.texture 0
    1
    5 Horse
    13 MTW2_HR_Lance
    13 MTW2_HR_Sword 2
    21 MTW2_HR_Lance_Primary
    14 fs_test_shield 2
    18 MTW2_Sword_Primary
    14 fs_test_shield 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    but the model of khassaki don´t looks like in Kingdoms Crusades.
    Last edited by -=Psych0=-; October 12, 2010 at 11:28 AM.

  3. #3
    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

    I am talking of the graphic files, not the entry in the modeldb.










  4. #4

    Default Re: How to add a new unit into game

    And where are the graphic files?

  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

    data/unit_models/_Units/ME_Mail_Plate_Hvy_Mplate/textures/ME_super_heavy_Mail_Plate_egypt.texture
    (I am sure now you see how it works?)










  6. #6

    Default

    No, sry. What i need to modified the file?

    And this is the file that i have to change?
    Medieval II Total War\mods\SS6.3\data\unit_models\_units\me_mail_plate_hvy_mplate\textures\me_super_heavy_Mail_Plate_egypt.texture

    now i copy the original files *.texture of Kingdoms and it works fine.

    Thank you very much very much very much very much.
    Last edited by Ishan; October 12, 2010 at 05:20 PM. Reason: double post

  7. #7
    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 (finally) glad to be of service










  8. #8

    Default Re: How to add a new unit into game

    have a cookie Gigantus

  9. #9
    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

    With chocolate chips, please.










  10. #10
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: How to add a new unit into game

    Hello,
    I am trying to add a new unit following the tutorial. In fact, the unit name is the same as in the tutorial (ionian_hoplite)
    I get a CTD before the splash screen.

    ˇThe number in the top is increased
    ˇThe new unit is in the middle of the file
    ˇThe textures and meshes are renamed

    Anyone knows where is the problem? Thank you very much

  11. #11
    Hector Barbossa's Avatar Avast Ye Lubbers
    Join Date
    Apr 2008
    Location
    England
    Posts
    20,888

    Default Re: How to add a new unit into game

    Hi there i think this is your problem i think you might have to change 6 france to 14 ionian_hoplite

    6 france
    60 unit_models/_Units/new_folder/textures/ionian_hoplite.texture
    67 unit_models/_Units/new_folder/textures/ionian_hoplite_normal.texture
    49 unit_sprites/england_Dummy_EN_Spearmen_sprite.spr

  12. #12
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: How to add a new unit into game

    It didn't work

  13. #13
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: How to add a new unit into game

    Me thinks there is a lot wrong with your entries, change everything to this and rename your mesh files to match. Haven't got the game loaded so we'll use you as the guinea pig to test things. Crash before splash screen is the battlemodels file which has to be corrected before we move onto the entry in the EDU.

    Spoiler Alert, click show to read: 

    Code:
    14 ionian_hoplite 
    1 3 
    54 unit_models/_Units/new_folder/ionian_hoplite_lod0.mesh 121 
    54 unit_models/_Units/new_folder/ionian_hoplite_lod1.mesh 900 
    54 unit_models/_Units/new_folder/ionian_hoplite_lod2.mesh 2500 
    2 
    6 france 
    61 unit_models/_Units/new_folder/textures/ionian_hoplite.texture 
    68 unit_models/_Units/new_folder/textures/ionian_hoplite_normal.texture 
    49 unit_sprites/england_Dummy_EN_Spearmen_sprite.spr 
    5 slave 
    61 unit_models/_Units/new_folder/textures/ionian_hoplite.texture 
    68 unit_models/_Units/new_folder/textures/ionian_hoplite_normal.texture 
    47 unit_sprites/slave_Dummy_EN_Spearmen_sprite.spr 
    2 
    6 france 
    58 unit_models/AttachmentSets/Final Kite_england_diff.texture 
    58 unit_models/AttachmentSets/Final Kite_england_norm.texture 0  
    5 slave 
    56 unit_models/AttachmentSets/Final Kite_slave_diff.texture 
    56 unit_models/AttachmentSets/Final Kite_slave_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

  14. #14
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: How to add a new unit into game

    It didn't work

    Why are supposed to be wrong? My text is exactly like in the tutorial.

  15. #15
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: How to add a new unit into game

    What did it say in the error log?

  16. #16
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: How to add a new unit into game

    The same as last time
    00:51:16.781 [system.io] [info] open: found mods/Bare_Kingdoms/data/unit_models/battle_models.modelDB (from: E:\Juegos\Medieval II Total War)
    00:51:16.843 [system.rpt] [error] Uh oh. This isn't good. No idea why, but exiting now. Sorry pal.
    without previous error
    Last edited by Kolwen; November 03, 2010 at 07:12 PM.

  17. #17
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: How to add a new unit into game

    414 entries :S

  18. #18
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: How to add a new unit into game

    How many entries in your EDU?

  19. #19
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: How to add a new unit into game

    If you haven't made any other changes in the battlemodels file try this one, post your log entries if it crashes.
    Last edited by Moon; November 03, 2010 at 07:22 PM. Reason: this is for Medieval 2 Vanilla

  20. #20
    Kolwen's Avatar Artifex
    Join Date
    Jul 2010
    Location
    Spain
    Posts
    1,217

    Default Re: How to add a new unit into game

    It worked!! What did you do my friend??

Posting Permissions

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