Results 1 to 2 of 2

Thread: How to remove a unit from game

  1. #1
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,311

    Default How to remove a unit from game

    Hi, I hadn't nothing to do and certain modders were wondering about how to do this without crashing the game. Then I decide to write this easy tutorial for those who want to remove a unit from the game due to a lack of space (500 units, hardcore cap) or simply remove useless units. SS modders will actually love that tutorial.

    Step One: Making back-up.

    Removing a unit involves several files and before doing anything else, I strongly suggest you to back-up the following files:

    • Export_Descr_Unit.txt (data)
    • Export_Descr_Building.txt (data)
    • Descr_Rebel_factions.txt (data)
    • Descr_sm_factions.txt (data)
    • Campaign_script.txt (data/world/maps/campaign/imperial_campaign)
    • Descr_mercenaries.txt (data/world/maps/campaign/imperial_campaign)
    • Desr_Strat.txt (data/world/maps/campaign/imperial_campaign)


    Step Two: Removing the unit.

    Now time to remove your unit. Easy as blinking with your eyes.

    I suggest you to remove your unit by following the order of the files in the step one (start with Export_Descr_Unit.txt, then Export_Descr_Building.txt, etc.)

    • When you open your file, do Ctrl + F (doing that will make you open your Search Tool) and type the unit name (for example, I want to remove the "English Knights", so I do Ctrl + F and write english_knights, english knights or whatever).
    • When you have find your unit you want to remove, well select the whole code and delete it.
    • Save the file and do the same with the other files.*


    *Note that you may have a file where your unit is not coded inside.

    **Also, in order to locate the unit code without knowing the dictionary name or unit type, take a look at your Export_unit.txt file (located in data/text folder) and type the unit name as written in game in your Search tool.

    That's it, simple as that! If I forgot a file (which I doubt), please just give me a sign and I'll fix the tutorial.

    Happy modding!

  2. #2
    David93's Avatar Shiny
    Join Date
    Aug 2010
    Location
    Ireland
    Posts
    2,728

    Default Re: How to remove a unit from game

    Perfect mate

    The Orcs of Gundabad Erin go Bragh FROGS

    When I came back to Dublin I was court marshaled in my absence and sentenced to death in my absence, so I said they could shoot me in my absence"
    Brendan Behan
    The Irish won an Empire
    The Scots ran an Empire
    The English lost an Empire

    "When I told the people of Northern Ireland that I was an atheist, a woman in the audience stood up and said, 'Yes, but is it the God of the Catholics or the God of the Protestants in whom you don't believe?"
    - Quentin Crisp

    There is one weapon that the British cannot take away from us: we can ignore them.
    - Michael Collins

    They have nothing in their whole imperial arsenal that can break the spirit of one Irishman who doesn't want to be broken.
    - Bobby Sands

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •