Scrap Mechanic

Scrap Mechanic

28 ratings
HexInk Color Ammo (Hex Paint Tool)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.029 MB
19 Jul, 2024 @ 2:24pm
8 Feb @ 1:39pm
5 Change Notes ( view )

Subscribe to download
HexInk Color Ammo (Hex Paint Tool)

In 1 collection by The Red Builder
Scrap Mechanic ++
8 items
Description
After years of hard work, we proudly present...
One of the BEST Ink Cartriges out there!
This one isn't your regular TriInk Color Ammo, this one can be any color!



A Hex (any color) Paint Tool modification. To open the Hex color menu, press your Reload key (by default R, the key that plays the Paint Tool reload animation) while holding the Paint Tool.



Important!
  • This is NOT a file mod!
  • Do NOT use a custom color while having the same color as the background selected in the vanilla Paint Tool Gui!
  • May sometimes miss a paint.
  • Multiplayer is little wonky. (Because Axolot broke the paint tool, the paint animation for blocks plays for exactly 1 tick which can get lost in the traffic and as such not play, which doesnt trigger my code to paint the area you painted to the desired color)



Features
  • Any color painting!
  • Works on Joints! (Bearings, Suspensions)
  • Color Picking!
  • Colored parts can be spawned in Vanilla!



Alternative:
Better Paint Tool DLL mod[github.com]



Special Thanks:
  • Ben Bingo - The genius way of getting what shapes got painted.



Links:
Our Discord Server[discord.gg]



Support:
  • Rate, Favorite, Share and Award!
38 Comments
The Red Builder  [author] 2 Jul @ 11:22am 
no problem!
Time_pug 2 Jul @ 10:59am 
Tried it and it works! Thanks a lot for the help! Had fun editing some of the other lua files I found.
The Red Builder  [author] 2 Jul @ 10:49am 
as long as the value is not nil (that is null in Lua) or false, the if will pass.
Time_pug 2 Jul @ 10:33am 
So as long as the value isn't null then it should work right? I've never done anything with lua before so this is all new to me. I've only ever done stuff in the source engine and java.
The Red Builder  [author] 2 Jul @ 10:23am 
local addCheats = g_survivalDev to local addCheats = true, in lua if you do like "if variable then" that is basically checking for a truthy variable, so anything but nil (null) or false.
Time_pug 2 Jul @ 10:20am 
Edit, forgot to add a C to a word:

I'm looking for a true/false statement for the addCheats but I cant find one, or atleast not figure out witch one it is. Any idea on what I should change in this?

function SurvivalGame.bindChatCommands( self )
local addCheats = g_survivalDev

if addCheats then
The Red Builder  [author] 2 Jul @ 9:51am 
the problem there is that none of the sm.game.bindChatComand functions run, as addCheats is false, set it to true and it will work
Time_pug 2 Jul @ 9:17am 
what chat bind is it exactly that's needed for your mod to work? The Reduced grinding custom game does have a huge list of chat binds in the SurvivalGame lua file but I have no idea which bind it's missing from the lua in the Modded recipes custom game.
Time_pug 2 Jul @ 9:06am 
I managed to find all the chat binds from the modded recipes custom game, I'll try to copy it over to the SurvivalGame,lua file and see if that gets the paint mod working.
Time_pug 2 Jul @ 8:46am 
After seeing what you said about animations, I thought maybe Fawx garments is what broke it so I removed that mod and still doesn't work. My only hope now is somehow porting the commands from a different custom game over to the one I'm playing.