Results 1 to 1 of 1

Thread: Faction Traits: EXP on recruitment for both Land and Naval Units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    SilentResident's Avatar Libertus
    Join Date
    Dec 2006
    Location
    Central Macedonia, Greece
    Posts
    64

    Icon3 Faction Traits: EXP on recruitment for both Land and Naval Units

    Hello peeps! Modding in Rome II is pretty straightforward, as long as you know how to use the modding tools provided for this game. But I found something interesting that could be reported. I am trying to make a militaristic Faction Trait that gives extra EXP to all units, both naval and land ones, and make this Trait be exclusive to the Roman faction (and/or or to one of its sub-factions, such as Cornelia, Julia or Junia).

    A new Faction Trait that gives them more powerful and experienced units upon recruitment, sounds cool to have for the Roman Faction. (well, more powerful than in the vanilla game). The extra EXP effect could apply to both naval and land units.

    This small Tutorial explains how to do that, but also will highlight possible game limitations and issues I encountered by trying to do so:

    For this, we use the Pack File Manager tool, and we go to the following tables directory which contains the list with the Faction (and World Wonder) Traits:
    db > effect_bundles_to_effects_junctions_tables.

    Here, we add a new line and we fullfill its empty fields with the following:

    In the effect_bundle_key field we add the name of the faction (and or restrict this trait to one of its sub_families if you like):
    rom_faction_trait_rome_julia


    In the effect_key field we add this:
    rom_building_unit_experience_all


    In the effect_scope field we add this:
    in_all_your_provinces


    In the value field, we add any number between 1-9. This value determines the amount of extra EXP for all units (min: 1, max: 9):
    3


    In the advancement_stage field we add this:
    start_turn_completed


    This works absolutely perfectly in the game! - But only for your new Roman Legions! Your Legions will gain extra EXP on recruitment. However, this code does NOT work on any newly recruited Roman Navall units, at all. Unfortunately.


    I tried make this work for naval units too, by trying different effect_scopes, such as:
    in_all_your_sea_regions

    But still I had no luck in making it work for naval units. Rome's newly created naval units still have zero EXP upon recruitment while Rome's land units get the extra EXP just fine.




    NOTE: I shall note that Egypt and Athens, both come with a Faction Trait that gives them extra EXP point to all of their Naval forces upon recruitment. I gave this trait to Rome, but, sadly, it doesn't seem to work at all. No idea why. The new Roman Naval units still get recruited without any extra EXP at all.
    Here are the data for the Egypt's "Naval Prowess" Faction Trait:
    rom_faction_trait_successors_egypt
    rom_faction_trait_successor_egypt_naval_prowess
    in_all_your_provinces_unseen
    1
    start_turn_completed

    I copied Egypt's trait and gave it to Rome:
    rom_faction_trait_rome_julia
    rom_faction_trait_successor_egypt_naval_prowess
    in_all_your_provinces_unseen
    1
    start_turn_completed

    But this didn't work for Rome.


    That's strange, and I guess I am doing something wrong, or perhaps did I hit a game limitation?



    I shall note that there are alternative ways and solutions in making the navies of your faction, get extra EXP upon recruitment, (but these solutions make your modifications less compatible with most unit and building mods around there) by going to the following table directory:

    db > main_units_tables and change directly the starting EXP for all naval units, it works just fine.

    Another alternative solution is by going to:
    db > building_effects_junction_tables and edit the buldings to give extra EXP for all naval units recruited in province regions that are adjacent to sea regions.


    But, like I said, the above alternate solutions, are not as good and not as reliable as a Faction Trait which saves you from editing multiple buildings or units...

    I wonder, why the Faction Trait, for extra EXP, isn't working for the Roman Naval Units, at all?
    Last edited by SilentResident; October 17, 2013 at 09:32 PM.

Tags for this Thread

Posting Permissions

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