Results 1 to 11 of 11

Thread: Editing Files

  1. #1
    Senior Member Senior Member ReluctantSamurai's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    2,483

    Default Editing Files

    My apologies if this has been discussed elsewhere....in my limited inet access time I couldn't locate anything in the archives.

    How does one edit descr_ files that have been generated by a spreadsheet. Specifically, adding units for a faction that were left out. Playing as Spain was frustrating after the Marius reforms because Roundshield Cav just don't have enough punch to decimate cohorts like Longshields do, and it's my understanding that Spain should have access to the Longshields. So, of course, upgrading the cavalry stables and the missile range (onagers left out, too) are a waste of time & money.

    I would assume this has to be done with Excel?
    Last edited by ReluctantSamurai; 12-24-2008 at 20:49.
    High Plains Drifter

  2. #2
    I stole it from a stupid Iceni Member Shieldmaiden's Avatar
    Join Date
    Nov 2004
    Location
    England, Lincolnshire.
    Posts
    340

    Default Re: Editing Files

    descr_ are .txt, no need for Excel. I use Notepad.

    Spain does get the Longshield Cavalry in vanilla RTW 1.5, but no Onagers
    Last edited by Shieldmaiden; 12-24-2008 at 21:31.
    "Now, once more I must ride with my knights, to defend what was and the dream of what could be..."

    - King Arthur, Excalibur

  3. #3
    Senior Member Senior Member ReluctantSamurai's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    2,483

    Default Editing Files

    First, I forgot to mention that I play v1.0 with no mods (although I have altered some stat files to be more balanced).

    I already tried to modify the specific file for units and it wouldn't load. The file header says don't modify "by hand"... whatever that means Perhaps I didn't have the correct spacing between entries, or forgot commas, etc.? I tried to emulate similar entries exactly but I still could've made a mistake, I suppose......
    High Plains Drifter

  4. #4
    I stole it from a stupid Iceni Member Shieldmaiden's Avatar
    Join Date
    Nov 2004
    Location
    England, Lincolnshire.
    Posts
    340

    Default Re: Editing Files

    Lines in export_descr_buildings.txt:

    Spanish Longshield Cavalry:

    (in cavalry_barracks)

    recruit "carthaginian medium cavalry" 0 requires factions { spain, }

    Spanish Onager:

    (in archery_range)

    recruit "carthaginian onager" 0 requires factions { spain, }

    Copied and pasted directly.
    Last edited by Shieldmaiden; 12-25-2008 at 00:25.
    "Now, once more I must ride with my knights, to defend what was and the dream of what could be..."

    - King Arthur, Excalibur

  5. #5
    Senior Member Senior Member ReluctantSamurai's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    2,483

    Default Editing Files

    That's what I put in I'll bet I didn't 'dot the i's and cross the t's' properly. I already restored my backup, so I'll just have to do it again....for another Spanish campaign. I got tired of that one and started a different campaign.

    But thanx for the info, Shieldmaiden
    High Plains Drifter

  6. #6
    I stole it from a stupid Iceni Member Shieldmaiden's Avatar
    Join Date
    Nov 2004
    Location
    England, Lincolnshire.
    Posts
    340

    Default Re: Editing Files

    Your welcome
    "Now, once more I must ride with my knights, to defend what was and the dream of what could be..."

    - King Arthur, Excalibur

  7. #7
    Senior Member Senior Member Ibn-Khaldun's Avatar
    Join Date
    Aug 2007
    Location
    Estonia
    Posts
    5,489
    Blog Entries
    4

    Default Re: Editing Files

    You play 1.0???

    You really should update your game to v1.5!!!
    Last edited by Ibn-Khaldun; 01-27-2009 at 19:00.

  8. #8
    Senior Member Senior Member ReluctantSamurai's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    2,483

    Default Editing Files

    Yoe really should update your game to v1.5!!!
    And the advantage vs heavily modding v1.0......?
    High Plains Drifter

  9. #9
    Senior Member Senior Member Ibn-Khaldun's Avatar
    Join Date
    Aug 2007
    Location
    Estonia
    Posts
    5,489
    Blog Entries
    4

    Default Re: Editing Files

    Quote Originally Posted by ReluctantSamurai View Post
    And the advantage vs heavily modding v1.0......?
    There are some things you can't mod yourself like the battle AI and campaign AI.
    And those patches are available everywhere.
    Last edited by Ibn-Khaldun; 12-28-2008 at 17:35.

  10. #10

    Post Re: Editing Files

    Moved to Modding Questions (a week too late - sorry)

    You can find the 1.2 patch here and the 1.5 patch here. You need to install 1.2 or 1.3 before you install 1.5. It's probably better advised to go with the 1.2 patch for the upgrade - it's smaller, so faster to download, and has less reported problems with it than 1.3.

    As said, a lot of changes made to the game in patches are hardcoded and cannot be changed by modding. In addition, later version also do have a slightly higher level of modability if I remember rightly. Also upgrading will allow you to share your modifications with more people if you wish to at a later date.

    Last edited by Omanes Alexandrapolites; 01-01-2009 at 21:49.
    Dawn is nature's way of telling you to go back to bed

  11. #11
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: Editing Files

    I was always under the impression that 1.5 required 1.3 before being able to be installed, probably because they are both side-by-side upgrades with 1.4 and 1.6 versions of BI.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

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