Page 1 of 3 123 LastLast
Results 1 to 20 of 43

Thread: My Byzantine Unit, need help

  1. #1
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default My Byzantine Unit, need help

    Hey again! after getting my Greek problems solved i moved onto a different step, creating new units. I've found a tutorial;

    http://forums.totalwar.org/vb/showthread.php?t=75706

    but it for some reason does not do what the guy said, i've done step by step and tried multiple folders but nothing. Below i've included a Battle_model (something like that) of how the unit is meant to look like, i dont understand 3/4 of whats in it so i just followed with the instructions. Anyway, any idea why my unit isnt appearing in custom battles??

    The must be something missing since they dont appear in custom battles, and i have no clue what.

    Code:
    11 GR_Dragoons
    1 4 
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod0.mesh 121
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod1.mesh 900
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod2.mesh 2500
    53 unit_models/_Units/RN_Half_3Q_Plate/reiters_lod3.mesh 6400
    1 
    9 byzantium
    79 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_byzantium.texture
    76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture
    41 unit_sprites/byzantium_Reiters_sprite.spr
    1 
    9 byzantium 65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture
    65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture 0
    1 
    5 Horse
    14 MTW2_HR_Pistol 
    13 MTW2_HR_Spear 1 
    22 MTW2_HR_Pistol_Primary 1 
    21 MTW2_HR_spear_Primary 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 
    11 reiters_ug1 1 4 57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod0.mesh 121
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod1.mesh 900
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod2.mesh 2500
    57 unit_models/_Units/RN_Half_3Q_Plate/reiters_ug1_lod3.mesh 6400
    1 
    9 byzantium
    79 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_byzantium.texture
    76 unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.texture
    45 unit_sprites/byzantium_Reiters_ug1_sprite.spr
    1 
    9 byzantium
    65 unit_models/AttachmentSets/Final European CB Gun_hre_diff.texture
    65 unit_models/AttachmentSets/Final European CB Gun_hre_norm.texture 0
    1 
    5 Horse
    14 MTW2_HR_Pistol
    13 MTW2_HR_Spear 1
    22 MTW2_HR_Pistol_Primary 1
    21 MTW2_HR_spear_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    Ty peeps

  2. #2
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    Have you added in an entry in export_descr_unit.txt? Does the rn_half_3q_plate_byzantium.texture exist?
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  3. #3
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    Yes I have, texture is in correct folder, and export_descr_unit has the correct info. Yet my unit does not appear.

    Here is the EDU

    Code:
    type             GR_Dragoons
    dictionary       GR_Dragoons      ; Dragoons
    category         cavalry
    class            missile
    voice_type       Heavy
    banner faction   main_cavalry
    banner holy      crusade_cavalry
    soldier          GR_Dragoons, 32, 0, 1
    mount            eastern armoured horse
    mount_effect     elephant -4, camel -4
    attributes       sea_faring, hide_forest, hardy, can_withdraw, can_formed_charge, cantabrian_circle, gunpowder_unit, start_not_skirmishing, guncavalry
    formation        2, 4.4, 3, 6, 4, square
    stat_health      1, 0
    stat_pri         16, 3, musket_bullet, 180, 20, missile, missile_gunpowder, piercing, none, musket_shot_set, 25, 1
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    ap
    stat_sec         11, 5, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  7, 6, 0, metal
    ;stat_armour_ex   7, 8, 0, 0, 6, 0, 0, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        5
    stat_ground      0, -2, -4, 0
    stat_mental      9, normal, trained
    stat_charge_dist 45
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 920, 250, 120, 95, 920, 4, 230
    armour_ug_levels 3, 4
    armour_ug_models GR_Dragoons, GR_Dragoons_ug1
    ownership        byzantium
    era 2            byzantium
    ;unit_info        11, 20, 13
    Ohh and by the not appearing i mean the icon of the unit, its created and its in the correct folder called #gr_dragoons
    Last edited by hydra; May 26, 2007 at 08:37 AM.

  4. #4
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    So does it not appear on the battle map, or not appear in custom battle unit selection screen?

    And this:

    11 reiters_ug1

    Should be:

    15 GR_dragoons_ug1

    Also have you increased the number at the top of the battle_models.modelsdb file?
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  5. #5
    Ralendil's Avatar Shisai
    Join Date
    Oct 2005
    Location
    France
    Posts
    417

    Default Re: My Byzantine Unit, need help

    Quote Originally Posted by hydra View Post
    ...
    have you put in Medieval Total war\YOUR MOD PATH\data\ui\units the card for this unit (named #GR_Dragoons.tga)?

    if no, you should see this unit as a peasant wearing a black tunic.

    only thing I can think about, at this stage
    Kill one man, and you are a murderer. Kill millions of men, and you are a conqueror. Kill them all, and you are a god.
    Jean Rostand

    Current Mod for S2TW: Sengoku Unit Cards

  6. #6
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    Hehe you guys are amazing, fast replies

    Relendil to answer your question im doing all of this in m2tw/data folder, not my mod folder, to open the game im not using the mod batch file but normal m2tw.exe .. so im basically not opening the mod, just want to see if its working on normal map.

    Hi Lusted,

    I found that mistake there too However forgot to update the post with new modeldb . The problem remained, however i did not change anything at the top? all i did was add this modeldb as in first post. And to answer your first question it dont appear in selection.

  7. #7
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    Yeah there is a number at the top of the modeldb file, 701 in vanilla, that is the total of the number of entries. You need to change that number to reflect the entries you've added in.

    And im hoping your using the file first command.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  8. #8
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    I havnt changed the top 701. By entries do you mean how many lines I add? or how many of those meshes?

    And im using a normal medieval2.exe to open game.

  9. #9
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    I havnt changed the top 701. By entries do you mean how many lines I add? or how many of those meshes?
    For instance gr_dragoons and all the line sunder it is 1 entry. So you need to add 2 to the top number.

    And im using a normal medieval2.exe to open game.
    So im guessing your unit doesn't even show up in custom battles then.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  10. #10
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    Ahh i see, and yes it doesnt Not even the icon. Which is why i cant even see my unit in battle mode.

  11. #11
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    You need to use the file first command for modified files in the main data folder to take effect.

    Add the following to medieval2.preference.cfg:

    [io]

    file_first = true
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  12. #12
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    EDIT: OK DONE! My unit appears in Custom Battle

    Now, once i went into battle i got a crash to desktop. before it did i got a glimpse and the screen looked really dark.
    Last edited by hydra; May 26, 2007 at 09:02 AM.

  13. #13
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    Then set the file to read only.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  14. #14
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    My system.log only gives me this error:

    15:03:36.000 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.

    Could that be a mistake with a model file?

  15. #15
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,228

    Default Re: My Byzantine Unit, need help

    Yes it could. Have you followed my adivce and changed the 701 to 703? And do those sprites actually exist?
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  16. #16
    Ralendil's Avatar Shisai
    Join Date
    Oct 2005
    Location
    France
    Posts
    417

    Default Re: My Byzantine Unit, need help

    Quote Originally Posted by hydra View Post
    My system.log only gives me this error:

    15:03:36.000 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.

    Could that be a mistake with a model file?
    I don't think you made a big mistake, or you would crash at the loading screen of 'your mod'. But a little mistake in modeldb can provoke that.

    But, you could have put the texture at a bad place.

    And Lusted is right, check the sprites. Here it can provoke a crash when you load a battle (same with attachments)
    Last edited by Ralendil; May 26, 2007 at 09:10 AM. Reason: edit, cause I was inexact, as Lusted pointed it :p
    Kill one man, and you are a murderer. Kill millions of men, and you are a conqueror. Kill them all, and you are a god.
    Jean Rostand

    Current Mod for S2TW: Sengoku Unit Cards

  17. #17
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    Nicely spotted, seems without seeing you can spot what i do and dont have. There are no sprites, ill have a close look what sprites actually are, and see what i can make of it.

  18. #18
    Ralendil's Avatar Shisai
    Join Date
    Oct 2005
    Location
    France
    Posts
    417

    Default Re: My Byzantine Unit, need help

    Quote Originally Posted by hydra View Post
    Nicely spotted, seems without seeing you can spot what i do and dont have. There are no sprites, ill have a close look what sprites actually are, and see what i can make of it.
    check here

    http://www.twcenter.net/forums/showthread.php?t=97254
    Kill one man, and you are a murderer. Kill millions of men, and you are a conqueror. Kill them all, and you are a god.
    Jean Rostand

    Current Mod for S2TW: Sengoku Unit Cards

  19. #19
    Ashigaru
    Join Date
    Jan 2007
    Posts
    87

    Default Re: My Byzantine Unit, need help

    Ill try this tutorial

    Im stuck on this step;

    "4) run the game with this command line (or add to a config): --misc.bypass_sprite_script"

    Any ideas

  20. #20
    Ralendil's Avatar Shisai
    Join Date
    Oct 2005
    Location
    France
    Posts
    417

    Default Re: My Byzantine Unit, need help

    Quote Originally Posted by hydra View Post
    Ill try this tutorial

    Im stuck on this step;

    "4) run the game with this command line (or add to a config): --misc.bypass_sprite_script"

    Any ideas

    you need to create a bat file with that inside:
    medieval2.exe --misc.bypass_sprite_script
    OR
    medieval2.exe --misc.bypass_sprite_script @YOUR MOD.cfg
    Kill one man, and you are a murderer. Kill millions of men, and you are a conqueror. Kill them all, and you are a god.
    Jean Rostand

    Current Mod for S2TW: Sengoku Unit Cards

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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