Filename typo: OusideTemp.png

Arthur shared this bug 18 hours ago
Submitted

Hud UI icon for temperature at: /SpaceEngineers/Content/Textures/GUI/Icons/HUD 2017 is named OusideTemp.png,


The GUI definition (at /SpaceEngineers/Content/Data/GuiTextures.sbc) also includes this typo, so it resolves correctly


The LCD textures definition (at /SpaceEngineers/Content/Data/LCDTextures.sbc) however, maps to OutsideTemp.png, meaning mods/pb scripts fails to resolve this particular sprite


STR outside the game:

1. Navigate to /SpaceEngineers/Content/Textures/GUI/Icons/HUD 2017/

2. Search for OutsideTemp.png

2a. Notice that nothing will be found

3. Search for OusideTemp.png

3b. Notice the Texture now appears with the wrong name

ce75c1d86195dee279b9d905a7686956


4. Navigate to /SpaceEngineers/Content/Data/

5. Open files LCDTextures.sbc and GuiTextures.sbc

6. Search for Temperature on both files

6b. Notice that on GuiTextures, is typed incorrectly as OusideTemp.png, while on LCDTextures is typed as outsidetemp.png (meaning it fails to load since this file does not exists)

a5a19e7cece3dc5f7de9de7323c15bde


STR in game:


1. Put the given code on a Programmable Block and hit Run:

public Program()
{
      Me.GetSurface(0).ContentType = ContentType.SCRIPT;
}
public void Main(string argument, UpdateType updateSource)
{
   var frame = Me.GetSurface(0).DrawFrame();
   frame.Add(new MySprite(SpriteType.TEXTURE, "IconTemperature"));
   frame.Dispose();
}
2. It should draw the same icon as the UI,

2b. Notice that due to the mismatch, it draws nothing

3. Notice that the actual UI element for temperature draws correctly, since it also has the typo on its definition

Leave a Comment
 
Attach a file
Access denied