Page 7 of 30 FirstFirst 1234567891011121314151617 ... LastLast
Results 121 to 140 of 692

Thread: How-To: Add other faction units for new factions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    KnightErrant's Avatar Decanus
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    578

    Default Re: How-To: Add other faction units for new factions

    @glitch
    Do you want the modeldb code with russia modded in? I think it
    would be something like this:

    Code:
    25 dismounted_feudal_knights 
    1 4 
    69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod0.mesh 121 
    69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod1.mesh 900 
    69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod2.mesh 2500 
    69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod3.mesh 6400 
    12 
    6 russia 
    73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_england.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    57 unit_sprites/england_Dismounted_Feudal_Knights_sprite.spr 
    7 england 
    73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_england.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    57 unit_sprites/england_Dismounted_Feudal_Knights_sprite.spr 
    8 scotland 
    74 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_scotland.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    58 unit_sprites/scotland_Dismounted_Feudal_Knights_sprite.spr 
    6 france 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_france.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    56 unit_sprites/france_Dismounted_Feudal_Knights_sprite.spr 
    3 hre 
    69 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_hre.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    53 unit_sprites/hre_Dismounted_Feudal_Knights_sprite.spr 
    7 denmark 
    73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_denmark.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    57 unit_sprites/denmark_Dismounted_Feudal_Knights_sprite.spr 
    5 spain 
    71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_spain.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    55 unit_sprites/spain_Dismounted_Feudal_Knights_sprite.spr 
    8 portugal 
    74 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_portugal.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    58 unit_sprites/portugal_Dismounted_Feudal_Knights_sprite.spr 
    5 milan 
    71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_milan.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    55 unit_sprites/milan_Dismounted_Feudal_Knights_sprite.spr 
    6 venice 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_venice.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    56 unit_sprites/venice_Dismounted_Feudal_Knights_sprite.spr 
    12 papal_states 
    78 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_papal_states.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    62 unit_sprites/papal_states_Dismounted_Feudal_Knights_sprite.spr 
    7 hungary 
    73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_hungary.texture 
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    57 unit_sprites/hungary_Dismounted_Feudal_Knights_sprite.spr 
    12 
    6 russia 
    60 unit_models/AttachmentSets/Final Heater_england_diff.texture 
    60 unit_models/AttachmentSets/Final Heater_england_norm.texture 0  
    7 england 
    60 unit_models/AttachmentSets/Final Heater_england_diff.texture 
    60 unit_models/AttachmentSets/Final Heater_england_norm.texture 0  
    8 scotland 
    61 unit_models/AttachmentSets/Final Heater_scotland_diff.texture 
    61 unit_models/AttachmentSets/Final Heater_scotland_norm.texture 0  
    6 france 
    59 unit_models/AttachmentSets/Final Heater_france_diff.texture 
    59 unit_models/AttachmentSets/Final Heater_france_norm.texture 0  
    3 hre 
    56 unit_models/AttachmentSets/Final Heater_hre_diff.texture 
    56 unit_models/AttachmentSets/Final Heater_hre_norm.texture 0  
    7 denmark 
    60 unit_models/AttachmentSets/Final Heater_denmark_diff.texture 
    60 unit_models/AttachmentSets/Final Heater_denmark_norm.texture 0  
    5 spain 
    58 unit_models/AttachmentSets/Final Heater_spain_diff.texture 
    58 unit_models/AttachmentSets/Final Heater_spain_norm.texture 0  
    8 portugal 
    61 unit_models/AttachmentSets/Final Heater_portugal_diff.texture 
    61 unit_models/AttachmentSets/Final Heater_portugal_norm.texture 0  
    5 milan 
    58 unit_models/AttachmentSets/Final Heater_milan_diff.texture 
    58 unit_models/AttachmentSets/Final Heater_milan_norm.texture 0  
    6 venice 
    59 unit_models/AttachmentSets/Final Heater_venice_diff.texture 
    59 unit_models/AttachmentSets/Final Heater_venice_norm.texture 0  
    12 papal_states 
    65 unit_models/AttachmentSets/Final Heater_papal_states_diff.texture 
    65 unit_models/AttachmentSets/Final Heater_papal_states_norm.texture 0  
    7 hungary 
    60 unit_models/AttachmentSets/Final Heater_hungary_diff.texture 
    60 unit_models/AttachmentSets/Final Heater_hungary_norm.texture 0  
    1 
    4 None 
    14 MTW2_Swordsman 0  
    2 
    18 MTW2_Sword_Primary 
    14 fs_test_shield 0 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    I just copied england's entry and changed the faction name to russia,
    and changed the character count from 7 to 6 (england to russia).
    I also changed the faction count from 11 to 12 because a new
    entry has been added. All the changes are highlighted in blue.

    Does this help?

  2. #2

    Default Re: How-To: Add other faction units for new factions

    how bout this?
    Code:
    -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 12 norse_axemen 1 4 
    56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod0.mesh 121 
    56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod1.mesh 900 
    56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod2.mesh 2500 
    56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod3.mesh 6400 
    2 
    7 denmark 
    73 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_denmark.texture 
    72 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_normal.texture 
    44 unit_sprites/denmark_Norse_Axemen_sprite.spr 
    7 england
    73 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_england.texture
    72 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_normal.texture
    44 unit_sprites/denmark_Norse_Axemen_sprite.spr 
    2 
    7 denmark 
    60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture 
    60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0 
    7 england
    60 unit_models/AttachmentSets/Final Danish_england_diff.texture 
    60 unit_models/AttachmentSets/Final Danish_england_norm.texture 0 
    1 4 None 11 MTW2_2H_Axe 0 2 19 MTW2_2H_Axe_primary 14 fs_test_shield 0 16
    -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 16 norse_axemen_ug1 1 3 
    66 unit_models/_Units/LN_3QPlate_HalfPlate/norse_axemen_ug1_lod0.mesh 121 
    66 unit_models/_Units/LN_3QPlate_HalfPlate/norse_axemen_ug1_lod1.mesh 1225 
    66 unit_models/_Units/LN_3QPlate_HalfPlate/norse_axemen_ug1_lod2.mesh 6400 
    2 
    7 denmark 
    82 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_denmark.texture 
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture 
    48 unit_sprites/denmark_Norse_Axemen_ug1_sprite.spr 
    7 england
    82 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_england.texture
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture
    48 unit_sprites/denmark_Norse_Axemen_ug1_sprite.spr 
    2 
    7 denmark 
    60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture 
    60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0 
    7 england
    60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture 
    60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0 
    1 4 None 11 MTW2_2H_Axe 0 2 19 MTW2_2H_Axe_primary 14 fs_test_shield 0 16

  3. #3
    M3rcury15's Avatar Libertus
    Join Date
    Dec 2006
    Location
    Estonia
    Posts
    97

    Default Re: How-To: Add other faction units for new factions

    This should work, the clothing should change to England but the shield is still Denmark's

  4. #4

    Default Re: How-To: Add other faction units for new factions

    This is the 2nd mongol unit I add and it's still the same.



    I think that there is some "bug" in the game that prevents the mongol captains(or maybe there're others too) to appear after you gave that unit to some other faction.
    Last edited by m.minkov; February 17, 2007 at 11:39 AM.

  5. #5

    Default Re: How-To: Add other faction units for new factions

    @m3rcury, it worked. the reason it didnt work in the first place was because i didnt put a double space in 2 places. thanx for ur help

  6. #6

    Default Re: How-To: Add other faction units for new factions

    @m3rcury : I don't think my problem is because of export_descr_buildings, but could u give me the link though ? coz I can't find it

  7. #7

    Default Re: How-To: Add other faction units for new factions

    what is very weird is that nobody seems to have this problem ...

  8. #8

    Default Re: How-To: Add other faction units for new factions

    @knightErrant

    thanks mate, owe you my soul.


    edit*

    i've successfully added both mounted/dismounted feudal knights but can I give the knights the appropriate colors ? the horses have the rights colors but not the knights themseleves.

    i attempted to what was suggested on the first page but it crashed when trying to load the custom battle, this is what I did: blue is what I changed.

    6 russia 73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_russia.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 46 unit_sprites/england_Feudal_Knights_sprite.spr
    Last edited by glitch; February 17, 2007 at 06:54 PM.

  9. #9
    PXZyan's Avatar Ducenarius
    Join Date
    Oct 2004
    Location
    Ireland/Waterford
    Posts
    980

    Default Re: How-To: Add other faction units for new factions

    Hey guys.

    I have created a new faction.."ireland" and have put alot of units available for them..I managed to succeed in doing so..the game ran..no errors popped up..the only thing that I have not done was make the unit cards to be seen..so every unit shows a peasant

    Anyway..the game ran smoothly...then around the 18th turn..it said that the normans are the richest in the world??? whats that about???

    then...two moves later the game crashes?? it freezes up..I check the error log..it shows nothing..just an unexpected error and had to shut down.

    I try to play the campaign again..and now it freezes and wont allow me to do anything..so I have press CTRL-ALT-DEL..and the screen is still black so I have to press M and DEL and then iam back to desktop...can anyone explain this???

    ive spent hours and hours on this and it is fully working..but now this odd event has taken place and nothing I do will change anything??

  10. #10
    KnightErrant's Avatar Decanus
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    578

    Default Re: How-To: Add other faction units for new factions

    @glitch
    When you changed england to russia in that line the character
    count has to be reduced by 1 from 73 to 72. I've created a
    syntax checker for my version 2 of the formatted modeldb file
    that would catch these character count errors before you get
    the black screen of torment. Check out this thread:

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

    Let me know if the syntax checker proves useful.

  11. #11

    Default Re: How-To: Add other faction units for new factions

    @ KnightErrant

    BLESSED IS THE!

    I got the colors right for units themselves.

    I was just wondering if it's possible to get the same colors and design on the unit cards and unit info page as well without using photoshop (which I don't have), I only need it for dismounted feudal knights, I just used france's feudal knights for russia, the colors are similar enough.

  12. #12

    Default Re: How-To: Add other faction units for new factions

    I'm trying to test creating a sergeant spearmen unit for the crusader factions. yet while I do not CTD, the unit I create is totally invisible. I assume this means a problem with the meshes, but I do not understand as they are the sergeant spearmen meshes. Is it perhaps that the mesh does not link with the skin, which is the crusader knight skins? Maybe I need to get 3dsmax or GIMP and set the skin to the model?

    26 hospitaller_foot_sergeants
    1 4
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod0.mesh 121
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod1.mesh 900
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod2.mesh 2500
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod3.mesh 6400
    1
    6 sicily
    77 unit_models/_Units/EN_Lmail_Hmail/textures/en_lmail_hmail_hospitaller.texture
    72 unit_models/_Units/EN_Lmail_Hmail/textures/en_smail_smail_normal.texture
    52 unit_sprites/sicily_Dummy_EN_Spearmen_ug2_sprite.spr
    1
    6 sicily
    57 unit_models/AttachmentSets/Final Kite_sicily_diff.texture
    57 unit_models/AttachmentSets/Final Kite_sicily_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


    (I ended up using the same normal texture as the one in burrek's k&k, but I dont think thats it)
    Last edited by Ahiga; February 19, 2007 at 08:21 AM.

  13. #13
    Pnutmaster's Avatar Dominus Qualitatium
    Join Date
    Jan 2006
    Location
    Brooklyn, NY
    Posts
    1,572

    Default Re: How-To: Add other faction units for new factions

    Quote Originally Posted by Ahiga View Post
    I'm trying to test creating a sergeant spearmen unit for the crusader factions. yet while I do not CTD, the unit I create is totally invisible.
    Having the same damn problem. I've overcome the CTDs using the modified battle_models.modeldb and now the game taunts me with invisible units...
    Under the patronage and bound to the service of the
    artist formerly known as Squeakus Maximus
    Stoic Pantheist of S.I.N

  14. #14
    KnightErrant's Avatar Decanus
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    578

    Default Re: How-To: Add other faction units for new factions

    @ahiga
    This may be too late but

    26 hospitaller_foot_sergeants
    1 4
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod0.mesh 121
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod1.mesh 900
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod2.mesh 2500
    61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod3.mesh 6400
    1
    6 sicily
    77 unit_models/_Units/EN_Lmail_Hmail/textures/en_lmail_hmail_hospitaller.texture
    72 unit_models/_Units/EN_Lmail_Hmail/textures/en_smail_smail_normal.texture
    52 unit_sprites/sicily_Dummy_EN_Spearmen_ug2_sprite.spr
    1
    6 sicily
    The red texture doesn't exist, it's en_lmail_hmail_normal.texture like
    the line above.

  15. #15
    M3rcury15's Avatar Libertus
    Join Date
    Dec 2006
    Location
    Estonia
    Posts
    97

    Default Re: How-To: Add other faction units for new factions

    Thanks again KnightErrant for helping these people, you know much about modeldb(of course you made it more easy to edit) It's good to have a helper here when i am away(I am having school problems and can't come to PC so often like old days)

    Keep up the good work KnightErrant

  16. #16
    KnightErrant's Avatar Decanus
    Join Date
    Jan 2007
    Location
    Huntsville, Alabama USA
    Posts
    578

    Default Re: How-To: Add other faction units for new factions

    Thanks M3rcury! Oh, I never properly thanked you for doing this
    great tutorial, it has been a BIG help to me and of course others.

  17. #17

    Default Re: How-To: Add other faction units for new factions

    Quote Originally Posted by KnightErrant View Post
    @ahiga
    This may be too late but

    The red texture doesn't exist, it's en_lmail_hmail_normal.texture like
    the line above.
    en_smail_smail_normal.texture is featured as part of Burrek's package, I'm afraid.

    I'm going to give it another try soon because it turned out I was using a wrong mesh file (I need to use the last upgrade of Spear militia for this).

  18. #18

    Default Re: How-To: Add other faction units for new factions

    Ou and I forgot said before THX for this tutorial. I add some units to milan and it work perectly. THX
    Last edited by AliAS; February 24, 2007 at 03:04 PM.


  19. #19
    Lopus's Avatar Biarchus
    Join Date
    Oct 2004
    Location
    SJ, MM, Republic of the Banana (Philippines)
    Posts
    664

    Default Re: How-To: Add other faction units for new factions

    Question, when editing units in the battlemodels.modeldb file, (e.g. Norman Knights) and I want to add England as owners, do I have to change both
    Norman_Knights
    Norman_Knights_ug1
    to allow them to upgrade?

  20. #20

    Default Re: How-To: Add other faction units for new factions

    Quote Originally Posted by Lopus View Post
    Question, when editing units in the battlemodels.modeldb file, (e.g. Norman Knights) and I want to add England as owners, do I have to change both
    Norman_Knights
    Norman_Knights_ug1
    to allow them to upgrade?
    Yes, you do. Otherwise, the game won't know which model to use for the Englsih and they will become invisible once upgraded.

Posting Permissions

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