The International Simutrans Forum

 

Author Topic: Brick rail elevated way introduction date  (Read 20564 times)

0 Members and 1 Guest are viewing this topic.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9462
  • Languages: De,EN,JP
Re: Brick rail elevated way introduction date
« Reply #35 on: January 12, 2011, 12:12:59 PM »
Actually the romans did more than 2000 years ago ...

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #36 on: January 30, 2011, 12:11:32 PM »
Fixed:



If anyone does some snow images, I'll add it to the pak.

Here are the files:



Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #37 on: January 30, 2011, 12:29:20 PM »
There still appears to be a problem with this bridge on certain rotations: graphic attached.



Uploaded with ImageShack.us

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #38 on: January 30, 2011, 01:00:43 PM »
Then we must be using different makeobj versions then - it definitely now works for me, as you can see from the earlier screenshot which shows the same rotation.  
« Last Edit: January 30, 2011, 01:10:10 PM by The Hood »

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #39 on: January 30, 2011, 01:20:03 PM »
Very odd.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #40 on: January 30, 2011, 01:24:59 PM »
Are you sure you've copied the new dat file over?  It may have a different name than the old one - I started it from scratch...

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #41 on: January 30, 2011, 01:35:14 PM »
I copied the entries relating to the graphics into my existing .dat file, so that it looks like this:

Code: [Select]
Obj=bridge
name=BrickViaductEarly
waytype=track
intro_year=1815
intro_month=9
retire_year=1926
retire_month=10
topspeed=115
max_weight=80
max_height=5
cost=360000
maintenance=1485
pillar_distance=1
pillar_asymmetric=1

cursor=images/brick_rail_bridge.2.0
icon=> images/brick_rail_bridge.2.1
BackImage[NS]=images/brick_rail_bridge.2.2
FrontImage[NS]=images/brick_rail_bridge.3.2,0,32
BackImage[EW]=images/brick_rail_bridge.2.3
FrontImage[EW]=images/brick_rail_bridge.3.3,0,32
BackStart[N]=images/brick_rail_bridge.1.2
FrontStart[N]=images/brick_rail_bridge.0.2
BackStart[S]=images/brick_rail_bridge.1.0
FrontStart[S]=images/brick_rail_bridge.0.0,-4,32
BackStart[E]=images/brick_rail_bridge.1.1
FrontStart[E]=images/brick_rail_bridge.0.1,4,32
BackStart[W]=images/brick_rail_bridge.1.3
FrontStart[W]=images/brick_rail_bridge.0.3
BackRamp[N]=images/brick_rail_bridge.5.0
FrontRamp[N]=images/brick_rail_bridge.4.0
BackRamp[S]=images/brick_rail_bridge.5.2
FrontRamp[S]=images/brick_rail_bridge.4.2
BackRamp[E]=images/brick_rail_bridge.5.3
FrontRamp[E]=images/brick_rail_bridge.4.3
BackRamp[W]=images/brick_rail_bridge.5.1
FrontRamp[W]=images/brick_rail_bridge.4.1
backPillar[S]=images/brick_rail_bridge.3.0,0,-32
backPillar[W]=images/brick_rail_bridge.3.1,0,-32

-----

