Filename typo: OusideTemp.png
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
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)
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
I have the same bug
Replies have been locked on this page!