The International Simutrans Forum

 

Author Topic: Seasons for ground textures?  (Read 1145 times)

0 Members and 1 Guest are viewing this topic.

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Seasons for ground textures?
« 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:

Code: [Select]
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
« Last Edit: March 02, 2012, 01:10:41 PM by Hans »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9518
  • Languages: De,EN,JP
Re: Seasons for ground textures?
« Reply #1 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.

Offline Spike

  • *
  • Posts: 1361
  • First Simutrans Developer and Graphics Artist
Re: Seasons for ground textures?
« Reply #2 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.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Seasons for ground textures?
« Reply #3 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!

Offline isidoro

  • Devotee
  • *
  • Posts: 1129
Re: Seasons for ground textures?
« Reply #4 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...