Space Engineers

Space Engineers

2,735 ratings
Paint Gun - realistic painting for survival + special creative features
14
25
3
18
2
2
6
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Production, Other
File Size
Posted
Updated
2.310 MB
Aug 16, 2015 @ 5:12am
Jun 15 @ 1:02pm
109 Change Notes ( view )

Subscribe to download
Paint Gun - realistic painting for survival + special creative features

In 1 collection by Digi
Digi's Space Engineers mods
46 items
Description
This mod adds a Paint Gun hand tool giving an easier and more immersive way of coloring and skinning blocks.

The biggest benefit is it aims like a hand welder/grinder, you can select blocks in between other blocks.
Aim-down-sights even provides an option to paint at a specific point in space, allowing you to paint some very hard to reach places.

Vanilla painting hotkey is untouched. There is a mod linked at the end of the description to disable that if you want.


Feature list
  • Fast color/skin switching using mouse scroll/shift+scroll.
  • Colors and skins shown on the HUD.
  • Block aiming works like welder + aim at harder to reach blocks by moving closer while aiming down sights (RMB).
  • Color+skin picking from other blocks and players (their selected color and skin for building, not their suit color and skin) using Shift+LG for the mode or Shift+RMB for instantly picking from aimed target.
  • Hide skins from this mod's palette by editing the config (either the config file or ingame by opening chat and press F2).
  • Easily replace color/skin/both on the entire ship in creative mode/creative tools with Shift+R.
  • Right-side GUI for target info (using TextAPI, it's optional).
  • *NEW* In-game config editing (Text API mod menu), open chat and press F2 to begin.
  • Have a purpose for gravel! (convert it to paint chemicals for paint gun).
  • In-game help, just type in chat: /pg
  • Allows faction members to paint and skin ships (vanilla allows this now too, it used to not, might still change again in the future =) ).
  • Support for mod-added skins! See example mod: https://steamcommunity.com/sharedfiles/filedetails/?id=1860860182



