Page 10 of 13 FirstFirst 12345678910111213 LastLast
Results 181 to 200 of 252

Thread: How to add an existing unit to another faction

Hybrid View

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

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

    Quote Originally Posted by Gigantus View Post
    Fantastic. This looks more comprehensible. Thanks!

  2. #2
    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,679
    Blog Entries
    35

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

    One is glad to be of service










  3. #3

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

    Hi Stephan,

    thanks for the great work. It still helps people like me 4 years after you've posted it. I just successfully added Forlorn Hope, Swiss Guard and Reiters to the Portuguese faction. I tried that before but didn't know how to do it. :-)

    However, you should mention a few additional steps especially for beginners like me.

    1. The necessity to change the config file, adding following lines:

    [io]
    file_first = true

    This is probably the reason why many beginners have problems adding anything to their game.

    2. If the unit has an armor upgrade, e.g., Reiters_UG1, one has to change that as well in the battle_models.modelbd file, otherwise the units will appear blank after the armor upgrade.

    3. It's also helpful to mention that the attachments are also part of the battle_models.modelbd - especially for a beginner this is a bit confusing.

  4. #4
    Silvan Heir's Avatar Libertus
    Join Date
    Jul 2014
    Location
    Northern California
    Posts
    60

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

    Quote Originally Posted by Sam_1 View Post
    Hi Stephan,

    thanks for the great work. It still helps people like me 4 years after you've posted it. I just successfully added Forlorn Hope, Swiss Guard and Reiters to the Portuguese faction. I tried that before but didn't know how to do it. :-)

    However, you should mention a few additional steps especially for beginners like me.

    1. The necessity to change the config file, adding following lines:

    [io]
    file_first = true

    This is probably the reason why many beginners have problems adding anything to their game.

    2. If the unit has an armor upgrade, e.g., Reiters_UG1, one has to change that as well in the battle_models.modelbd file, otherwise the units will appear blank after the armor upgrade.

    3. It's also helpful to mention that the attachments are also part of the battle_models.modelbd - especially for a beginner this is a bit confusing.

    I believe my problem is somehow associated with number 2.

  5. #5

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

    Hello
    I have a question... i fallow your instructions about change unit faction and it works. BUT when i enter a game and start playing 4 example 'scots guard' (french unit to scotland faction) when i click at the unit .. on world map our in castle where i build them .. i have some poor guy whit a stick in his hand in picture.. i wonder did i miss anything .. so when i click on unit i rly see scots guard like when i play french?

    Sry for bad eng

  6. #6

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

    Found the problem by me self Need to go to data/ui/units_info copy from france scots guard to scotland folder but i did't do the same in folder data/ui/units. same procedure from france folder to scotland folder (name of the unit u want to play )

  7. #7

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

    Aldo i would love to know about moding a bit more.. i would love to play heavy armored units for example perfect would be Dismounted Gothic Knight whit Long bow and small shield in his off hand, played by Scotland
    If any 1 is willing to thry to do it send me file and explain how to integrate it in a game... i wona thry it

  8. #8

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

    Greetings! i'm a starter here, first of all thank you guys for the hard work you've done so far!, i came across with the issue of having the unit i want to recruit for another faction gets the silver surfers instead of the faction colors, the unit i'm trying to recruit are the musketeers with the portuguese skins but no success so far, everything else is fine i have them with unit card/info set ownership but the problem is that when i try to use them in campaign/custom battles they still are silver, could anyone help me with my problem?

  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,679
    Blog Entries
    35

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

    Your unit's model needs your faction entry in the modelDB file.










  10. #10

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

    hi! ty for the quick response i have checked what you said and i have the units entry for the model, i even created new .mesh/.sprite by copy pasting and placed em under a new folder and i gave the direction to the new folder aswell on the mdb the game runs well so i dont think i have misplaced something but the unit still wears the silver skin instead of the portuguese one

  11. #11
    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,679
    Blog Entries
    35

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

    Please copy your EDU entry for the unit here as well as the model's modelDB entry.










  12. #12

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

    will do that, thou i have just restored the originals in my frustration time but here they go

    10 musketeers 1 4
    54 unit_models/_Units/RN_Light_Lmail/musketeers_lod0.mesh 121
    54 unit_models/_Units/RN_Light_Lmail/musketeers_lod1.mesh 900
    54 unit_models/_Units/RN_Light_Lmail/musketeers_lod2.mesh 2500
    54 unit_models/_Units/RN_Light_Lmail/musketeers_lod3.mesh 6400
    4
    5 spain
    71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_spain.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    40 unit_sprites/spain_Musketeers_sprite.spr
    8 portugal
    74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    43 unit_sprites/portugal_Musketeers_sprite.spr
    8 scotland
    74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    43 unit_sprites/portugal_Musketeers_sprite.spr
    5 milan
    71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_milan.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    40 unit_sprites/milan_Musketeers_sprite.spr
    6 venice
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_venice.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    41 unit_sprites/venice_Musketeers_sprite.spr
    4
    5 spain
    67 unit_models/AttachmentSets/Final European CB Gun_spain_diff.texture
    67 unit_models/AttachmentSets/Final European CB Gun_spain_norm.texture 0
    8 portugal
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
    8 scotland
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
    5 milan
    67 unit_models/AttachmentSets/Final European CB Gun_milan_diff.texture
    67 unit_models/AttachmentSets/Final European CB Gun_milan_norm.texture 0
    6 venice
    68 unit_models/AttachmentSets/Final European CB Gun_venice_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_venice_norm.texture 0
    1
    4 None
    16 MTW2_Fast_Musket
    20 MTW2_Non_Shield_Fast 1
    19 MTW2_Musket_Primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    14 musketeers_ug1
    1 4
    58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod0.mesh 121
    58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod1.mesh 900
    58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod2.mesh 2500
    58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod3.mesh 6400
    4
    5 spain
    71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_spain.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    44 unit_sprites/spain_Musketeers_ug1_sprite.spr
    8 portugal
    74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    47 unit_sprites/portugal_Musketeers_ug1_sprite.spr
    8 scotland
    74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    47 unit_sprites/portugal_Musketeers_ug1_sprite.spr
    5 milan
    71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_milan.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    44 unit_sprites/milan_Musketeers_ug1_sprite.spr
    6 venice
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_venice.texture
    72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
    45 unit_sprites/venice_Musketeers_ug1_sprite.spr
    4
    5 spain
    67 unit_models/AttachmentSets/Final European CB Gun_spain_diff.texture
    67 unit_models/AttachmentSets/Final European CB Gun_spain_norm.texture 0
    8 portugal
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
    8 scotland
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
    70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
    5 milan
    67 unit_models/AttachmentSets/Final European CB Gun_milan_diff.texture
    67 unit_models/AttachmentSets/Final European CB Gun_milan_norm.texture 0
    6 venice
    68 unit_models/AttachmentSets/Final European CB Gun_venice_diff.texture
    68 unit_models/AttachmentSets/Final European CB Gun_venice_norm.texture 0
    1
    4 None
    16 MTW2_Fast_Musket
    20 MTW2_Non_Shield_Fast 1
    19 MTW2_Musket_Primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    thats the mdb heres the edu

    type Musketeersdictionary Musketeers ; Musketeers
    category infantry
    class missile
    voice_type Light
    banner faction main_missile
    banner holy crusade
    soldier Musketeers, 48, 0, 0.8
    attributes sea_faring, hide_forest, can_withdraw, gunpowder_unit, fire_by_rank,


    start_not_skirmishing, gunmen
    formation 1.2, 1.2, 2.4, 2.4, 3, square
    stat_health 1, 0
    stat_pri 14, 1, musket_bullet, 180, 20, missile, missile_gunpowder, piercing, none,


    musket_shot_set, 25, 1
    ;stat_pri_ex 0, 0, 20
    stat_pri_attr ap
    stat_sec 6, 1, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr no
    stat_pri_armour 0, 3, 0, flesh
    ;stat_armour_ex 0, 5, 0, 0, 3, 0, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 1, -2, 3, 2
    stat_mental 3, normal, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 540, 150, 65, 50, 540, 4, 130
    armour_ug_levels 0, 2
    armour_ug_models Musketeers, Musketeers_ug1
    ownership spain, portugal, milan, venice, scotland
    era 2 spain, portugal, milan, venice, scotland
    ;unit_info 6, 14, 3

  13. #13

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

    sorry i forgot to add the extra number for faction, already done it in case you wondered hehe thats my bad, thou that didnt help fix the problem they still appear in silver

  14. #14
    Silvan Heir's Avatar Libertus
    Join Date
    Jul 2014
    Location
    Northern California
    Posts
    60

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

    Okay so I followed these instructions to the best of my ability and I have been at this all day. I wanted to add aum Silvan Shieldsword units to the silvan faction and I succeeded to some degree. I got them in custom battle and campaign but I noticed a problem. In campaign their models are seen perfectly if I do the create_unit cheat without adding the 9 9 9 for their attack buffs. Does anyone know what I may have missed? These units become crome looking if I give them extra attack points through the total war cheat engine.

  15. #15
    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,679
    Blog Entries
    35

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

    Check your armour_ug_models line in the EDU - every entry needs it's modelDB counterpart










  16. #16
    Silvan Heir's Avatar Libertus
    Join Date
    Jul 2014
    Location
    Northern California
    Posts
    60

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

    Quote Originally Posted by Gigantus View Post
    Check your armour_ug_models line in the EDU - every entry needs it's modelDB counterpart
    Sorry could you break this down a bit ? I don't really follow. Could you also break down how to switch my modelDB with a reformatted one ?

  17. #17
    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,679
    Blog Entries
    35

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

    In the EDU entry for your unit there is a line listing the battle models - it's called armour_ug_models, check post #193 which has two models in that line:

    armour_ug_models Musketeers, Musketeers_ug1

    Each of these needs a modelDB entry, see the other part of the post.

    There are preformatted modeldb files for the grand campaign and the four kingdom campaigns - if you are using a non formatted, custom modeldb then you may have some difficulties. But in general you can add new entries at the bottom\end without a problem as long as you remember to update the model count number at the beginning.










  18. #18
    Silvan Heir's Avatar Libertus
    Join Date
    Jul 2014
    Location
    Northern California
    Posts
    60

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

    Quote Originally Posted by Gigantus View Post
    In the EDU entry for your unit there is a line listing the battle models - it's called armour_ug_models, check post #193 which has two models in that line:

    armour_ug_models Musketeers, Musketeers_ug1

    Each of these needs a modelDB entry, see the other part of the post.

    There are preformatted modeldb files for the grand campaign and the four kingdom campaigns - if you are using a non formatted, custom modeldb then you may have some difficulties. But in general you can add new entries at the bottom\end without a problem as long as you remember to update the model count number at the beginning.
    When I modified my modeldb folder I copied pasted everything needed but I only changed the name of one saxons to mongols. In other words do I have to change "saxons_aum_silvan_shieldsword_sprite.spr2" to "mongols_aum etc." In regards to the EDU file I added mongols to the saxons ownership field and I thought thats all that was needed.

  19. #19
    Silvan Heir's Avatar Libertus
    Join Date
    Jul 2014
    Location
    Northern California
    Posts
    60

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

    Wait I think I understand now. Do I need to edit each mesh file in order to see my units when they upgrade armor?

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

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

    I think you are getting mixed between two issues:

    1. every battle model in the armour_ug_models line needs its entry in the modeledb file. The second (third\fourth) is the upgrades that you are activating with the '9 9 9' setting.
    2. every faction in the ownership line needs a corresponding entry in EACH of the modelDB entries










Posting Permissions

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