Page 7 of 13 FirstFirst 12345678910111213 LastLast
Results 121 to 140 of 260

Thread: How to add an existing unit to another faction

  1. #121
    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,126
    Blog Entries
    35

    Default Re: How to add an existing unit to another faction

    It will additionally require a monitor in the campaign_script file which executes an event. This event then needs to be added to the recruiting conditions of that behind the faction requirement for the Silvan Elves.










  2. #122

    Default Re: How to add an existing unit to another faction

    Hi ! first thank you for the tutorial.

    but i'm bit lost, i tried to add Antioch and Edessian knights to Stainless Steel crusades states. I found the entry in the battle models of kingdom Crusades

    18 knights_of_antioch
    1 4
    59 unit_models/_Units/CM_Standard/knights_of_antioch_lod0.mesh 121
    59 unit_models/_Units/CM_Standard/knights_of_antioch_lod1.mesh 900
    59 unit_models/_Units/CM_Standard/knights_of_antioch_lod2.mesh 2500
    59 unit_models/_Units/CM_Standard/knights_of_antioch_lod3.mesh 6400
    1
    7 antioch
    67 unit_models/_Units/CM_Standard/textures/CM_Standard_antioch.texture
    66 unit_models/_Units/CM_Standard/textures/CM_Standard_normal.texture
    50 unit_sprites/antioch_Knights_of_Antioch_sprite.spr
    1
    7 antioch
    60 unit_models/AttachmentSets/Final Heater_antioch_diff.texture
    60 unit_models/AttachmentSets/Final Heater_antioch_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
    what is the next step ? can you help me ?

  3. #123
    Cyrene's Avatar Vicarius
    Join Date
    Nov 2011
    Location
    Una River
    Posts
    2,590

    Default Re: How to add an existing unit to another faction

    I opened the file with notepad, but it appears to be unorganized, here it is

  4. #124
    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,126
    Blog Entries
    35

    Default Re: How to add an existing unit to another faction











  5. #125
    Cyrene's Avatar Vicarius
    Join Date
    Nov 2011
    Location
    Una River
    Posts
    2,590

    Default Re: How to add an existing unit to another faction

    +rep

  6. #126
    Gondolin's Avatar Tiro
    Join Date
    Apr 2012
    Location
    الفردوس المفقود
    Posts
    285

    Default Re: How to add an existing unit to another faction

    Any idea in order to change avalable mercenaries units for elves ??


  7. #127
    Ayyubid's Avatar Tiro
    Join Date
    Aug 2012
    Location
    Seattle, WA
    Posts
    234

    Default Re: How to add an existing unit to another faction

    Hi, is there a way to sort of do this en masse? Basically I wish to do this in Broken crescent, and make all Muslim units available for all Muslim factions, all Christian units available for all Christian factions, and all Hindu units available for all Hindu factions.

  8. #128
    Gondolin's Avatar Tiro
    Join Date
    Apr 2012
    Location
    الفردوس المفقود
    Posts
    285

    Default Re: How to add an existing unit to another faction

    I think that you are able to do that (I'm pretty sure, but still...)


  9. #129

    Default Re: How to add an existing unit to another faction

    http://www.twcenter.net/forums/showthread.php?t=74945 - adding units to rosters
    http://www.twcenter.net/forums/showthread.php?t=424751 - adding units from another mod

    These links may help.

    "is there a way to sort of do this en masse?"

    No, because you will have to keep changing battle_models_db. There is no automated way.
    Last edited by k/t; December 14, 2012 at 02:00 PM.

  10. #130

    Default Re: How to add an existing unit to another faction

    In what file the Battle_models are ?

  11. #131
    irishron's Avatar Cura Palatii
    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: How to add an existing unit to another faction

    data\unit_models

  12. #132

    Default Re: How to add an existing unit to another faction

    Quote Originally Posted by irishron View Post
    data\unit_models
    Thanks

  13. #133
    Ayyubid's Avatar Tiro
    Join Date
    Aug 2012
    Location
    Seattle, WA
    Posts
    234

    Default Re: How to add an existing unit to another faction

    Ok. Thanks.

  14. #134

    Default Re: How to add an existing unit to another faction

    wow! just what i'm looking. Try it at once. Thks alot!

  15. #135

    Default Re: How to add an existing unit to another faction

    Hi,
    I can produce soldiers of others country's soldiers.my problem is:ı cant solve texture fault that produced some soldiers. I can solve texture fault about high elf's. But dark elf, khrone, kislev etc.. still have problem. They looks white. I guess problem is religion. What will I do about this subject?

  16. #136
    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,126
    Blog Entries
    35

    Default Re: How to add an existing unit to another faction

    You will need to allocate textures to those factions via the model's entry in the modelDB file - obviously those textures have to be present in your mod in the correct folder.










  17. #137
    the new username's Avatar Praepositus
    Join Date
    Apr 2011
    Location
    Lusitania
    Posts
    5,086

    Default Re: How to add an existing unit to another faction

    I've tried to add pikemen to Genoa in Sicilian Vespers, but it crashes right when I start the game.

    my EDU file:
    type Pikemen
    dictionary Pikemen ; Pikemen
    category infantry
    class spearmen
    voice_type Light
    banner faction main_spear
    banner holy crusade
    soldier Pikemen, 60, 0, 0.8
    attributes sea_faring, hide_forest, can_withdraw, pike,


    very_hardy
    formation 1.2, 1.2, 2.4, 2.4, 8, phalanx, square
    stat_health 1, 0
    stat_pri 2, 3, no, 0, 0, melee, melee_blade, piercing, spear,


    25, 0.9
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr spear, long_pike, spear_bonus_8, ap
    stat_sec 0, 0, no, 0, 0, melee, melee_blade, piercing, sword,


    25, 1 ; 2, 2
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 1, 5, 0, flesh
    ;stat_armour_ex 0, 5, 7, 0, 3, 0, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 1, -2, 3, 2
    stat_mental 5, normal, highly_trained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 490, 190, 85, 65, 240, 4, 60
    armour_ug_levels 2, 3 ; took out first levels
    armour_ug_models Pikemen, Pikemen_ug1, Pikemen_ug2
    ownership france, milan
    era 2 france, milan
    ;unit_info 9, 0, 3
    recruit_priority_offset 0


    Battles model files:
    7 pikemen
    1 4
    51 unit_models/_Units/RN_Light_Lmail/pikemen_lod0.mesh 121
    51 unit_models/_Units/RN_Light_Lmail/pikemen_lod1.mesh 900
    51 unit_models/_Units/RN_Light_Lmail/pikemen_lod2.mesh 2500
    51 unit_models/_Units/RN_Light_Lmail/pikemen_lod3.mesh 6400
    2
    6 france
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu


    re
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu


    re
    38 unit_sprites/france_Pikemen_sprite.spr
    5 milan
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu


    re
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu


    re
    38 unit_sprites/france_Pikemen_sprite.
    2
    6 france
    67 unit_models/AttachmentSets/Final European Light_france_diff.texture
    67 unit_models/AttachmentSets/Final European Light_france_norm.texture


    5 milan
    67 unit_models/AttachmentSets/Final European Light_france_diff.texture
    67 unit_models/AttachmentSets/Final European Light_france_norm.texture
    0
    1
    4 None
    9 MTW2_Pike
    15 MTW2_Non_Shield 1
    17 MTW2_Pike_primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    11 pikemen_ug1
    1 4
    55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod0.mesh 121
    55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod1.mesh 900
    55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod2.mesh 2500
    55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod3.mesh 6400
    2
    6 france
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu


    re
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu


    re
    42 unit_sprites/france_Pikemen_ug1_sprite.spr
    5 milan
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu


    re
    72


    unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu


    re
    42 unit_sprites/france_Pikemen_ug1_sprite.spr
    2
    6 france
    67 unit_models/AttachmentSets/Final European Light_france_diff.texture
    67 unit_models/AttachmentSets/Final European Light_france_norm.texture


    5 milan
    67 unit_models/AttachmentSets/Final European Light_france_diff.texture
    67 unit_models/AttachmentSets/Final European Light_france_norm.texture
    0
    1
    4 None
    9 MTW2_Pike
    15 MTW2_Non_Shield 1
    17 MTW2_Pike_primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    11 pikemen_ug2
    1 4
    57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod0.mesh 121
    57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod1.mesh 900
    57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod2.mesh 2500
    57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod3.mesh 6400
    2
    6 france
    76


    unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_france.t


    exture
    76


    unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.t


    exture
    42 unit_sprites/france_Pikemen_ug2_sprite.spr
    5 milan
    76


    unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_france.t


    exture
    76


    unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.t


    exture
    42 unit_sprites/france_Pikemen_ug2_sprite.spr
    2
    6 france
    67 unit_models/AttachmentSets/Final European Light_france_diff.texture
    67 unit_models/AttachmentSets/Final European Light_france_norm.texture


    5 milan
    67 unit_models/AttachmentSets/Final European Light_france_diff.texture
    67 unit_models/AttachmentSets/Final European Light_france_norm.texture
    0
    1
    4 None
    9 MTW2_Pike
    15 MTW2_Non_Shield 1
    17 MTW2_Pike_primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002


    I can't see what's wrong with them

  18. #138
    Den Stark's Avatar Tiro
    Join Date
    May 2012
    Location
    Vladivostok
    Posts
    248

    Default Re: How to add an existing unit to another faction

    unit_models/_Units/RN_Light_Lmail/pikemen_lod0.mesh, unit_models/_Units/RN_Light_Lmail/pikemen_lod1.mesh, unit_models/_Units/RN_Light_Lmail/pikemen_lod2.mesh, unit_models/_Units/RN_Light_Lmail/pikemen_lod3.mesh... etc. transferred to the appropriate folders?

  19. #139
    the new username's Avatar Praepositus
    Join Date
    Apr 2011
    Location
    Lusitania
    Posts
    5,086

    Default Re: How to add an existing unit to another faction

    I don't think I messed with the mesh files, to where I have to move them?
    Last edited by the new username; July 10, 2013 at 08:51 AM.

  20. #140
    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,126
    Blog Entries
    35

    Default Re: How to add an existing unit to another faction

    The entries look fine, I am assuming you had a working EDU and modeldb before you did the changes? And then you only added milan to the ownership and era 2 entry in the EDU?
    In the modelDB you simply copied france's lines and substituted 6 france with 5 milan in the copy, and then increase the faction count number from 1 to 2.

    The one thing I can't check is how you handled the spaces - each line in the modeldb requires a space at the end of the line.










Posting Permissions

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