Usage in survival
  • Make the tool (Paint Gun) in an assembler;
  • Make a generous amount of Paint Chemicals in the assembler too (it's the consumable for painting);
  • Have both the tool and chemicals in your inventory;
  • Equip it from the G menu like any other tool;
  • Use scroll-wheel to pick a color;
  • Use shift + scroll-wheel to pick a skin;
  • Aim at a block and hold primary action to paint it!



How it works in detail
In survival the paint process is not instant, and the speed depends on the difference between colors (if it's a totally different hue then it needs to first remove the color) and it also depends on the size and side surface area.

In creative it's always instant and doesn't need paint chemicals.

You also have the replace-color feature in creative, using Shift+R to toggle the mode and click on a block to replace all blocks which have that color.

A small ship armor block will be painted really fast while a large ship large container will be painted really slowly.

The paint speed is also affected by the world's welder (for painting) and grinder (for removing paint) speed multipliers.

Multiple people painting will speed up the process just like welders/grinders.

Crafting a single paint chemicals blueprint gives you 1 unit and painting a block uses 1 on every update and it updates 10 times a second. The paint chemicals item is really small and lightweight, 1000 units having 1kg and a volume of 2L.

In survival you can't paint damaged (more than 10% damage) or below the red line, you'll need to repair/finish them before painting.

You can only paint grids that you own or are allied to the owner. The owner is determined by the player(s) that own the most blocks on the grid.
In contrast, vanilla game only allows painting on your owned grids, allies or small owners (players with at least 1 block owned on the grid) can not paint.



Commands & Hotkeys
Mod has some chat commands and hotkeys, can be seen by typing /pg in chat.



Config
The mod also has a client side config file that you can access at:
%appdata%/SpaceEngineers/Storage/500818376.sbm_PaintGun/paintgun.cfg

You can change the file while the game is running but you'll have to reload it manually by typing in chat: /pg reload.


Per-world settings
There's also a config to tweak some things for everyone, like not requiring paint chemicals, changing how fast it paints, enabling replace mode in survival.

The config gets written to <WorldFolder>/Storage/500818376.sbm_PaintGun/ServerSettings.ini when the mod first runs.
And as mentioned inside the file too, it only gets loaded when server starts, so that means you have to restart server/reload world to apply changes.


Known Issues/To-Do/To-fix list
- Selected skin, ApplySkin and ApplyColor from vanilla color picker menu are not retrievable by mods, therefore the selection for those is independent to the paint gun (feature request to vote: https://support.keenswh.com/spaceengineers/pc/topic/modapi-api-request-for-owned-skins-list-and-applycolorapplyskin ).
- Mod-added block skins will vanish from ships when you paste them, see the above bugreport.
- Having weapons turned off will not prevent this from working (since it's a rifle) but it will nag you about it being disabled, nothing I can do about that notification.
- Can no longer display vanilla block info for tools because it's being overwritten by the new hint system, textAPI is required to have the right side info (non-issue unless textAPI breaks).
- (FIXED) No way to know what skins local player owns, so all of them are shown and it's up to you to hide the ones that don't work using the config (open chat and press F2).
- (FIXED) UI doesn't quite line up on anything other than 16:9 aspect ratio.
- (FIXED) The screen and HUD palette shakes while holding the fire button (hardcoded behavior of the rifle).
- (FIXED) Use the game's color palette menu and selection.
- (FIXED) Painting near/at an incomplete block that can have damage effects will spawn those effects.
- (FIXED) Shift+ColorMenu, Shift+R and any other key that the mod uses will work when in menus (except chat), not fixable right now.
- (FIXED) Paint Chemicals (magazine) is considered explosive ammo (all magazines are, see bugreport: https://support.keenswh.com/spaceengineers/pc/topic/22815-railgun-sabot-explodes-when-in-a-container-that-is-destroyed )


Code errors?
If a SE update just dropped then it's probably because of that, I'm likely already on it.
Otherwise, it's likely to be download corruption, either steam didn't delete or update or add changed files properly which makes the whole thing break down.
Fixing download corruption[spaceengineers.wiki.gg]


Related mods
Disable vanilla painting
Block skin example/test - For use with PaintGun
Concrete Tool - placing voxels in survival


mod io?
Please read[gist.github.com]
Popular Discussions View All (23)
8
May 13 @ 7:59am
Error: the process cannot access the info.log file
Soulshkin
4
Apr 29 @ 1:37am
Replacing paint of same color crash
MelodiousDeity
7
Jul 28, 2023 @ 4:32pm
Start up Exception.
Xsile
929 Comments
[VVAR] Razzun May 20 @ 5:46pm 
I always thought this was a worthless mod, "why do I need something that does what is in game?" That was till I started reworking my big space station and decided to repaint sections that would be impossible to repaint without breaking stuff apart. This gives me the nice precision I need and wanted!

In just ONE hour, this mod has become my new favorite! THANK YOU! :steamthumbsup:
Knightsleeper May 16 @ 8:06am 
I got it working. Thank you for the mod check. It was a bad file on my end. I reinstalled the mod and it fixed it.
Digi  [author] May 14 @ 7:10pm 
Works fine here from what I can tell. If it doesn't work at all for you then likely it's download corruption, see https://spaceengineers.wiki.gg/wiki/Fixing_Download_Corruption
If it persists, can you send me your SE log :}
Knightsleeper May 14 @ 4:27pm 
Mod is not working with the new game update to Space Engineers v1.204. Can you fix the mod?
Digi  [author] May 3 @ 3:01am 
Yes which is why I tried it in DS directly, but it works fine there too so it must be a combination of more mods.
Can you send the sandbox_config.sbc of the world. And meanwhile can you try in your DS with just deployable hoverbike and paintgun, nothing else (automatic dependencies on ofc)
RougeSable May 1 @ 4:31am 
Yes removing again Paint Gun make it works 🥲 as I said I tried on a local game and get both mods working fine, even mixing them with our server mods, but on our DS the deployable hoverbike only shows the red line when pressing CTRL R, the bike never happen
Digi  [author] Apr 30 @ 10:39pm 
That's very strange indeed, can you record the process because it sounds like I'm missing something :lunar2020thinkingtiger:
maxdean02 Apr 30 @ 9:02am 
Yeah paint gun alone works great. I added my usual mods back in systematically to find which one caused the spikes. It was definitely the Shipyard revival mod. Could just be my setup causing it to be weird. As soon as I removed Scrapyard it started working normal again.
Digi  [author] Apr 30 @ 6:12am 
The deployable hoverbike seems to work fine in DS for me with this mod present.
Digi  [author] Apr 30 @ 5:55am 
@Rouge Sable - If you remove this mod again from your DS, does deployable hoverbike suddenly work?

@maxdean02 - I've tried the mod you mentioned with this on an empty world and cycling through skins doesn't seem to be any different.
Did you try the paintgun alone in that same way?