Results 1 to 11 of 11

Thread: Editing Files

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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

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