Results 1 to 3 of 3

Thread: Adding buildings to MTW

  1. #1
    Member Member Iggyred's Avatar
    Join Date
    Sep 2003
    Location
    Scotland
    Posts
    20

    Question

    I am trying to add a building to MTW. Following the unit guide (from another post), I copied and pasted the building to the end of the txt file. However when I try to open the txt file with Gnome all I get is a formatting error. Any suggestions ?
    Beer and Medieval don't mix kids

  2. #2
    The Lordz Modding Collective Senior Member Lord Of Storms's Avatar
    Join Date
    Jan 2003
    Location
    Paisley,Florida
    Posts
    2,302

    Default

    Greetings Iggy, Here is a good post on adding buildings to MTW
    To add a new building into the tech tree

    Make all the required entries in build prod,
    Thats the hardest bit, getting all the tabs correct

    then add
    [New Building] {new building} to loc/names.txt
    and
    [New Building_desc] {this is the new building} to loc/descriptions.txt,
    along with the completed and destroyed entries.
    [New Building_Completed] {New Building Completed.}
    [New Building_Destroyed] {New Building Destroyed.}

    plus bif's into
    campmap/info pics/buildings
    campmap/info pics/buildings/coloured
    campmap/review panel/buildings

    it's as simple as that :-)
    cheers,
    B.
    As far as your error it sounds like either to many charcaters to a space or a mispaced tab the prod files can be real touchy, always make back ups before you make your edits this was you can start from scratch if you cannot identify your error and correct it. LOS
    Taking life one day at a time!

  3. #3
    Senior Member Senior Member Dhepee's Avatar
    Join Date
    Sep 2003
    Location
    USA
    Posts
    1,314

    Default

    If you are editing the text file and don't want to screw up the tabs and spacing like LOS said, this is how I do it. It's a litte tedious but it's a lot less tedious than going over it again and again to try and find the mistake.
    Pick a building roughly similar to your new building. I.E. if you are building a barracks pick County Watch. Highlight the text, and only the text that you want to replace, by dragging over it with the mouse. Once it is highlighted start typing, the letters will be replaced but all the spacing and tabs around it will be untouched. Don't touch the spacebar, you don't need to. This is how I did all of my mods before I got gnome editor and it works well.
    Run Right at them and board them in the smoke Captain Lucky Jack Aubrey of the HMS Surprise

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