Results 1 to 7 of 7

Thread: Custom Generals?

Hybrid View

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

    Default Custom Generals?

    Sorry if this should go somewhere else or has already been discussed, but how do you add your own general to rome, bi, or m2tw? Note that you are dealing with something of a noobie with modding. Thanks in advance!

  2. #2

    Default Re: Custom Generals?

    Better ask this at the respective Modding-related forums of the platform you're more interested in. Also, what do you mean by "your own"? Just a new general with name/age/traits/etc that you have defined, or a new/unique model/skin?

  3. #3

    Default Re: Custom Generals?

    A general with a defined name, traits and etc... the first one

  4. #4

    Default Re: Custom Generals?

    Open data/world/maps/campaign/imperial_campaign/descr_strat.txt

    It's divided into sections, one of which is about factions, their settlements and armies. That section is divided into smaller parts, one for each factions. A general's entry looks like that:

    Code:
    character    Deorwine, named character, age 44, , x 73, y 85
    traits NewComeToManhood 3, christian 1, CharacterAges 1, HouseOfElfhelm 1
    ancillaries office_marshal_of_the_east-mark, office_lord_of_eastfold
    army
    unit        rohan bodyguard                exp 4 armour 1 weapon_lvl 2
    Code:
    character    char_name, named character, age char_age, , x x_coord, y y_coord
    traits trait_name level_number, trait_name level_number, ...
    ancillaries anc_name, anc_name,...
    unit        bodyguard_unit_edu_entry                exp exp_lvl armour arm_upg weapon_lvl wpn_upg
    char_name: The general's name (you can add a surname if you want). Must be a valid entry from his faction's name-list from descr_names.txt
    char_age: The general's age, anything from 16 to 124.
    x_coord: His horizontal position on the map, counting from the left side.
    y_coord: His vertical position on the map, counting from the bottom side.
    trait_name: The name of a trait, must be a valid entry from export_descr_character_traits.txt
    level_number: The number of the level that he has the trait developed at, obviously between 1 and the max level of the trait.
    anc_name: The name of an ancillary, must be a valid entry from export_descr_ancillaries.txt
    bodyguard_unit_edu_entry: The type (id) of his bodyguard unit, must be a valid entry from export_descr_units.txt
    exp_lvl: His BG unit's starting experience level. 1-9.
    arm_upg: His BG unit's starting armour upgrade level. 1-3.
    wpn_upg: His BG unit's starting weapon upgrade level. 1-3.


    So, you just have to add one "entry", like this one, into the "Army" section of the faction you want on descr_strat, replacing the red parts with choices of your own.


    Moving this to the Workshop.

  5. #5

    Default Re: Custom Generals?

    Wow, thanks Aradan! I did it! But there is one thing. How do I change the portrait for him? It is always the ame ione and I donm't like it too much...

  6. #6

    Default Re: Custom Generals?

    The engine picks the portrait, you can't choose one yourself (unless you are doing this on Alexander, where you can specify custom portraits). The portraits are affected by the order that characters appear on descr_strat. Change it a bit, maybe you'll find one you like.

  7. #7

    Default Re: Custom Generals?

    Wow, thanks a bunch, Aradan. You've been REALLY helpful!

Posting Permissions

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