Space Engineers

Space Engineers

1,889 ratings
Paint Gun - realistic painting for survival + special creative features
3
20
13
6
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Production, Other
File Size
Posted
Updated
2.154 MB
Aug 16, 2015 @ 5:12am
Dec 11, 2021 @ 9:56pm
92 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
35 items
Description
This mod adds a Paint Gun tool which uses 'ammo' to slowly paint blocks (like welders).

What this is really useful for is painting blocks that are behind/between other blocks, like blocks behind landing gears, cramped large ship interiors, etc. without using large-area painting from the vanilla paint method.

Vanilla painting is still untouched but there is a mod linked at the end of the description to disable that if you want.


Feature list
  • Allows faction members to paint and skin ships (vanilla painting only allows major owner).
  • 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 ammo for paint gun).
  • In-game help, just type in chat: /pg
  • 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 some ammo (Paint Chemicals) in the assembler as well;
  • Equip it from the G menu like any other tool;
  • Use scroll wheel or [] to pick a color;
  • Use shift+scroll wheel or shift + [] to pick a skin;
  • Aim at a block and hold click!



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 ammo.

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.

Making one paint ammo blueprint gives you 1 unit and painting a block uses 1 on every update and it updates 10 times a second. The paint ammo 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.


Known Issues/To-Do/To-fix list
- 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).
- 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) 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.



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


XBox ?
This mod relies on clientside scripts and xbox does not allow scripts on the client, therefore it won't work for xbox.
Popular Discussions View All (18)
2
Sep 1, 2021 @ 11:24pm
"Ownership test failed after 3 tries." and I cannot apply skins
Eff09
4
Apr 10, 2021 @ 10:44am
ArgumentOutOfRangeException from vanilla paint pallette while paingun mod is loaded
Sny
4
Aug 1, 2020 @ 12:39am
Custom armor skin - can't load texture from mod directory
typekcz
< >
747 Comments
Digi  [author] Jan 13 @ 4:08am 
There's mods out there to remove armor edges entirely, there's no way to do it per-grid from what I can tell.
Smokie Jan 12 @ 3:28pm 
Is it possible to add an option to remove the border between two different painted tiles? There is like a metal border going around the tile that I paint. I don't like the look of it.
Digi  [author] Jan 5 @ 10:45pm 
You're gonna have to ask keen on that one xD There's also a few more things in the game that aren't used, like the rail block.
Peekofwar Jan 5 @ 11:59am 
The real question is: Why is it even in the game in the first place if it's not used?
Digi  [author] Jan 5 @ 4:01am 
It's declared in the game files but it has no steam item so noone can use it =) that's why it also doesn't show up in the color picker menu.

I'm not really sure what to do about that one, I could consider it like a mod-added skin...
Peekofwar Jan 4 @ 6:35pm 
Or... maybe it does exist, since the paint gun's model seems to show it... so is it a hidden skin?
Peekofwar Jan 4 @ 6:30pm 
Actually, scratch that, I think it's a non-existent material. I can't even find it in the menu.There's only two rust materials, and neither of them are non-colorable, and there's three in the paint gun.
Peekofwar Jan 4 @ 6:27pm 
For some reason, it keeps printing errors every time I try to use the "Rust Non Colorable" skin. I can use that material without the paint gun, but the paint gun itself keeps saying it can't apply it.
Reavvr Jan 3 @ 4:08pm 
I just want to say that thanks to this mod I got into the game and I'm so glad I did. Thank you man, you're a legend
Digi  [author] Dec 19, 2021 @ 9:28am 
Normal targetting is welder/grinder-like where it does a physics raycast to determine what you're aiming at, but if you rightclick it uses a point at a fixed distance in front (the green dot) for targetting, meaning you can target things behind other things simply by moving closer.