The International Simutrans Forum

 

Author Topic: New Way Graphics  (Read 32468 times)

0 Members and 1 Guest are viewing this topic.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #70 on: July 03, 2013, 10:04:48 PM »
It's deliberately broken as the graphics within all had new versions in subsequent attachments :)

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #71 on: July 03, 2013, 10:12:37 PM »
Ahh, fair enough.

These new graphics don't work with existing .dat files, it seems: is that intended?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #72 on: July 03, 2013, 10:24:52 PM »
See above:
Quote
Also important to note is that these *aren't* compatible with current trunk, you'll have to wait till the more bridge images patch gets added.
Because the single height versions of these graphics are now half the original height there is going to be incompatibility in game (the same as there was when double height ways were introduced). Therefore I felt it better to have a logical layout to dats and images.

If you want to make existing dats work with the new images (e.g. for experimental) a simple find/replace 2.0 with 4.0, 2.1 with 4.1, 2.2 with 4.4, 2.3 with 4.5, 0.x with 2.x and 1.x with 3.x should work.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #73 on: July 03, 2013, 10:31:22 PM »
It's probably easier to leave the images as they are until Experimental merges in the half heights code - thank you for the clarification, however.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #74 on: July 03, 2013, 10:43:51 PM »
Good luck with that whenever you do merge those changes... They are, extensive!

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #75 on: July 12, 2013, 12:27:59 AM »
Just a progress update - I've not included pngs this time as when I'm finished it's probably going to be easier to replace all the current ones with new versions. 19/20 rail bridges, 4/5 narrow gauge bridges, 0/9 canal bridges and 5/11 road bridges converted.

Screenshot shows some of the new rail bridges (well, actually the 5th from left is the only one left to redraw).

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #76 on: July 12, 2013, 01:31:27 PM »
Looking lovely!

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: New Way Graphics
« Reply #77 on: July 12, 2013, 01:47:33 PM »
Kierongreen
The Bridge they are the Hammer.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #78 on: July 23, 2013, 04:45:45 PM »
Excellent progress. We need to look at getting the half height stuff into pak128.Britain. Is the half height bridge code in trunk yet? It might make sense to add them all in together. Even better if we can get you write access to pak128.Britain SVN and you can incorporate it all yourself?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #79 on: July 23, 2013, 04:49:41 PM »
Right - revised graphics/dats for all rail, narrow gauge and electric bridges below:
http://simutrans-germany.com/files/upload/hh-bridges-230713-rail-dat-png.zip
http://simutrans-germany.com/files/upload/hh-bridges-230713-narrow-dat-png.zip
http://simutrans-germany.com/files/upload/hh-bridges-230713-electric-dat-png.zip

I've tried to update max_height in these to better suit double heights - although really we could do with more than a 7 height limit but that's another story... Also night pixels have been removed from all the images.

Source blends and textures for rail bridges (apologies if textures have moved location between some blend files you might need to reload them in blender) - had to split into multiple files because of size:
http://simutrans-germany.com/files/upload/hh-bridges-230713-rail-blends-oldest.zip
http://simutrans-germany.com/files/upload/hh-bridges-230713-rail-blends-middle.zip
http://simutrans-germany.com/files/upload/hh-bridges-230713-rail-blends-newer.zip
http://simutrans-germany.com/files/upload/hh-bridges-230713-textures.zip

Narrow gauge and powerlines are pixel edited so no sources
'Just' canals and roads to go now. Although will need to make sure elevated ways are updated to match new bridge images in some cases... Is there any plan to have any more than 2 canal bridges in standard (masonry and brick)? Then I don't need to bother with all the different sizes used by experimental....


Half height code is in trunk yes. I don't have write access to the SVN though :(

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #80 on: July 23, 2013, 05:37:31 PM »
I think that the various sizes of canal are used in Standard as well, aren't they? It's just that there is no way there of stopping the larger boats from using the smaller canals, but people wanting realism can choose so to limit themselves if they so desire.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: New Way Graphics
« Reply #81 on: July 23, 2013, 06:33:38 PM »
Hello Kierongreen
The new Powerlines and new the Railbridge looks very good out.
It's Possible all zips from the 14 Juli 2012,17 Juli 2012,19 Juli 2012 to send me per Email?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #82 on: July 23, 2013, 07:54:09 PM »
greenling - new way graphics in this thread have been added to the main SVN at http://simutrans.svn.sourceforge.net/viewvc/simutrans/pak128.Britain/

