• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Enabler Mod for easy custom paint and terrain textures

ocbMaurice

New member
I'd like to introduce a mod I've created last week that might be interesting to other modders.
A mod that enables other mods to "easily" add custom block paint and/or terrain textures.
It reduces the needed work to a proper unity3d resource file and the accompanying xml.
 

https://github.com/OCB7D2D/OcbCustomTextures

https://github.com/OCB7D2D/OcbCustomTexturesDemo

GitHub Note: you find tagged downloads under "releases".
Or clone it into your mods folder or download branch.zip, etc.

Haven't tested it that thoroughly yet, so there might be a few bugs left.

On the other hand it already supports automatic scaling for half/quad texture sizes.
So tinker around with it and report bugs either directly to GitHub or here.

Good Zombie Hunting!
Maurice

custom-paint.jpg

custom-terrain.jpg

 
What are the mod dependencies, if any? I'm just getting a standard dirt terrain block when placing demo_terrain on the ground and I can't seem to paint it with the paint brush if that's how it works.
 

xu80yEU.jpg


EDIT: Was able to get it to work after installing SphereII Legacy Distant Terrain:

https://github.com/SphereII/SphereII.Mods/tree/master/SphereII Legacy Distant Terrain

Still unable to paint the terrain and the terrain is also showing at a low texture resolution, settings are on Full.

bAFDhsb.jpg


EDIT: Sometimes with the right amount of blocks in the right formation, it will change the resolution:

pSjVYnU.jpg

7l8D3XJ.jpg


 
Last edited by a moderator:
You can't paint terrain textures, only blocks can be painted (IMO just how the game works).
The strange issues with terrain are AFAICT also there for vanilla terrain blocks.
Therefore didn't investigate much further in that direction myself.

 
Made a few more experiments and improvements with terrain textures.
But I still believe that even vanilla terrain has the same issues.
More distinct textures just seem to bring it out more:

7 Days to Die Screenshot 2022.04.01 - 03.52.39.96.jpg

Might be that attributes and texture size itself also plays a role, e.g. in:
<terrain id="demo_terrain" x="0" y="0" w="0" h="0" blockw="4" blockh="4">

 
Last edited by a moderator:
Alpha 20 or 18 I cant remember which... seems to have removed some previously available paint textures such as bookshelves and pill cases. I really want those back for organisation purposes. I am no modder, although I like to dabble with xml edits. Do you think this mod is at my level or should I just take a back seat and wait for someone more knowledgeable to deliver on what many of us desperately CRAAAAAVE? TIA and thanks heaps for making this, even if its beyond me!

 
Back
Top