Sign in to follow this  
Camtire

Modding Question: Changing Grass Texture with Flowers

Recommended Posts

I was hoping someone more familiar with modding might be able to tell me if it's possible to have the game use a different grass texture based on whether or not it has flowers, and ideally a different one for each type of flower?  I'm not talking about the standing grass (grasssprite), but the actual ground tile in general.  Thanks to anyone who can answer.

 

Camtire

Share this post


Link to post
Share on other sites
11 hours ago, Camtire said:

I was hoping someone more familiar with modding might be able to tell me if it's possible to have the game use a different grass texture based on whether or not it has flowers, and ideally a different one for each type of flower?  I'm not talking about the standing grass (grasssprite), but the actual ground tile in general.  Thanks to anyone who can answer.

 

Camtire

 

The underlying tile is the same regardless of having flowers or not because it's the same tile type. You could possibly hack around that by modifying TerrainTexture.getTileType to check tile data and return a different tile type if it has flowers.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this