News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

r5830 new landscape (binary and source versions)

Started by kierongreen, July 19, 2012, 06:57:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kierongreen

Got it eventually. Here's another bugfix release then. Updated to 5914, bugs fixed with colours in info window, altering height above tunnels and improved map rotation performance.

Source files
- the patch, along with all dats, pngs and simutrans config files necessary to make the updated files for pak128.Britain
Binary files for pak128.Britain - copy over an existing install to use one of the executables below
Windows executable - simutrans and makeobj, copy over an existing install of simutrans
Linux executable - simutrans and makeobj, copy over an existing install of simutrans

As before you are best making a clean install of simutrans 111.3.1 and pakBritain 1.11, then copy the executable files for windows or linux, and binary files for pak128.Britain over this (have not tested with pakBritain 1.12 yet, it may or may not work).

TurfIt

"Not Found The requested document was not found on this server. "

IgorEliezer

Attachments at Simutrans-Germany server get deleted after 30 or 60 days by default.... unless you put "0" in "Days valid" field.

kierongreen

Reuploaded... but for some reason it's not recognising me when I log in, so will only store for 1 day. I'll upload another tomorrow. At moment it's still 5914 version - but patch works fine on 5936.

kierongreen

Apologies for delay, had so little time by the time I'd put together any kind of release it was significantly out of date :( Updated to 6032, no significant changes but hopefully I've managed to update it without adding any bugs...

Source files - the patch, along with all dats, pngs and simutrans config files necessary to make the updated files for pak128.Britain
Binary files for pak128.Britain - copy over an existing install to use one of the executables below
Windows executable - simutrans and makeobj, copy over an existing install of simutrans
Linux executable - simutrans and makeobj, copy over an existing install of simutrans

Use latest versions of simutrans and pak128.Britain as a base to copy these files over.

As version of simutrans is now 112 I've had to alter the file version used, so old games made with this patch will not load now (unless they are hacked).

IgorEliezer

Great! I'm going to test it when  I got home back from the job. :)

sdog

mentioned on g+ simutrans page:
Quote
*new test version of multi-level--landscape*

kierongreen provides a new test version of his new landscape code, based on the latest simutrans versions. Don't forget it's a version intended for _testing_ so please don't build your mega project on it. You ought to report all bugs or issues to the forum thread.

This is one of the major projects being developed at the moment in simutrans, allowing the use of half-height (or if desired double height) and normal height slopes. Also adding the terrain manipulation tools, new coastlines etc. Since it is changing things so deeply and at so many places, the workload is huge. Another consequence is that there is a lot that can go wrong and might do so in not so obvious ways, thus the thorough testing it requires.

kierongreen

Thanks :) Forgot to say, the files from pak128.Britain have been updated - as such almost every way has half height support (only ones missing are TGV and Maglev).

IgorEliezer

Oops, simutrans-germany.com is derping. *derp*

I'm getting "Problem loading page". :(

kierongreen


Andyh

Is there any plan to incorporate the Water patch into the standard pak128 that you know of?  Is it possible to apply this patch separately (i.e. not including the HH patch) and utilize it in existing games?

kierongreen

Water, climate and double height are all technically different but very closely linked extensions. It would be possible to modify the patch to include 1 or 2 of these extensions rather than all 3 but it would involve some work (which would be a waste of time when/if the complete patch is added)..

Andyh

Thanks Kierongreen.  I suppose where I was coming from was that the half-height patch seems to have a lot of implications for the pak set.  If I understand it correctly all the ground tiles plus all the ways would require additional versions to be painted if they are to be used in a game that's using the patch.  On the other hand the water patch seems to be a lot more self-contained and could be introduced into the existing (full-height) game with only minor modifications to the pak.

Is that an accurate observation?  If so it seems like there could be an argument for having a 'water patch only' release.

kierongreen

The water only patch was released first and is available here. It will need a fair bit of updating to make it work with latest SVN version, and it will probably be worth backporting some bugfixes back from the landscape patch. Infact it doesn't require any modification to paks at all. The annoying part is if this is done (which would take some work) then I have to go back and make the rest of the landscape patch compatible with the new trunk (even more work).

