Space Engineers

Space Engineers

评价数不足
How to: Add a custom navigation screen map marker icon
由 Uzar 制作
Expert advice
   
奖励
收藏
已收藏
取消收藏
How to get started
Step 1 - Mod folder
Create a folder in your %APPDATA%\SpaceEngineers\Mods folder.

Step 2 - Icon
Create a .dds image file for your icon. (E.g. using paint.net with save as BC7 sRGB, DX 11 +). Make sure to remove any unwanted background, etc.
Save it in your newly created mod folder.

Step 3 - LCDTextureDefinition & TransparentMaterialDefinition
Create a LCDTextures.sbc or copy the one from the example to your mod folder into the folder "data".
Update the SubtypeId (should be unique or it might get overwritten) and TexturePath (the relative folder path where you saved your .dds file). Same for the TransparentMaterial, I suggest using the file from the example mod and to adapt the SubtypeId and Texture to point at your icon.



Step 4 - MapMarkers_Config.xml
Create a MapMarkers_Config.xml or copy the one from the example to your mod folder into the folder "data".
Update the Displayname (it's what will be in the selector dropdown) and LCDTextureDefinitionSubtypeId (you set this up in the previous step).

Step 5 - Test and publish
Add the newly created mod to your game and test if the map marker icon shows up in the terminal.
If not, feel free to contact me on discord so I can help troubleshoot.

Where do I get icons?
I like to use MDI icons [pictogrammers.com] since they are free and have lot's of options.

Select one, select "Advanced PNG Export".
Select white as the Foreground Color, keep the Background Color as is.
Change the Size to 256px and then click Download PNG.

With this, you can continue and save it as a .dds (e.g. using Paint.net)