Obj=bridge
name=BrickViaduct
waytype=track
intro_year=1835
intro_month=2
retire_year=1948
retire_month=7
topspeed=200
max_weight=136
cost=435000
maintenance=1520
pillar_distance=1
pillar_asymmetric=1
cursor=images/brick-viaduct-175.2.1
icon=> images/brick-viaduct-175.2.0
BackImage[NS]=images/brick-viaduct-175.0.5,0,32
FrontImage[NS]=images/brick-viaduct-175.1.5,0,32
BackImage[EW]=images/brick-viaduct-175.0.4,0,32
FrontImage[EW]=images/brick-viaduct-175.1.5,0,32
BackStart[N]=images/brick-viaduct-175.0.0,0,32
FrontStart[N]=images/brick-viaduct-175.1.0,0,32
BackStart[S]=images/brick-viaduct-175.0.2,0,32
FrontStart[S]=images/brick-viaduct-175.1.2,0,32
BackStart[E]=images/brick-viaduct-175.0.1,0,32
FrontStart[E]=images/brick-viaduct-175.1.1,0,32
BackStart[W]=images/brick-viaduct-175.0.3,0,32
FrontStart[W]=images/brick-viaduct-175.1.3,0,32
BackRamp[N]=images/brick-viaduct-175.0.6
BackRamp[S]=images/brick-viaduct-175.0.8
BackRamp[E]=images/brick-viaduct-175.0.9
BackRamp[W]=images/brick-viaduct-175.0.7
FrontRamp[N]=images/brick-viaduct-175.1.6
FrontRamp[S]=images/brick-viaduct-175.1.8
FrontRamp[E]=images/brick-viaduct-175.1.9
FrontRamp[W]=images/brick-viaduct-175.1.7
backPillar[S]=images/brick-viaduct-175.2.3
backPillar[W]=images/brick-viaduct-175.2.2
BackImage[NS][1]=images/brick-viaduct-snow.0.5,0,32
FrontImage[NS][1]=images/brick-viaduct-snow.1.5,0,32
BackImage[EW][1]=images/brick-viaduct-snow.0.4,0,32
FrontImage[EW][1]=images/brick-viaduct-snow.1.5,0,32
BackStart[N][1]=images/brick-viaduct-snow.0.0,0,32
FrontStart[N][1]=images/brick-viaduct-snow.1.0,0,32
BackStart[S][1]=images/brick-viaduct-snow.0.2,0,32
FrontStart[S][1]=images/brick-viaduct-snow.1.2,0,32
BackStart[E][1]=images/brick-viaduct-snow.0.1,0,32
FrontStart[E][1]=images/brick-viaduct-snow.1.1,0,32
BackStart[W][1]=images/brick-viaduct-snow.0.3,0,32
FrontStart[W][1]=images/brick-viaduct-snow.1.3,0,32
BackRamp[N][1]=images/brick-viaduct-snow.0.6
BackRamp[S][1]=images/brick-viaduct-snow.0.8
BackRamp[E][1]=images/brick-viaduct-snow.0.9
BackRamp[W][1]=images/brick-viaduct-snow.0.7
FrontRamp[N][1]=images/brick-viaduct-snow.1.6
FrontRamp[S][1]=images/brick-viaduct-snow.1.8
FrontRamp[E][1]=images/brick-viaduct-snow.1.9
FrontRamp[W][1]=images/brick-viaduct-snow.1.7
backPillar[S][1]=images/brick-viaduct-snow.2.3
backPillar[W][1]=images/brick-viaduct-snow.2.2

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #42 on: January 30, 2011, 01:45:48 PM »
Definitely odd.  What version of makeobj are you using? 

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #43 on: January 30, 2011, 03:18:51 PM »
The latest Experimental version (as available here).

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #44 on: January 30, 2011, 04:18:49 PM »
Hmm, it still works fine for me, even using the latest exp-makeobj.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #45 on: January 30, 2011, 04:28:48 PM »
Did you rotate the map?

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #46 on: January 30, 2011, 05:22:29 PM »
It's working fine in all rotations...

Offline Václav

  • Devotee
  • *
  • Posts: 3230
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Brick rail elevated way introduction date
« Reply #47 on: January 30, 2011, 05:26:05 PM »
I have following (but may be absolutely stupid) idea how to solve it: paint entrance tiles as one picture. Because as I see (but it may be only illusion), fence does not cover trains - and so if entrance tiles would be as one picture, than nothing bad should happen. When offsets will work right then, then I deserve any monument  ;D - else I was not here.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #48 on: January 30, 2011, 06:26:58 PM »
It's working fine in all rotations...

That's very, very odd.

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #49 on: May 25, 2011, 03:40:52 PM »
It's been a while, I'm sorry. I'm back and I made snow images for the bridge:



Uploaded with ImageShack.us
And this is the dat:

