• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Better Paint - Make the world your canvas!

hamstar

Steampunker


Requires Mod Helpers


Important:
This mod is NOT currently multiplayer compatible. This will be addressed eventually.


Painting in action:

Now featuring glowing paint:


This mod improves the paint function of the game by providing a highly-adjustable spray applicator. You can now paint with full, smooth RGB color with an assortment of handy brushes and settings. Configurable.



How to mix paint cartridges

To mix paints into cartridges to create colors from the full RGB range, keep a supply of empty cartridges in your inventory, and then craft color cartridges at the Paint Mixer station by also arranging in your inventory 100 Paint Can items to represent the colors you want to mix (order in your inventory from top to bottom, left to right). You can also mix color cartridges directly, in a similar way.

To make glow cartridges, simply craft with a color cartridge and an empty glow cartridge.




Source available here. API now available.

Available config fields are defined here.




 
Last edited:

hamstar

Steampunker
v2.1.1
  • Updated to TML11.5
  • Implemented FloatInputElement for config
  • Fixed painting with UI zoom?
  • Tweaked some config setting labels
  • Changed PaintBrush.ComputeColorChangePercent(...) to use XNAColorHelpers.DistanceRGB(...)
  • Fixed mouse position finder
  • Attempted fix to world paint leftovers
v2.1.0
  • Updated to MH5b and TML11.4
  • Switched from snake case to camel case
  • Implemented sync of world paint data (untested)
  • Fixed MP crash issue from textures not loading
v1.3.1.2
  • Updated for MHv4
v1.3.1
  • Updated to Mod Helpers v2.0.2
  • Renamed chat commands to condensed, readable form
  • Added MP player load bug failsafe
v1.3.0
  • Updated for Mod Helpers v1.6.3
  • Added minimap support
  • Switched color data to internally use ONLY alpha channel for 'pressure' (WIP)
  • Added better UI sprite for glow cartridges
v1.2.1.1
  • Fixed not being able to paint some types of foreground tiles
v1.2.1
  • Restructured code
  • Updated to Mod Helpers v1.6.0 layout changes
  • Updated to C# 6
  • Removed Flamethrower from Paint Blaster recipe
  • Added setting for Clentaminator as Paint Blaster recipe ingredient (changes to Illegal Gun Parts if disabled)
  • Fixed painting furniture
  • Added Glow Cartridge (glowing paint)
  • Increased UI opacity
  • Fixed stream brush pressure settings
  • Transferred helpers code from PaintLayer to PaintHelpers class
  • Added 'no multiplayer' inbox message
  • Tweaked spatter mode UI sprite
  • Added smoother paint flow
  • Fixed background colors
  • Removed cartridge info tooltips in crafting menus
  • Added copy cartridge recipe for glow cartridges
  • Removed paint consumption from color changes < 1%
  • Fixed paint cans not representing correct capacity in HUD element
v1.1.0
  • Added rendering capacity of color cartridges in inventory
  • Added recipe for Copy Cartridges to copy an existing cartridge
  • Added normal paint as a viable paint blaster option
  • Added dry fire 'missing paint' message
  • Assorted tweaks and refactoring
v1.0.0.1
  • Initial release
 

Attachments

Last edited:

RadioctiveTaco

Terrarian
looks pretty nice! I could use this to create some paint things. (duh). How does that gradient thing work when you paint the things, and will you be able to turn it off? How do you have the sign thing at the bottom of you post (with the total downloads and stuff)?
 

hamstar

Steampunker
looks pretty nice! I could use this to create some paint things. (duh). How does that gradient thing work when you paint the things, and will you be able to turn it off? How do you have the sign thing at the bottom of you post (with the total downloads and stuff)?
There's 4 modes (brushes), spray being but one. There are 3 settings adjusters, also.

It's a function of the mod browser site. You just supply your mod name in the image's URL, and it queries and renders its stats.
 
Last edited:

thisgalNyx

Terrarian
I have wanted something like this for a long, long time. Is there a trick to mixing that allows for precise RGB values? :pinky:
 

hamstar

Steampunker
I have wanted something like this for a long, long time. Is there a trick to mixing that allows for precise RGB values? :pinky:
Well if you start off with black or white paint, then selectively mix with the pure red, green, and blue paints, you can home in on exacting values. Alternatively, you can creatively mix approximate colors, and save a lot on paint without a total guarantee of exacting results. This will be subject to experimentation, and future versions can refine this concept further, as needed and evident.

If you find mixing to get a bunch of a specific color to be tedious, there's also Copy Cartridges (1 Color Cartridge, 10 Greater Mana Potions, 5 Nanites) that can lift any color from a painted surface easily. A good way to reuse spent cartridges, too!
 

Yog Sothoth

Terrarian
How do I mix paint? That is to say, how do I make a color cartridge with a defined rgb? So far, the only thing I can think of is spraying a wall with paint until I get a good mix going.
 

hamstar

Steampunker
How do I mix paint? That is to say, how do I make a color cartridge with a defined rgb? So far, the only thing I can think of is spraying a wall with paint until I get a good mix going.
It's similar to normal crafting, which consumes items in rows from top left to bottom right. The mix of paints you'd want to get the right color would have to be arranged on an upper row as such.
 

Yog Sothoth

Terrarian
Thank you for the reply, but I meant more like... Where do I mix paints with cartridges? Where is the bulk of this done? Anvil, workbench, dye vat, alchemy lab?
 

hamstar

Steampunker
Thank you for the reply, but I meant more like... Where do I mix paints with cartridges? Where is the bulk of this done? Anvil, workbench, dye vat, alchemy lab?
Paint Mixer. You can buy one from the Painter, or craft it from Extratinator, Blend-O-Matic, and Dye Vat.

You can see what station is needed next to the recipe in the crafting list.
 

Yog Sothoth

Terrarian
Ok, got some idea of what to do now. Is it possible to copy a colour from dirt or stone blocks with the copy colour function?
 

Yog Sothoth

Terrarian
Oh, just reread my comment. I mean copy colour of dirt, from dirt that has no paint on it and hasn't been sprayed before. Is it possible to extract "essence" of tree for a cave wall?
 

hamstar

Steampunker
Oh, just reread my comment. I mean copy colour of dirt, from dirt that has no paint on it and hasn't been sprayed before. Is it possible to extract "essence" of tree for a cave wall?
That would involve some tricky texture data code. Totally doable, but that'll have to be a far future feature, unless I can get some time compensation.
 
Last edited:

Yog Sothoth

Terrarian
That would involve some tricky texture data code. Totally doable, but that'll have to be a far future feature, without some time compensation.
Sorry to bring it up again, but in the video at 8.7 seconds you hover over a light green dye, might I ask for the process by which you made that?
 
Top Bottom