Modding <GuiVisible> tag no longer working as before in new update

Jcraft97 shared this bug 22 hours ago
Submitted

The <GuiVisible> no longer hides blocks in the home tab in the build menu.


To test:

Create a custom block, like this:

<?xml version="1.0" encoding="utf-8"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CubeBlocks>
    <Definition>
      <Id>
        <TypeId>CubeBlock</TypeId>
        <SubtypeId>GuiVisibleTestBlock</SubtypeId>
      </Id>
      <DisplayName>GuiVisible Test Block</DisplayName>
      <Icon>Textures\GUI\Icons\Cubes\SpaceBall.dds</Icon>
      <Public>true</Public>
      <Description>Test block for GuiVisible=false behavior.</Description>
      <BlockPairName>GuiVisibleTestBlock</BlockPairName>
      <CubeSize>Large</CubeSize>
      <GuiVisible>false</GuiVisible>
      <BlockTopology>TriangleMesh</BlockTopology>
      <Size x="1" y="1" z="1" />
      <ModelOffset x="0" y="0" z="0" />
      <Model>Models\Cubes\Large\SpaceBallBlock.mwm</Model>
      <Components>
        <Component Subtype="SteelPlate" Count="1" />
      </Components>
      <CriticalComponent Subtype="SteelPlate" Index="0" />
      <BuildProgressModels>
        <Model BuildPercentUpperBound="0.50" File="Models\Cubes\Large\SpaceBallBlockConstruction_1.mwm" />
        <Model BuildPercentUpperBound="1.00" File="Models\Cubes\Large\SpaceBallBlockConstruction_2.mwm" />
      </BuildProgressModels>
      <EdgeType>Light</EdgeType>
      <BuildTimeSeconds>10</BuildTimeSeconds>
      <PCU>1</PCU>
      <IsAirTight>false</IsAirTight>
    </Definition>
  </CubeBlocks>
</Definitions>

Pre warfare 3, this block would not be in the home tab of the build menu, now it is.

Replies (1)

photo
1

This majorly breaks my mod, so please fix.

Leave a Comment
 
Attach a file
You can't vote. Please authorize!