Suspended Monorail
Moderator: Graphics Moderators
Suspended Monorail
Suspended Monorail
=================
wallyweb's and kamnet's remake of
Zephyris'
Urban Suspended Monorail (Tramway Replacement)
featuring updated road stop graphics, an all new suspended monorail bridge and a parameter to chose between showing (default) tram tracks or hiding them.
Suspended monorails don't have tram tracks but some players may have standard trams still in use. (View the gif at the top of of this post)
There is a parallel discussion at Simuscape.
Zephyris' original tt-forum topic is here.
There will be a sequel.
Once this project is declared as stable, production work will begin on a NRT tram type version.
GrfID: Suspended Monorail v2.0 52572000
Suspended Monorail Bridge 52572001
License: GPL v2
=================
wallyweb's and kamnet's remake of
Zephyris'
Urban Suspended Monorail (Tramway Replacement)
featuring updated road stop graphics, an all new suspended monorail bridge and a parameter to chose between showing (default) tram tracks or hiding them.
Suspended monorails don't have tram tracks but some players may have standard trams still in use. (View the gif at the top of of this post)
There is a parallel discussion at Simuscape.
Zephyris' original tt-forum topic is here.
There will be a sequel.
Once this project is declared as stable, production work will begin on a NRT tram type version.
GrfID: Suspended Monorail v2.0 52572000
Suspended Monorail Bridge 52572001
License: GPL v2
- Attachments
-
- susmon.tar
- (374 KiB) Downloaded 585 times
Last edited by wallyweb on 27 Jul 2018 00:21, edited 1 time in total.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
That's so cool. I need to download this for all my games! Many kudos
Re: Suspended Monorail
When you turn off the tram tracks it seems like it has the default temperate grass hardcoded, so it doesn't look good when used with JapanSet Landscape.
Also, working on a little something.
Re: Suspended Monorail
All tram tracks are just an overlay over roads and bridges and, yes, grass too. All the parameter does is replace the tram tracks with transparent blue. I'll have to study the ogfxe_extra code to see where those grass tiles come from. Just curious but did you load the suspended monorail grf before or after the Japan set?Erato wrote: When you turn off the tram tracks it seems like it has the default temperate grass hardcoded, so it doesn't look good when used with JapanSet Landscape.
Ooh! I'm looking forward to see what this is all about.Also, working on a little something.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
I tried both; no difference. The colours do match up properly when I have the tram tracks enabled, though.wallyweb wrote:All tram tracks are just an overlay over roads and bridges and, yes, grass too. All the parameter does is replace the tram tracks with transparent blue. I'll have to study the ogfxe_extra code to see where those grass tiles come from. Just curious but did you load the suspended monorail grf before or after the Japan set?
Re: Suspended Monorail
I just checked ogfxe_extra. It is just a set of Action5's which define graphics not in ogfx1_base. The source for the tram tracks is probably buried in the OpenTTD source. I think I'll wait until I convert the monorails to NRT and see then if this persists. I'll definitely test with the Japan set. Thanks for noticing this.Erato wrote:I tried both; no difference. The colours do match up properly when I have the tram tracks enabled, though.wallyweb wrote:Just curious but did you load the suspended monorail grf before or after the Japan set?
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
Sorry, but I do not want to wait and have made some kind of NRT version right now. I hope that my newbie code don't hurt you very much. ^_^wallyweb wrote: Once this project is declared as stable, production work will begin on a NRT tram type version.
It's just adds MONO type tram track and moves all you vehicles and graphics to it.
Known issues:
- GUI graphics included in GRF but now disabled. We need 12 sprites but have only 4. I don't know how to add incomplete spriteset to action 3.
- Many minor graphics defects. Look like some kind of catenary_back/front sprites mismatch. However, originall version have this kind of defects too. Maybe we need to fix sprites itself.
- I don't sure about this kind of vehicles properly names. Now I calling them «Floating Trams».
- I tried to add this version support into Japanese Suspended Monorail Set but complete fails with it. I just decompiled GRF to NFO, then added tramtype translation table after cargo table and property 5 value 2 for each vehicle (see file jsmpatch.sh in attachment for details). But it's don't work. I have no idea why. In HEQS its works properly…
- Attachments
-
- susmon-ratt.zip
- (101.48 KiB) Downloaded 241 times
Re: Suspended Monorail
You are welcome to try to adapt this to NRT. I have not yet become sufficiently familiar with NRT to be able to provide assistance. The license is GPLv2.U.N.Owen wrote:Sorry, but I do not want to wait and have made some kind of NRT version right now. I hope that my newbie code don't hurt you very much. ^_^wallyweb wrote: Once this project is declared as stable, production work will begin on a NRT tram type version.
It's just adds MONO type tram track and moves all you vehicles and graphics to it.
Known issues:
- GUI graphics included in GRF but now disabled. We need 12 sprites but have only 4. I don't know how to add incomplete spriteset to action 3.
- Many minor graphics defects. Look like some kind of catenary_back/front sprites mismatch. However, originall version have this kind of defects too. Maybe we need to fix sprites itself.
- I don't sure about this kind of vehicles properly names. Now I calling them «Floating Trams».
- I tried to add this version support into Japanese Suspended Monorail Set but complete fails with it. I just decompiled GRF to NFO, then added tramtype translation table after cargo table and property 5 value 2 for each vehicle (see file jsmpatch.sh in attachment for details). But it's don't work. I have no idea why. In HEQS its works properly…
You say you decompiled to get the NFO and graphics? Why? They are already included in the source folder in the tar file posted above.
Although in this release the vehicles are indeed effectively trams, Zephyris' original intent was to create the illusion of a suspended monorail. This is not a monorail that is defined by OpenTTD/TTDPatch.
If you see any issues with the file posted in the first post and provided that you have not altered it, then, by all means, post a screenshot and written description here and I will take a look at it.
Suspended Trams might be more accurate for your purposes. Suspended Monorails are in use in Japan and they are described as such. They use the term "suspended" because they hang below the monorail track rather than ride atop the track. The systems in Japan follow roads and hang above the traffic. There are videos on YouTube and it is fun to watch them pass over traffic lights and congestion below.I don't sure about this kind of vehicles properly names. Now I calling them «Floating Trams».
I wish you well with your project and I regret not being able to help at this time.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
Because I had no deal with NML yet >_<wallyweb wrote: You say you decompiled to get the NFO and graphics? Why? They are already included in the source folder in the tar file posted above.
Both my OpenTTD modding attempts, HEQS and your SM, was written in pure NFO…
Yes, I knew that NML is more useful, but I wasn't ready to learn a new language immediately right now.
But, maybe, if I try to use NML for this, it will work?
Of course, they are different. However, RATT uses for tram tracks same names as for rails (ELRL and RAIL). I just continued this tradition and took the name MONO for new track.wallyweb wrote: This is not a monorail that is defined by OpenTTD/TTDPatch.
All versions (original susmon1.1, your susmon2.0, my susmon-ratt) has it. Only your bridge hasn't.wallyweb wrote: If you see any issues with the file posted in the first post and provided that you have not altered it, then, by all means, post a screenshot and written description here and I will take a look at it.
Here: Look like we need to move something from catenary_front to catenary_back.
Ok, if/when I will make new version this name will be used.wallyweb wrote: Suspended Trams might be more accurate for your purposes.
Re: Suspended Monorail
The files in the source folder in the .tar are both in NFO.U.N.Owen wrote:Because I had no deal with NML yet >_<wallyweb wrote: You say you decompiled to get the NFO and graphics? Why? They are already included in the source folder in the tar file posted above.
Both my OpenTTD modding attempts, HEQS and your SM, was written in pure NFO…
Yes, I knew that NML is more useful, but I wasn't ready to learn a new language immediately right now.
I don't do NML either. Also, while NML should support trams, it does not support bridges (nor stations either). Michael Blunck's m4nfo does do those.
Not for the bridge. For the tram part, follow the instructions described in the NRT topic.But, maybe, if I try to use NML for this, it will work?
Sounds good.Of course, they are different. However, RATT uses for tram tracks same names as for rails (ELRL and RAIL). I just continued this tradition and took the name MONO for new track.wallyweb wrote:This is not a monorail that is defined by OpenTTD/TTDPatch.
Whoa! Good catch. I'll look into it.All versions (original susmon1.1, your susmon2.0, my susmon-ratt) has it. Only your bridge hasn't.wallyweb wrote:If you see any issues with the file posted in the first post and provided that you have not altered it, then, by all means, post a screenshot and written description here and I will take a look at it.
Suspended Monorail is probably better. It is consistent with Zephyris's original work.Ok, if/when I will make new version this name will be used.wallyweb wrote:Suspended Trams might be more accurate for your purposes.
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
Oh…
Only now I get it. All this time I used result of GRF decompilation instead your source file.
I don't know how this could happen.
I remember how I compared the result of decompilation and "source" and was surprised that they are the same. Look like I just confused files…
In NML distributed sources of Japanese set. And only with JSM adaptation I have a problems, susmon-ratt itself works nearly properly.
Also, for experiment I was change to MONO tracktype of one of HEQS vehicles. Its works: a heavy tractor drove on a monorail ^_^
It works. JSM doesn't.
I'm about japset.
It was written on NML. I decompile it and edit raw NFO. Maybe NML use some kind of absolute adresation and it was broken after I add new action?
Now I probably will try to add my changes to right sources…
Only now I get it. All this time I used result of GRF decompilation instead your source file.
I don't know how this could happen.
I remember how I compared the result of decompilation and "source" and was surprised that they are the same. Look like I just confused files…
Your sources in NFO.wallyweb wrote: The files in the source folder in the .tar are both in NFO.
In NML distributed sources of Japanese set. And only with JSM adaptation I have a problems, susmon-ratt itself works nearly properly.
Also, for experiment I was change to MONO tracktype of one of HEQS vehicles. Its works: a heavy tractor drove on a monorail ^_^
It works. JSM doesn't.
Your bridge work fine and don't need any adaptation. ^_^wallyweb wrote:Not for the bridge.But, maybe, if I try to use NML for this, it will work?
I'm about japset.
It was written on NML. I decompile it and edit raw NFO. Maybe NML use some kind of absolute adresation and it was broken after I add new action?
Ok…wallyweb wrote:Suspended Monorail is probably better. It is consistent with Zephyris's original work.
Now I probably will try to add my changes to right sources…
Re: Suspended Monorail
I have been given clearance to release a different project, so I will be away from this for a couple of days, but after that Suspended Monorail and the issue with the rear pylons is at the top of my todo list.U.N.Owen wrote: ...
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
Ready.U.N.Owen wrote:Now I probably will try to add my changes to right sources…
Next version here.
Also I tried to solve this prooblem:
I changed some sprites, and now it looks like a specially planted lawn:Erato wrote:When you turn off the tram tracks it seems like it has the default temperate grass hardcoded, so it doesn't look good when used with JapanSet Landscape.
However, looks like I found bug in NRT (or maybe only in Joker): some of this stations is unusable.
Sounds good.wallyweb wrote:after that Suspended Monorail and the issue with the rear pylons is at the top of my todo list.
My version has some wrong placed catenary_back sprites, and after this they will be easier to find and changed, I hope.
Also we need to move variant with rail to separate tracktype (for all tram types). In next version I will try it.
P.S. And japanese monoral support… not now. It's a separate project at all. Maybe author will do it himself?
- Attachments
-
- susmon-ratt.zip
- version 2.0.2 α
- (135.99 KiB) Downloaded 261 times
Re: Suspended Monorail
He surely will. But seeing you managed to have JapanSet Landscape, i wonder if there is a possibility for the Monorail to stand over normal tiles ? Because this lawn doesn't look good in Arctic, Tropical (except in the Rainforest) and Toyland...
Re: Suspended Monorail
I just merged some tiles from OpenGFX and some templates from RattRoads. You can find XCF file in archive. I tried several variants, this one was acceptable (in arctic too, I guess. But probably not in tropical…) Other looked much worse.acs121 wrote:But seeing you managed to have JapanSet Landscape, i wonder if there is a possibility for the Monorail to stand over normal tiles ? Because this lawn doesn't look good in Arctic, Tropical (except in the Rainforest) and Toyland...
But most tile types haven't been tested in this role yet. Feel free to claim the perfect variant that looks excellent over all landscapes.
Re: Suspended Monorail
It looks worse like this tbh, because it draws attention to the problem, instead of drawing attention away from it, or fixing it.U.N.Owen wrote:I changed some sprites, and now it looks like a specially planted lawn:
I'm currently busy working on other projects. :/U.N.Owen wrote:P.S. And japanese monorail support… not now. It's a separate project at all. Maybe author will do it himself?
Re: Suspended Monorail
I'm curious to see what.
Re: Suspended Monorail
I discussed this by PM with Wolf01 back when this problem was first reported. The problem might be that with the hidden track parameter set the baseset groundtile is revealed. It seems that, unlike other features, with railtypes and NRT, the groundtile can't be referenced by sprite number. It is not part of the NRT structure.U.N.Owen wrote:I just merged some tiles from OpenGFX and some templates from RattRoads. You can find XCF file in archive. I tried several variants, this one was acceptable (in arctic too, I guess. But probably not in tropical…) Other looked much worse.acs121 wrote:But seeing you managed to have JapanSet Landscape, i wonder if there is a possibility for the Monorail to stand over normal tiles ? Because this lawn doesn't look good in Arctic, Tropical (except in the Rainforest) and Toyland...
But most tile types haven't been tested in this role yet. Feel free to claim the perfect variant that looks excellent over all landscapes.
Some of the other features use Action2 for layering:
Code: Select all
<Sprite-number> * <Length> 02 07/09/0F/11 <set-id> <num-sprites> <groundsprite> [<buildingsprite> (<xoffset> <yoffset> <zoffset> <xextent> <yextent> <zextent>) | (<xpixeloffset> <ypixeloffset> 80)] ...
wallyweb on tt-forums: Screenshots - Wallyweb World - Projects & Releases
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
wallyweb on Simuscape: Projects - Releases
Other Stuff: TTDPatch 2.6 "Nightly" download - cirdan's OpenTTD branch (New Map Features)
Screenshot Of The Month Contest Winner: August 2015 - Tied May 2016 - January 2018 - December 2018 - May 2019
Re: Suspended Monorail
Stop here!wallyweb wrote:The problem might be that with
We try to solve this problem by complete wrong way and in wrong place.
And violated the golden rule of programming:
Actually, the problem has already been solved (see screenshot) for default landscapes. And can be solved very easy for Japanese.Write modules that do only one thing but do it well. Let them work together.
I hope to write required adapter (and explain details) before today evening. But right now I have to go…
Re: Suspended Monorail
Maybe we should make a higher depot for the Suspended Monorail...
Who is online
Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 66 guests