1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Regarding items not appearing on the grid screen

Discussion in 'Modding Guides and Tools' started by CommanderKeen, Oct 24, 2014.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. CommanderKeen

    CommanderKeen Trainee Engineer

    Messages:
    11
    When creating new blocks/items, do not forget about adding them to the proper categories in any file with .sbc extension. Without this modification, they will not appear on the grid screen which can lead to confusion.

    As the future reference, check out "BlockCategories.sbc".


    Example of category:
    <?xml version="1.0" encoding="utf-8"?>
    <Definitions xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
    <CategoryClasses>
    <Category xsi:type="MyObjectBuilder_GuiBlockCategoryDefinition">
    <Id>
    <TypeId>GuiBlockCategoryDefinition</TypeId>
    <SubtypeId/>
    </Id>
    <DisplayName>DisplayName_Category_ShipWeaponsTools</DisplayName>
    <Name>ShipWeaponsTools</Name>
    <SearchBlocks>false</SearchBlocks>
    <IsShipCategory>true</IsShipCategory>
    <IsBlockCategory>true</IsBlockCategory>
    <ItemIds>
    <string>SmallMissileLauncher/MyCoolMissileLauncher</string>
    ...
    <!-- here list any items that you want to include in the given category -->
    </ItemIds>
    </Category>
    </CategoryClasses>
    </Definitions>
     
    Last edited by a moderator: Oct 24, 2014
Thread Status:
This last post in this thread was made more than 31 days old.