Teardown

Teardown

Spray
 This topic has been pinned, so it's probably important
micro  [developer] 13 Sep, 2024 @ 2:03pm
General Information — Sept 2024
The spray color request has been there since day one. Technically it's just difficult because the VOX file format used by the game only supports 255 colors per shape, which is enough in most cases, but makes it difficult if you want a high degree of fidelity. The built-in Spraycan and explosion damage uses 30+ colors to create fadings when needed. Which leaves you with ~200 colors. My spray mod is using a trick to make multi-color possible. It creates new shapes, with the palette you created and clicks them together with the shape you are spraying at. So it looks like you changed the shape but you just created a new one.

Texture readout and positioning are the only two things missing to make the spray seamless. We already requested to be able to read out textures and offset them, but it's on the devs to provide the API calls. It's very specific to this usecase so it's not on the top of the list.

Every shape has it's own ID, which doesn't change. The scripts of TAPS or the Ragdolls keep track of these IDs and there is no way to change that script from the outside. Shapes changing is just not a thing they expect, the only thing that normally happens to shapes is destruction, aka.. less voxels. These scripts could do checks to see if shapes got added, but idk how complicated that would be and it would also be a special thing just for this mod and might break in other ways.

There is an API function called "PaintRGBA" which changes the original spraycan color, which should work with anything, but as said before, shapes are limited in how many colors they can contain. It didn't work at all when i played with it back when it came out, so i'm actually just guessing. Just try some other spraycan mods and see if they make use of it.

For those waiting on an update.. i will continue as soon as i don't have to worry about paying my rent anymore.. you know.. priorities :P

Also added these points to "Upcoming improvements / Wishful thinking":
- Controller support
- Depth control
- Color "animations"
- Full PBR color control
- Change default menu shortcut
- 3rd person position fix
< >
Showing 1-1 of 1 comments
weran the whammer 17 Oct, 2024 @ 6:47am 
paste this to 3 other mods on other games
< >
Showing 1-1 of 1 comments
Per page: 1530 50