The International Simutrans Forum

PakSets and Customization => General Resources and Tools => PakSet Maintainers and Artists Corner => Topic started by: Lord Vetinari on May 26, 2011, 05:06:40 PM

Title: Help with snow images
Post by: Lord Vetinari 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?
Title: Re: Help with snow images
Post by: Combuijs 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