The International Simutrans Forum

 

Author Topic: Help with snow images  (Read 3284 times)

0 Members and 1 Guest are viewing this topic.

Offline Lord Vetinari

  • *
  • Posts: 125
Help with snow images
« on: May 26, 2011, 05:06:40 PM »
I'm making a bridge for Pak Britain. I recently added snow images, but I don't know how to code them in the dat file. I read on the wiki that I should add [ 0] to the summer tiles and [1] to the winter tiles, but if I do that, Makeobj won't read the lines properly (it says that I didn't set any images), and the pak gets screwed. Help?

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1392
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: Help with snow images
« Reply #1 on: May 26, 2011, 06:20:38 PM »
This is a bridge from standard pak64. Does that help?

Code: [Select]
Obj=bridge
name=ClassicRail
copyright=Hajo
waytype=track
cost=24000
maintenance=2000
topspeed=160
max_lenght=7
intro_year=1920
icon=> ls-bridges-rail.1.2
cursor=ls-bridges-rail.1.3
BackImage[NS][0]=ls-bridges-rail.0.0
FrontImage[NS][0]=ls-bridges-rail.1.0
BackImage[EW][0]=ls-bridges-rail.0.1
FrontImage[EW][0]=ls-bridges-rail.1.1
BackStart[N][0]=ls-bridges-rail.0.2
FrontStart[N][0]=ls-bridges-rail.1.0
BackStart[S][0]=ls-bridges-rail.0.2
FrontStart[S][0]=ls-bridges-rail.1.0
BackStart[E][0]=ls-bridges-rail.0.3
FrontStart[E][0]=ls-bridges-rail.1.1
BackStart[W][0]=ls-bridges-rail.0.3
FrontStart[W][0]=ls-bridges-rail.1.1
BackRamp[N][0]=ls-bridges-rail.0.4
FrontRamp[N][0]=ls-bridges-rail.1.4
BackRamp[S][0]=ls-bridges-rail.0.6
FrontRamp[S][0]=ls-bridges-rail.1.6
BackRamp[E][0]=ls-bridges-rail.0.7
FrontRamp[E][0]=ls-bridges-rail.1.7
BackRamp[W][0]=ls-bridges-rail.0.5
FrontRamp[W][0]=ls-bridges-rail.1.5
BackImage[NS][1]=ls-bridges-rail.2.0
FrontImage[NS][1]=ls-bridges-rail.1.0
BackImage[EW][1]=ls-bridges-rail.2.1
FrontImage[EW][1]=ls-bridges-rail.1.1
BackStart[N][1]=ls-bridges-rail.2.2
FrontStart[N][1]=ls-bridges-rail.1.0
BackStart[S][1]=ls-bridges-rail.2.2
FrontStart[S][1]=ls-bridges-rail.1.0
BackStart[E][1]=ls-bridges-rail.2.3
FrontStart[E][1]=ls-bridges-rail.1.1
BackStart[W][1]=ls-bridges-rail.2.3
FrontStart[W][1]=ls-bridges-rail.1.1
BackRamp[N][1]=ls-bridges-rail.0.4
FrontRamp[N][1]=ls-bridges-rail.1.4
BackRamp[S][1]=ls-bridges-rail.0.6
FrontRamp[S][1]=ls-bridges-rail.1.6
BackRamp[E][1]=ls-bridges-rail.0.7
FrontRamp[E][1]=ls-bridges-rail.1.7
BackRamp[W][1]=ls-bridges-rail.0.5
FrontRamp[W][1]=ls-bridges-rail.1.5