Space Engineers

Space Engineers

Planet Exporter (Real Solar Systems)
 此主题已被置顶,因此可能具有重要性
Echthros  [开发者] 2024 年 10 月 18 日 下午 2:40
Editing Config
Overview
The Config is for setting up the export configuration of the texture files. You can change the sampling resolution (how many voxels are sampled from the planet) and scale reduction for each texture type. This is also where you can set the color, gloss, and additive values for each voxel so that the exporter knows how to interpret each voxel that in finds on the planet.

Any changes you make to the Config can be reloaded in the game without exiting/reloading the world by typing "/ReloadConfig" in the chat.

Location
Go to the save folder for the world and look for the Config.xml inside of the Storage folder (...\Roaming\SpaceEngineers\Saves\<SteamId>\<SaveGameName>\Storage\3350589349.sbm_PlanetUnwrapper\Config.xml).

Open the Config.xml file. Set the desired texture export width and height (<ExportWidth> and <ExportHeight>). Values should be powers of 2 (i.e. 1024, 2048, 4096, 8192, etc.) and the width should generally be double the height.

(Optional) If the mod planets use any modded voxels on their surface, you will need to set the visual settings for the new voxels under the <ModdedVoxelInfoList>. The X, Y, Z color values are between 0 and 1 and map to R, G, B for the color that the voxel will appear in the exported colormap texture. There are also <VoxelGloss> and <VoxelAdditive> values which control the gloss value for the voxel (shows up in the exported normal/gloss map) and the additive value (shows up in the additive map).

It will likely take several iterations to get the values for new voxels to look right in game, so you may need to go through the flow from this step onward a few times.

NOTE: Any custom voxels will default to appearing magenta if they are not configured, so keep an eye out for any magenta pixels in the cm texture.
最后由 Echthros 编辑于; 2024 年 11 月 1 日 下午 8:51
< >
正在显示第 1 - 8 条,共 8 条留言
DisasterAhead 2024 年 11 月 8 日 上午 11:20 
What size are texture exports in the ones you made? If I wanted to keep the resolution consistent.
Echthros  [开发者] 2024 年 11 月 8 日 上午 11:40 
For the SD skins:
SamplingWidth = 4096
SamplingHeight = 2048
ScaleReductionTexCM = 1 (makes 2048x1024)
ScaleReductionTexNG = 2 (makes 1024x512)
ScaleReductionTexADD = 2 (makes 1024x512)

For the HD skins:
SamplingWidth = 8192
SamplingHeight = 4096
ScaleReductionTexCM = 1 (makes 4096x2048)
ScaleReductionTexNG = 1 (makes 4096x2048)
ScaleReductionTexADD = 2 (makes 2048x1024)
YourDadBrad23 2024 年 12 月 14 日 上午 12:52 
Sorry to bother Again all my proxies are working i managed to make 3 completely but for some reason the rest are turning pink when i load the mod? seems only to be the modded voxel i edited the config for the modded voxels like the instructions said.
Echthros  [开发者] 2024 年 12 月 14 日 上午 2:23 
Did you export the CM texture after configuring the modded voxel color in the Config? Make sure to:
1. Set the voxel Config.
2. Save the Config.
3. Type "/ReloadConfig" if you are currently in-game.
4. Export with "/ExportCM".
5. Convert the new tga file to dds.
6. Import the new dds to your custom mod.
7. Open the debug menu with F11 if you are in-game and click Reload Textures.
YourDadBrad23 2024 年 12 月 14 日 上午 10:41 
That worked i restarted my game on top of that and did the /Reload config and it worked Thank you!
treegasm 7 月 26 日 上午 6:38 
Sorry to be a bother but I dont think I understand what I'm supposed to do, I'm not a modder in the slightest so I dont understand code.

I'm currently in the Config.xml and I'm not exactly sure where I'm supposed to edit.
I am trying to edit a gas giant mod Luma and this is how I've written it, have I got the wrong idea? I was just trying to copy your numbers to keep is simple and I tried both your SD and HD but nothing I dunno if I'm writing it wrong or its in the wrong spot.

here is the mod planet I'm working on, I dont know if it uses any modded voxels tho I assume it wouldnt:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2286318683&searchtext=Luma


<VoxelInfo>
<VoxelName>Luma</VoxelName>
<VoxelColor X="1" Y="0" Z="1" />
<VoxelGloss>0</VoxelGloss>
<VoxelAdditive>0</VoxelAdditive>
<ExportWidth>4096</ExportWidth>
<ExportHeight>2048</ExportHeight>
<ScaleReductionTexCM>1</ScaleReductionTexCM>
<ScaleReductionTexNG>2</ScaleReductionTexNG>
<ScaleReductionTexADD>2</ScaleReductionTexADD>
</VoxelInfo>
Echthros  [开发者] 7 月 26 日 上午 11:50 
A proxy for Luma already exists, so you don't need to make another one. Just add: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3358118629
You may want to use the gas giant skin rather than the normal planet proxy skin, though.
treegasm 7 月 26 日 下午 5:54 
Oh I'm silly how did I not realise that. I guess I was outta my depth, I was hoping I could add to the proxies list welp thankz
最后由 treegasm 编辑于; 7 月 26 日 下午 5:54
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50