The International Simutrans Forum

Development => Extension Requests => Topic started by: Spike on March 02, 2012, 01:04:25 PM

Title: Seasons for ground textures?
Post by: Spike on March 02, 2012, 01:04:25 PM
I want to ask if it's already implmented to change ground textures over the seasons? I was pondering if I want some seasonal color changes in pak48.Excentrique, and noticed that I don't know if I can change the ground textures for each season (not only snow - all textures for all climates, also below the winter snow line).

Edit:

I've tried this for a test, but it didn't seem to change anything:


Obj=ground
Name=ClimateTexture
# water
Image[0][0]=hjm-shore-sand.0.0
# beach/desert
Image[1][0]=hjm-beach_1.0.0
# tropic
Image[2][0]=hjm-sand_2.0.0
# mediterran
Image[3][0]=hjm-bare.0.0
Image[3][1]=hjm-grass_1.0.0
Image[3][2]=hjm-sand_2.0.0
Image[3][3]=hjm-beach_1.0.0
Image[3][4]=hjm-beach_1.0.0
# temperate
Image[4][0]=hjm-grass_2.0.0
# tundra
Image[5][0]=hjm-earth_1.0.0
# rocky/barren
Image[6][0]=hjm-earth_2.0.0
# snow
Image[7][0]=hjm-snow_3.0.0
Title: Re: Seasons for ground textures?
Post by: prissi on March 02, 2012, 01:15:48 PM
The snowline decents gradually. But in principle this should be easily possible. But, in praxis I fear the sheer amount of tiles to be recalculated (7 climates, 15 slope images+up and down transitions+snow transitons, i.e. about 800 images which are blended together from lightmaps and color mixing maps) will have to be redistributed cleverly to avoid a larger lag than the season change imposes already.
Title: Re: Seasons for ground textures?
Post by: Spike on March 02, 2012, 01:22:31 PM
Ok. I've tried to peek into grund_besch.cc, but it seems that I'd neet quite some time to understand it well enough to do such a change by mself.
Title: Re: Seasons for ground textures?
Post by: kierongreen on March 02, 2012, 01:57:00 PM
I would make a plea for this to not be included as it would hugely increase potential tile transitions for the water height patch I'm working on!
Title: Re: Seasons for ground textures?
Post by: isidoro on March 02, 2012, 05:42:17 PM
I don't know if this could be a solution...  or a nightmare:  what about a palette of special colors for each season.  The rationale would be: greenish colors in spring, golden in summer, brownish in fall, and whitish in winter...