Code: [Select]
Obj=bridge
name=BrickViaductEarly
waytype=track
intro_year=1750
topspeed=160
cost=190000
maintenance=1800
pillar_distance=1
pillar_asymmetric=1
cursor=brick_viaduct_early.2.0
icon=> brick_viaduct_early.2.1

#BackImage[NS][0]=brick_viaduct_early.2.2
#FrontImage[NS][0]=brick_viaduct_early.3.2,0,32
#BackImage[EW][0]=brick_viaduct_early.2.3
#FrontImage[EW][0]=brick_viaduct_early.3.3,0,32
#BackStart[N][0]=brick_viaduct_early.1.2
#FrontStart[N][0]=brick_viaduct_early.0.2
#BackStart[S][0]=brick_viaduct_early.1.0
#FrontStart[S][0]=brick_viaduct_early.0.0,-4,32
#BackStart[E][0]=brick_viaduct_early.1.1
#FrontStart[E][0]=brick_viaduct_early.0.1,4,32
#BackStart[W][0]=brick_viaduct_early.1.3
#FrontStart[W][0]=brick_viaduct_early.0.3
#BackRamp[N][0]=brick_viaduct_early.5.0
#FrontRamp[N][0]=brick_viaduct_early.4.0
#BackRamp[S][0]=brick_viaduct_early.5.2
#FrontRamp[S][0]=brick_viaduct_early.4.2
#BackRamp[E][0]=brick_viaduct_early.5.3
#FrontRamp[E][0]=brick_viaduct_early.4.3
#BackRamp[W][0]=brick_viaduct_early.5.1
#FrontRamp[W][0]=brick_viaduct_early.4.1
#backPillar[S][0]=brick_viaduct_early.3.0,0,-32
#backPillar[W][0]=brick_viaduct_early.3.1,0,-32

#BackImage[NS][1]=brick_viaduct_early.2.6
#FrontImage[NS][1]=brick_viaduct_early.3.6,0,32
#BackImage[EW][1]=brick_viaduct_early.2.7
#FrontImage[EW][1]=brick_viaduct_early.3.7,0,32
#BackStart[N][1]=brick_viaduct_early.1.6
#FrontStart[N][1]=brick_viaduct_early.0.6
#BackStart[S][1]=brick_viaduct_early.1.4
#FrontStart[S][1]=brick_viaduct_early.0.0,-4,32
#BackStart[E][1]=brick_viaduct_early.1.5
#FrontStart[E][1]=brick_viaduct_early.0.1,4,32
#BackStart[W][1]=brick_viaduct_early.1.7
#FrontStart[W][1]=brick_viaduct_early.0.7
#BackRamp[N][1]=brick_viaduct_early.5.4
#FrontRamp[N][1]=brick_viaduct_early.4.4
#BackRamp[S][1]=brick_viaduct_early.5.6
#FrontRamp[S][1]=brick_viaduct_early.4.6
#BackRamp[E][1]=brick_viaduct_early.5.7
#FrontRamp[E][1]=brick_viaduct_early.4.7
#BackRamp[W][1]=brick_viaduct_early.5.5
#FrontRamp[W][1]=brick_viaduct_early.4.5
#backPillar[S][1]=brick_viaduct_early.3.4,0,-32
#backPillar[W][1]=brick_viaduct_early.3.5,0,-32

I can't test it because my makeobj doesn't work and I can't understand why (I downloaded Pak Helper and Makeobj 5.1, so it should be ok).
This is the error that it gives me, if someone can help I'll appriciate it:
Code: [Select]
Makeobj version 51 for simutrans 110.0 and higher
(c) 2002-2006 V. Meyer , Hj. Malthaner, M. Pristovsek (markus@pristovsek.de)

Image size is set to 128x128
writing invidual files to ./
   reading file ./brick-viaduct-early.dat
   writing file ./bridge.BrickViaductEarly.pak
      packing bridge.BrickViaductEarly
