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

Gore on Asphalt

Grth

Refugee
Hi everyone,

I'm working on a mod to remove gore and horror elements so I can enjoy the survival and crafting side of things with my kids. I've made a lot of progress, but there's a couple thing's I'm stuck on. First and foremost, the gore decals that appear on asphalt:

20190526191757_1.jpg

I've managed to find the textures (gore_block_blood) in the asset bundles, but what I'd really like to do is mod(let) them out in config. In game, they don't seem to be any different to a normal asphalt block, so where are these variations defined? I don't see anything likely in blocks.xml - does anyone know their way around the config files enough to point me in the right direction?

Thanks!

 
It's information that's stored against the block in the chunk/prefab

They are called decals and you can use Pille's editor to see them. You can alter them in the prefabs but roads are done in-game

image.png


So you'd need to modify the texture asset or do a post-processor of the chunks to remove the decal flag.

I think I saw the decals listed in the blocks xml but I think that's for creative mode rather than information that the road gen uses but worth a shot

 
At the bottom of the biomes.xml file, are all the decals. I'm not sure which texture value is the one you want to remove though. You might want to remove the animal gore blocks too <blockontop blockname="goreBlockAnimal"

Hal's image shows its texture number 8

 
Beautiful people!

That's given me exactly what I needed to look at:

<configs><!-- Remove Blood splatter and guts decals from POIs -->

<set xpath="/pois/poi[@name=City Asphalt]/decal[@texture=1]/@prob">0</set>

<set xpath="/pois/poi[@name=City Asphalt]/decal[@texture=4]/@prob">0</set>

<set xpath="/pois/poi[@name=City Asphalt]/decal[@texture=8]/@prob">0</set>

<set xpath="/pois/poi[@name=Country Road Asphalt]/decal[@texture=1]/@prob">0</set>

<set xpath="/pois/poi[@name=Country Road Asphalt]/decal[@texture=4]/@prob">0</set>

<set xpath="/pois/poi[@name=Country Road Asphalt]/decal[@texture=8]/@prob">0</set>

<set xpath="/pois/poi[@name=Road Gravel]/decal[@texture=1]/@prob">0</set>

<set xpath="/pois/poi[@name=Road Gravel]/decal[@texture=4]/@prob">0</set>

<set xpath="/pois/poi[@name=Road Gravel]/decal[@texture=8]/@prob">0</set>

</configs>
Haven't tested, but that should do the trick. Cheers, thanks for the quick assist.

 
Back
Top