Results 1 to 3 of 3

Thread: Deleting units

  1. #1
    Member Member General_Someone's Avatar
    Join Date
    Apr 2007
    Location
    Billings, Montana
    Posts
    44

    Question Deleting units

    I'm working on a small mod to change some of the factions. So, my question is how do you COMPLETELY delete a unit. My attempts have crashed the game and it will not start.
    It is well that war is so terrible — otherwise we should grow too fond of it- Robert E. Lee

    Then, Sir, we will give them the bayonet!- Thomas "Stonewall" Jackson


  2. #2
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Deleting units

    There's some stuff about removing units here:
    http://www.twcenter.net/wiki/Removing_Units

    basically if you remove model from descr_model_battle.txt you have to remove/change every unit that uses that model as a soldier type in export_descr_unit.txt

    If you remove a unit from export_descr_unit.txt you have to remove all references to that unit in
    export_descr_buildings.txt
    descr_strat.txt
    descr_rebel_factions.txt
    descr_mercenaries.txt
    and possibly in script if you are working on a mod that has one.

    Most errors should give you a message if you are using -show_err on your shortcut.
    Not used mods before? Looking for something small and fun?!
    Download the:

  3. #3
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: Deleting units

    lol ...


    yeah, like Mak said, it will show up with show_err ...

    easiest is to first remove the unit from EDU, than just load the game and read a possible show_err message, if the game loads possibly (if wanted) remove the model's entry from descr_model_battle, wich again will give a show_err message if the model is used by an other unit ...
    (with some work I've stripped almost each unit from EDU except for female peasants and "oliphants" (and a few that would be used anyway), the last cause I feared a hardcoded element, the women caue I didnt mod that area of the game, so I could base my work on relativly empty base-files)

    Edit;
    And now I read Roman_man#3 and Mak already did so, well it was a good lesson ..:P
    link; http://www.twcenter.net/forums/showthread.php?t=102996


    G
    Last edited by Red Spot; 10-09-2007 at 11:40.

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