Space Engineers

Space Engineers

Not enough ratings
Using SprayModGenerator
By Math
How to use the SprayModGenerator
2
   
Award
Favorite
Favorited
Unfavorite
What is SpraysModGenerator?
The Sprays mod is a mod in where you can create your own spray mod addons
If you attempt to make a addon by hand without this tool you will likely waste hours of your time.

so this guide will show you how to make your own addon for the Sprays mod using a simple tool that I created for this mod. This tool will do all the converting, configuration, and code for you. All you have to do is click a few buttons and sit back.
File formatting
The basic file structure for a spray mod would be this
Note: the images have to be a png, no other formats work. And no, just changing the extension at the end does not make it a png

Note: Large images 2000x2000+ may render incorrectly (appear with a black or white background)

PS: I lied, you can actually add gifs but its semi experimental, and gifs that have been optimized wont work ingame, this can lead to unexpected visual behavior. (this is not a bug, it's a issue with the gif you used) so if you have issues with it I cant/wont address them

MainFolder:
- Image
- Folder
-- image

Example

Result
Image Flags
Each Image can have 'flags', they change how the spray works
Add the flags onto the end of the file name, such as.

'MySpray_HIDDEN_ADMIN_SHINYMED.png'

If a image contains "_HIDDEN" at the end of the name, that image will not appear in the file search system and only appear when you type the name in the search bar

If a image contains "_ADMIN" at the end of the name, that image will only be able to be placed by admins


Shines:
If a image contains one of the following flags they will appear glossy ingame

"_SHINYLITE" - very blurry reflection
"_SHINYMED" - slightly blurry mirror
"_SHINYMAX" - almost perfect mirror


Note: the flags will not appear in the ingame name
How To Use
As any tool you will need to get it first.

DOWNLOAD FROM THIS GUIDE

After downloading or compiling it yourself follow the steps below:

Step 1:
Get some images to convert
Put them in a folder, any subfolders in that folder will be put into their own groups follow steps in the above sections

Step 2:
Start the tool and & select SpraysModGenerator mode

Step 3
Select the folder

Step 4
Name the mod what you want

Step 5
Hit the generate button

After its done generating you can go to SpaceEngineers and use it right away, just select it like any other mod when editing a world.

Then if you want you can publish the mod to the workshop.
!! I recommended that you keep the [SpraysAddon] at the beginning so people can find it !!

As for what images are allowed and what arn't allowed on the workshop, I'm not sure. That's for you to decide ( ͡° ͜ʖ ͡°)...


Technical
When the file is generated you can see the sprays in the MySprayMod.cs file
Every visual spray is located inside there and its how the mod knows what sprays to show you.

You will also notice a format for registration and it goes like this
[Internal-ID]§[Name]§[Group]§[Flags]§§

Most of the stuff is self explanatory but below are the specifications for the Flag
If you dont understand what it means then its probably best you dont change anything


Website to generate the number[www.binaryconvert.com]
End.
Like what I do?

Dont forget to leave a like
17 Comments
Skorpion 31 Jul, 2022 @ 4:13pm 
is it posible to make updates and new png files?
everytime i make a new update i lose all the sprays ingame...
ninjawizard 9 Jun, 2022 @ 7:34pm 
working fine, can i change the group name on the .txt file? also this guide is kinda outdated since it dont generate this .cs anymore
Gray 29 May, 2022 @ 9:05am 
Tested just now, working fine for me
Wygos 17 Feb, 2022 @ 6:40am 
Converter doesnt work
ELIZACassan69 30 Jul, 2021 @ 11:54am 
Nice
Starlight Warden 31 May, 2021 @ 4:30pm 
I made a modded folder, through the converter, but do not see them in game, even after refreshing? I can use the other sprays in the game however.
Math  [author] 6 Mar, 2021 @ 12:23pm 
Its in your local mods path, if you boot up the game itll appear as a mod you can add to your world
`AppData\Roaming\SpaceEngineers\Mods`
thelolrus 6 Mar, 2021 @ 12:22pm 
After I convert, where do the mod files appear?

I wasn't able to find them in the SEImageConverter folder or the folder I selected, but when I hit convert again it tells me a mod with the same name already exists so I know it's somewhere.
Math  [author] 5 Mar, 2021 @ 9:04am 
Thats just how the game renders the sprays- cant change that