Results 1 to 3 of 3

Thread: To RTW Modders: Be careful when reassigning faction ownership

  1. #1
    Member Member X6_861's Avatar
    Join Date
    Feb 2003
    Location
    USA
    Posts
    13

    Default To RTW Modders: Be careful when reassigning faction ownership

    Hey, just wanted to share a little knowledge and a little problem I've been having modding the units in RTW. I've played around with giving more hitpoints and raising/lowering attack and defense stats, but where I run into trouble is when I try to reassign a unit to a different faction.

    For instance, I experimented with allowing only the Roman Julii to have Hastati. I also changed the descr_strat.txt file to remove hastati from all other factions. However, the game refused to load afterwards.

    After further exploration, I found that units where assigned to their factions in export_descr_buildings.txt as well as in export_descr_unit.txt. I tried again, changing hastati faction affiliation in both files and removing them from all other factions in the descr_strat.txt file, but again, the game refused to load.

    I'm guessing there's another file that assigns units to factions, but I haven't run across it yet.

  2. #2
    Altogether quite not there! Member GodsPetMonkey's Avatar
    Join Date
    Aug 2004
    Location
    Australia
    Posts
    839

    Default Re: To RTW Modders: Be careful when reassigning faction ownership

    If the game is crashing on load, it means you have a (syntax) error. Make sure you set it to valid enums.

    I just tried it myself, and this works fine. (I replaced the bulk of the crap in the object with ..., only the ownership variable needs changing)

    Change
    type roman hastati
    ...
    ownership roman
    To
    type roman hastati
    ...
    ownership romans julii
    and the game should load correctly, and then, only Julii can buy hastati in quick/custom battles.

    For the campaign, you will also need to edit the export_descr_buildings.txt file. Change all occurrences of the line
    recruit "roman hastati" 0 requires factions { roman, } and not marian_reforms
    To
    recruit "roman hastati" 0 requires factions { romans julii, } and not marian_reforms
    Strangely, most factions with a space in the name (like the Romans and Greek Cities) use a underscore in these files, but the Julii don't.
    Caligula and Hadrian - Unit and Building editors for Rome: Total War.
    Now editing -
    export_descr_unit.txt, export_descr_unit_enums.txt, export_units.txt, descr_model_battle.txt
    export_descr_buildings.txt, export_descr_buildings_enums.txt, export_buildings.txt

  3. #3
    Member Member X6_861's Avatar
    Join Date
    Feb 2003
    Location
    USA
    Posts
    13

    Default Re: To RTW Modders: Be careful when reassigning faction ownership

    Thanks for the reply.

    I'll be sure to re-double check myself when I attempt it later tonight!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO