Moderator: OpenTTD Developers
One thing is bothering me is that my map to look good would require diagonal rivers... and seemly those doesn't exist (yet?).
I am a professional C++ coder, so if I decide to make a patch, would it be allowed? And what I would need to do?
OpenGFX + Landscape has diagonally rivers. Regarding diagonally canals:
I haven't seen it anywhere, but I have pre-made such graphics. I could finish them, but I would need a template that I couldn't find. This is nothing special, it would certainly be more difficult to code it, although it might be possible to adapt the code for diagonally rivers from OpenGFX. This code is not perfect, not everything looks good (especially wider rivers and lakes) so it could be improved a bit. As for the river graphics themselves, I also have their improved version. They're not perfect, but at least you can't see those horns.
Regarding construction of diagonally rivers and canals:
I have graphics for the construction of such elements. This is also nothing special, but it might be useful (or maybe not). Most of the graphics I did about a year ago, when I was working on a map, where there were a lot of such diagonally rivers - building point by point was a arduous. I wanted to post a suggestion to improve the editor, which would be very useful...
Edit: I am not entirely convinced to change the graphics in the main version of the game. But it can always be an addon or even a new base graphics set.
These would be a great contribution to OpenGFX+ Landscapes.
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | RoadTypes?
Rivers and canals are technically the same and the only difference is the waterclass which is used to decide which sprites are being drawn. Thus technically the very same code could be duplicated and canals would have the same feature.
The source of OpenGFX+Landscape is freely available under GPL v2+. You find the river (and canal) code at https://kallithea.openttdcoop.org/ogfx- ... ivers.pnml - I might soonish migrate that to a GitHub repository.
planetmaker has done some amazing Action5 work with OpenGFX+Landscape but to be honest, this should be generally available throughout the game (steep slope/water included). I took a look at his code a while ago and to be honest I found it to be quite complicated. Perhaps I need to take another look at it when I complete some of my current projects. The pity is that it is currently a GRF solution to add to an existing feature. Hopefully somebody can develop a way to expand the feature itself.
Users browsing this forum: Google [Bot] and 5 guests