WARNING: not frontimage[ns] specified (but might be still working)
WARNING: not frontimage[ew] specified (but might be still working)
WARNING: not frontstart[n] specified (but might be still working)
WARNING: not frontstart[s] specified (but might be still working)
WARNING: not frontstart[e] specified (but might be still working)
WARNING: not frontstart[w] specified (but might be still working)
WARNING: not frontramp[n] specified (but might be still working)
WARNING: not frontramp[s] specified (but might be still working)
WARNING: not frontramp[e] specified (but might be still working)
WARNING: not frontramp[w] specified (but might be still working)
Makeobj version 51 for simutrans 110.0 and higher

I'm working on an elevated way version and a couple of other things.
« Last Edit: May 25, 2011, 08:37:16 PM by Lord Vetinari »

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #50 on: May 25, 2011, 07:59:58 PM »
That error message does not necessarily mean that Makeobj has not worked - does it produce a .pak file?

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #51 on: May 25, 2011, 08:07:49 PM »
It did, but the pak file doesn't work. I loaded it into Simutrans and I get an invisible icon which let me build an invisible bridge (which is still usable, by the way. It's kinda cool to see a train floating above the ground).

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #52 on: May 25, 2011, 08:09:13 PM »
Hm. Unhelpful. Does the makeobj work with other .dat files? If not, perhaps file a bug report?

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #53 on: May 25, 2011, 08:13:52 PM »
Nope. I tried it with a couple of files I downloaded from the graphics repository, and I had the same problem. That error that I posted is the log of Pak Helper.
I downloaded Makeobj a couple of time, so, unless I've been unlucky every time, it can't be a corrupted download either.

EDIT: I attached here the pak file.
« Last Edit: May 25, 2011, 08:25:45 PM by Lord Vetinari »

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #54 on: May 25, 2011, 09:55:34 PM »
I assume that this is the Standard version? If so, this looks as though it might be a bug: might I suggest a bug report?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4568
  • Languages: EN, DE, AT
Re: Brick rail elevated way introduction date
« Reply #55 on: May 26, 2011, 06:17:35 AM »
In the dat-file all image definitions are #commented out! This could be the reason that makeobj complains about missing images.

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #56 on: May 26, 2011, 07:25:02 AM »
I already correced that after my first test, I don't know why there were # in the dat file I copied. It wasn't that, though.

It turns out that the problem was the [ 0]s and [1]s that I used to differentiate between summer and winter images.  Now it works but it doesn't have snow images. I searched that on the wiki. What's the proper syntax?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4568
  • Languages: EN, DE, AT
Re: Brick rail elevated way introduction date
« Reply #57 on: May 27, 2011, 07:30:02 AM »
The image you linked above has the wrong dimensions: it is 800x600 but it should be something like 1024x768.

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #58 on: May 27, 2011, 07:34:35 PM »
I think that it's imageshack which shrinked the image for some reason. The original is the right size.

Anyway, I rewrote the dat from scratch, and now it works correctly. There are a couple of alignment issues that I have to fix, than it'll be ready.

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #59 on: June 08, 2011, 01:18:00 PM »
Finished (maybe):



The tracks seem a bit too dark. I used wrought_iron_improved-snow from the file repository. Is it outdated? Which one is the correct image?


PNG:



DAT:

Code: [Select]
Obj=bridge
name=BrickViaductEarly
waytype=track
intro_year=1750
topspeed=160
cost=190000
maintenance=1800
pillar_distance=1
pillar_asymmetric=1
cursor=brick_viaduct_early.2.0
icon=> brick_viaduct_early.2.1

