Space Engineers

Space Engineers

2,665 个评价
Paint Gun - realistic painting for survival + special creative features
13
24
3
18
2
2
6
2
3
2
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod category: Script, Production, Other
文件大小
发表于
更新日期
2.310 MB
2015 年 8 月 16 日 上午 5:12
4 月 10 日 下午 6:14
107 项改动说明 ( 查看 )

订阅以下载
Paint Gun - realistic painting for survival + special creative features

在 Digi 的 1 个合集中
Digi's Space Engineers mods
45 件物品
描述
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.
Steps to properly redownload a mod[github.com]


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


mod io?
No, because it won't work[gist.github.com]
热门讨论 查看全部(23)
3
4 月 10 日 下午 6:14
Replacing paint of same color crash
MelodiousDeity
6
3 月 15 日 上午 1:00
Error: the process cannot access the info.log file
Soulshkin
7
2023 年 7 月 28 日 下午 4:32
Start up Exception.
Xsile
917 条留言
Wastelander 4 月 4 日 上午 6:34 
can you undo a colour change with this?
Deapri 4 月 3 日 上午 1:09 
Added a Patch for this with AI Enabled for the icon compatibility https://steamcommunity.com/sharedfiles/filedetails/?id=3210577525
Digi  [作者] 3 月 3 日 上午 3:45 
Not sure, it sounds very broad and it could even be a coincidence.
What kind of lag is it? low client sim, low framerate, low server sim, something else?
Mythadiirn 3 月 3 日 上午 2:47 
added this to my dedicated server and it was casuing random lag spikes why is that ?
Halo elite 3 月 2 日 上午 1:57 
@Mythadiirn no, it is not possible.
Mythadiirn 3 月 2 日 上午 1:22 
is it possible to only paint one side of the block ?
ils_8088 3 月 1 日 上午 5:30 
Ok gonna try it out.
Digi  [作者] 2 月 29 日 上午 11:36 
Can you first try in a new empty world with just this mod to see if it's one of the other mods.

If it works fine there, you can also clone your world and remove all other mods then try it again in the same context as before where it froze, maybe there's something causing it to spam some computing or I dunno =) I've not heard of an issue like this before.

Once you do replicate it can you also make a video of it, it might help with replicating it on my end if I see exactly how it's used and such. But I might also need the mods list or the world itself.

Feel free to add me on steam to chat more about this, or on discord @m_digi
ils_8088 2 月 29 日 上午 8:08 
quick correction i didnt get a crash with the message and such i just got a black screen until i got the system message that the programm is not reacting.
ils_8088 2 月 29 日 上午 7:53 
Hi, im not sure but i think the paint gun mod is making trouble for me. Everytime i want to paint and change color and stuff i get a lot of lags where my whole picture freezes. Now i even had it that the game crashed. I had no problems until i used the paint gun.

Is there some option i should enable or are there some mods that crash with this one?