Jump to content

Search the Community

Showing results for tags 'id'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • XENONAUTS 2
    • Monthly Development Updates
    • Xenonauts-2 Releases & Patch Notes
    • Xenonauts-2 General Discussion
    • Xenonauts-2 Bug Reports
  • XENONAUTS 1
    • Xenonauts General Discussion
    • Xenonauts: Community Edition
    • Xenonauts Mods / Maps / Translations
    • Xenonauts Bug Reports / Troubleshooting

Categories

  • Complete Mods
  • Xenonauts: Community Edition

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Biography


Location


Interests


Occupation

Found 1 result

  1. [X:CE 34.2] Custom Manufacture Category Sorting ID - a Guide This thread will tell you how to assign a custom sorting ID to your manufacture categories. As of XCE 34.2 the manufacture categories are sorted alphabetically, which might not be the optimal sorting order for your game. To add a new category add them in the manufacture_categories.xml. Remember the file actually needs a modmerge command at the top. For instance <?xml version="1.0"?> <ManufactureCategories MODMERGE="replace"> <!-- Add custom manufacture categories here. Only ones not present in the vanilla game. Tags look like: <ManufactureCategory> <ID>SomeCategoryId</ID> </ManufactureCategory> The ID should then be used for the Category column in manufactures.xml, and have a corresponding entry in strings.xml --> <ManufactureCategory> <ID>Aircraft Units 0</ID> </ManufactureCategory> <ManufactureCategory> <ID>Aircraft Cannon 0</ID> </ManufactureCategory> <ManufactureCategory> <ID>Aircraft Missile & Torpedo 0</ID> </ManufactureCategory> <ManufactureCategory> <ID>Vehicles & Mechs 0</ID> </ManufactureCategory> <ManufactureCategory> <ID>Vehicle Phase 3 & 4 Weapons 0</ID> </ManufactureCategory> <ManufactureCategory> <ID>Armour & Shields 0</ID> </ManufactureCategory> Then they need to be added to the strings. This will get alphabetically sorted. HTML Entity (decimal) codes are codes for signs or commands which have to be visually/coded presented by the font. An example for this is &#8544; the roman 1 or the more common known &#10; for a new line. Others are &quote for - " - and similar commands are available. The xenonauts font is very limited which we will use to our advantage. Normally you put down those commands to insert a sign, we on the other want to look for commands which wont get visually presented but still counted into the alphabetical order. &#1000; is one of it for example. Put this at the beginning of the String line and go down like &#1001; &#1002; &#1003; etc ... . VoĆ­la, sorted. If you step on a sign which actually gets displayed just continue until you find one that doesnt get displayed and neither leaves a whitespace. Heres how our example looks like. Give some feedback if the guide is understandable enough.
×
×
  • Create New...