backimage[ns][0]=brick_viaduct_early.2.2
frontimage[ns][0]=brick_viaduct_early.3.2,0,32
backimage[ew][0]=brick_viaduct_early.2.3
frontimage[ew][0]=brick_viaduct_early.3.3,0,32
backstart[n][0]=brick_viaduct_early.1.2
frontstart[n][0]=brick_viaduct_early.0.2
backstart[s][0]=brick_viaduct_early.1.0
frontstart[s][0]=brick_viaduct_early.0.0,-4,32
backstart[e][0]=brick_viaduct_early.1.1
frontstart[e][0]=brick_viaduct_early.0.1,4,32
backstart[w][0]=brick_viaduct_early.1.3
frontstart[w][0]=brick_viaduct_early.0.3
backramp[n][0]=brick_viaduct_early.5.0
frontramp[n][0]=brick_viaduct_early.4.0
backramp[s][0]=brick_viaduct_early.5.2
frontramp[s][0]=brick_viaduct_early.4.2
backramp[e][0]=brick_viaduct_early.5.3
frontramp[e][0]=brick_viaduct_early.4.3
backramp[w][0]=brick_viaduct_early.5.1
frontramp[w][0]=brick_viaduct_early.4.1
backpillar[s][0]=brick_viaduct_early.3.0
backpillar[w][0]=brick_viaduct_early.3.1

backimage[ns][1]=brick_viaduct_early.2.6
frontimage[ns][1]=brick_viaduct_early.3.6,0,32
backimage[ew][1]=brick_viaduct_early.2.7
frontimage[ew][1]=brick_viaduct_early.3.7,0,32
backstart[n][1]=brick_viaduct_early.1.6
frontstart[n][1]=brick_viaduct_early.0.6
backstart[s][1]=brick_viaduct_early.1.4
frontstart[s][1]=brick_viaduct_early.0.4,-4,32
backstart[e][1]=brick_viaduct_early.1.5
frontstart[e][1]=brick_viaduct_early.0.5,4,32
backstart[w][1]=brick_viaduct_early.1.7
frontstart[w][1]=brick_viaduct_early.0.7
backramp[n][1]=brick_viaduct_early.5.4
frontramp[n][1]=brick_viaduct_early.4.4
backramp[s][1]=brick_viaduct_early.5.6
frontramp[s][1]=brick_viaduct_early.4.6
backramp[e][1]=brick_viaduct_early.5.7
frontramp[e][1]=brick_viaduct_early.4.7
backramp[w][1]=brick_viaduct_early.5.5
frontramp[w][1]=brick_viaduct_early.4.5
backpillar[s][1]=brick_viaduct_early.3.4
backpillar[w][1]=brick_viaduct_early.3.5
« Last Edit: June 08, 2011, 01:25:18 PM by Lord Vetinari »

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #60 on: June 08, 2011, 08:23:23 PM »
It has been updated - the new snow graphics for rails are all the same for each waytype (snow is white on all colours of gravel!!!)

Offline Lord Vetinari

  • *
  • Posts: 125
Re: Brick rail elevated way introduction date
« Reply #61 on: June 12, 2011, 01:41:41 PM »
Ok, now it's officially done. I updated the tracks.

The last dat I posted is still correct, and these are the graphics:



I hope you'll find it useful. I was tinkering with an elevated way version with arched pillars so that it looks good when it crosses a diagonal way. Do you think it fits or it's better to choose a different bridge style?

Offline Václav

  • Devotee
  • *
  • Posts: 3230
  • formerly VaclavMacurek
  • Languages: CZ, EN
Re: Brick rail elevated way introduction date
« Reply #62 on: July 05, 2011, 07:54:26 PM »
???
I only don't understand purpose of duplicite presence of tiles which are in the second line and also in the third line - or I am blind and don't see some differences between each other tiles that seem be the same.

This constellation would be comprehensible to me if flat bridge entrances and middle parts would be painted as one piece - but when track with background fence is as one part and front fence with other bridge construction is as else part, it seems to be quite incomprehensible.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #63 on: September 18, 2011, 09:23:55 PM »
Somehow I missed this one.  Looks good and I will include it in SVN soon.  If you are still working on this an elevated way would be great too.  Also a new menu button would be good to differentiate from the existing bridge.

Online jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18597
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Brick rail elevated way introduction date
« Reply #64 on: September 18, 2011, 09:28:29 PM »
There's already a distinct icon for this in the Experimental version of the pakset which you could use.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: Brick rail elevated way introduction date
« Reply #65 on: September 19, 2011, 09:02:57 PM »
Great, this is now in SVN, somewhat belatedly...