The landscape patch has (at prissi's request), support for either double or half heights. The version of pak128.Britain I've created supports half heights, the idea would be for pak64 to probably have double heights. For double heights you wouldn't need new way images. You'd only need new lightmaps, marker, grid and a few more texture transitions.

prissi

Sorry, I understood that you need a double height aware pak, and this patch does not support single height paks any more. Is this no longer the case?

kierongreen

It might be possible to add support for single height paks - but this would complicate the code in some places as there would have to be support for 3 different behaviours: single, half and double height. Also there would have to be a way of storing whether a game had been made or converted to half/double height as it would then be unloadable in a single height pak. Paks need an additional texture transition image to cope with per tile climates even for single heights.

prissi

Well, but games are anyway tied to a pakset.

By single height support I ment single height only for all way and everything but landscape (since there only new grey render images and new cliffs are needed). Or did I missed something. I was just worried that many paksets with single height would need a lot of exercise to be converted to double height. Am I wrong?

kierongreen

Ways can indeed have single heights - if only one set of slope images are present then then they can only be built on shallow slopes, if 2 sets are present they can be built on shallow and steep slopes.

sdog

So double height would be the default for unmodified paksets (only requiring a couple of additional ground textures, copied into the pakdir)?

Carl

Quick simple query: does "double height" here mean double the current height of tiles, or double the new, smaller height of tiles?

kierongreen

Double height can mean either (a bit confusing I know). At present in standard most paks have a tile height of 16. With this patch you can have (for example), a tile height of 8, which will mean heights 8 and 16 appear ingame (i.e. allowing half height slopes compared to standard, which is what I choose for pak128.Britain), or 16, giving 16 and 32 in game (i.e. double height slopes compared to standard, which prissi preferred for pak64).

Carl

Thanks Kieron. So when we say that double height would be the default for unmodified paksets, does that also have this dual meaning, or does it refer specifically to 16 or 32 tileheight?

prissi

Since some version the height of tiles can be set in the pakset. Thus so far all released version only supported a single height step in z-direction "single height". This version support double steps in z-direction (double height). There could be then two variants: Bridge and tunnels require a single height step, or bridges and tunnels require double height steps )and in principle also both).

Just forget about the visuals since the logic is most important. My question was, that if no double height ways are available (due to loading a single height pak) is then automatically for this way the construction on double height slopes forbidden?

Because then you could easily upgrade existing paks like pak.abo with a double height texture map and new slopes. (Maybe for future compatibility slope graphics could be also textures. That would allow for different slopes to water, city and land more easily.)

kierongreen


Yona-TYT

Quote from: prissi on November 16, 2012, 09:39:51 AM

Because then you could easily upgrade existing paks like pak.abo with a double height texture map and new slopes.

is also possible to recover the pak.TTD??

prissi

pak.TTD is on sourceforge and has nothing to do with this thread.

prissi

During the last double height experiments I found the blender soucres to generate those tiles. Might be for some use still today:
http://www.physik.tu-berlin.de/~prissi/simutrans/terrain.7z

Andyh

Hi kierongreen: I think I've spotted a bug with the new (water, climates and half-height) patch.  When I create a road bridge over open water it works perfectly when I initially create it but when I save the map and re-load it the top of the bridge has vanished leaving only the piers (think Tay Bridge disaster) and it cannot be used by road traffic.  Only an issue when crossing open water; no problem when crossing rivers or other ways.  May be a problem for other bridge types too but I've only tested it with road bridges.

kierongreen

#63
Ok thanks for the report will check when I get home :)
---
Confirmed, working on fix....

Yona-TYT

#64
switch the land again in water and this is what happened


kierongreen

Did you try attaching a picture? I can't see anything.

Yona-TYT

hus apology, I think it was a problem with "Google Drive" switch to "mdiafire" and this solved it




blog de noticias de simutrans al día, aunque esta en fase de crecimiento ya se han
publicado muchos anuncios en ingles y desde luego en español.1000saludos     Simutrans-BLOG Face

IgorEliezer

I can't see images. Probably there's a hotlink block.

Try this: http://imgur.com/

Zeno

Right-click the broken image icon and open it in a new window. You'll get the mediafire window where the image can be viewed.

Yona-TYT

Quote from: Zeno on December 08, 2012, 10:35:41 PM
Right-click the broken image icon and open it in a new window. You'll get the mediafire window where the image can be viewed.
http://www.mediafire.com/view/?w87wlnkzp388b8m