When I finish all the double height graphics there should be a new release of pak128.Britain (but this will have to be released simultaneously with the release of the first stable simutrans version with double height support).

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #83 on: July 23, 2013, 08:52:51 PM »
Kieron, I'd like you to have write access. Do you have a sourceforge account? IIRC when I joined I had to get a sourceforge account then either prissi or Dwachs gave me write access to the svn. I guess we need to do something similar with you? I don't think I can give you write access...

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #84 on: July 23, 2013, 10:07:39 PM »
I do now - username is, surprise surprise, kierongreen :)

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #85 on: July 24, 2013, 12:23:37 PM »
Excellent. Now you are added please feel free to incorporate any of your half height changes. I'm guessing that means just the landscape and way ones but not bridges until that has been added to trunk code. If bridges code has also been added then by all means add the lot as you do it.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #86 on: July 24, 2013, 12:28:23 PM »
Bridge code is in trunk :) Ok, well I'm just trying to get through elevated ways for rail and narrow gauge then I'll commit all landscape, rail, narrowgauge and electric stuff. I'll put ways only for roads in as well. Then that'll be it for a week as I'm away gallivanting around the country visiting friends tomorrow :)

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #87 on: July 24, 2013, 12:32:26 PM »
Have fun. Just stick it in when you get time - just it'll be quicker and less buggy if you do it seeing as you wrote it :)

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #88 on: July 24, 2013, 05:25:56 PM »
Apologies but I got distracted getting the SVN access set up, bringing .tab files up to date, and then fixing missing vehicle images in the SVN.... Getting there but I think it's likely to be next week before I manage to commit double height files.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #89 on: July 24, 2013, 05:58:03 PM »
No worries. There's plenty of changes still on my list. I reckon we get those all done then go for a new release in a month or so.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: New Way Graphics
« Reply #90 on: July 24, 2013, 06:31:52 PM »
Hello
kierongreen thank you for the link.
I was yesterday a little bit derailed.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #91 on: July 24, 2013, 11:07:03 PM »
Well, that's me just got my local copy of the SVN up to date with all my changes - I'll save the commit until I've finished elevated ways and bridges though I think.

One point for discussion over the next week or so though - should we allow steep slopes on railways? It's possible to only allow railways to be built on the shallow slopes (and use compatibility dats to load old game with the steeper slopes without permitting new construction). This seems to be the way pak128 is going and I wonder whether it would be easier for players if all paksets conformed to this behaviour. The argument for allowing steep slopes is that there is a high friction penalty with them, and there are places on the real life network which have quite steep gradients. The argument against allowing steep slopes is that they look unrealistically steep, and not allowing them gives more of a benefit to narrow gauge and roads (which would allow them).

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #92 on: July 24, 2013, 11:39:01 PM »
I think that it is better to allow them, but with a higher "friction" penalty: it is worthwhile to simulate the differing levels of gradient on railways, which is a significant feature of them. It might be worthwhile not allowing some of the larger canals, however (the ship canals, for instance) to be built on steeper slopes.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #93 on: July 25, 2013, 12:27:32 AM »
The friction penalty is hard coded into simutrans. As part of introducing double height I changed this from 16 to 12 for single height and 24 for double height slopes (if I remember correctly).

Offline Carl

  • Devotee
  • *
  • Posts: 1571
    • Website
  • Languages: EN
Re: New Way Graphics
« Reply #94 on: July 25, 2013, 07:54:30 AM »
(and use compatibility dats to load old game with the steeper slopes without permitting new construction).

One option would be to treat all slopes in older savegames as shallow slopes. Converting them all to steeper slopes might cause some havoc in conjunction with friction changes.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #95 on: July 25, 2013, 08:25:06 AM »
Unless different way types can have different penalties for steeper slopes, I'd be in favour of banning heavy rail from steep slopes. Trams, narrow gauge, roads and some canals would allow them.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #96 on: July 25, 2013, 08:51:23 AM »
It does cause a bit of chaos yes... Howeuer there's no way of telling old converted slopes from new steep slopes really. Best that could be done would be to use the old friction value with a single height pakset.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #97 on: July 25, 2013, 10:12:49 AM »
I suggest we release a legacy BritWay.pak allowing double height slopes for those that need it for old games, but all official releases only allow half height rail slopes - over time that would be what everyone uses on new games...

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #98 on: July 25, 2013, 02:42:53 PM »
What Fabio suggested for pak128 was keeping the old paks with the same name but removing icons so they can't be built. Then including single height only versions of paks for new building. All of this would be invisible to players though - they'd just not be able to build or upgrade on steep slopes from now on.

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: New Way Graphics
« Reply #99 on: July 25, 2013, 04:58:46 PM »
Sounds like a plan.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #100 on: July 25, 2013, 08:12:23 PM »
Would it not be sensible to have the friction factors settable in simuconf.tab? This would be really very simple to programme.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #101 on: July 26, 2013, 02:30:01 AM »
It would indeed.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #102 on: August 03, 2013, 10:28:01 PM »
Right - pak128.Britain now had double heights enabled in SVN. Graphics aren't complete - status is as follows:
Power, Railways, Trams and Narrowgauge - complete (including matching elevated ways and bridges).
Road - way images done, elevated ways (may) need updating, some bridges still need half height image.
Canals - way images done, aquaducts need half height images.
Maglevs - way images, elevated ways and bridges all need half height images.

Guess what my job for last week of holidays is....

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18371
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: New Way Graphics
« Reply #103 on: August 04, 2013, 12:03:30 AM »
Guess what my job for last week of holidays is....

Sorting your socks?

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: New Way Graphics
« Reply #104 on: August 04, 2013, 11:58:56 PM »
All maglev ways, elevated ways and bridges redrawn and in SVN (using the files provided by AEO last year - finally got conversion working properly) with 2 heights. Just aquaducts, road bridges and one elevated road to go now...