The International Simutrans Forum

Development => Extension Requests => Topic started by: Yona-TYT on December 28, 2014, 10:13:07 PM

Title: Bridges should modify the ground.
Post by: Yona-TYT on December 28, 2014, 10:13:07 PM
Bridges should modify the ground.


Hi all .. !!
It would be nice that bridges automatically modify the ground .. similar to that as they do currently the tunnels.
(https://www.mediafire.com/convkey/1d82/q7qf6ns2r55148s6g.jpg)


Greetings ..! ;)
Title: Re: Bridges should modify the ground.
Post by: Markohs on December 29, 2014, 03:50:15 PM
You mean terraforming the opposite side if possible?
Title: Re: Bridges should modify the ground.
Post by: Yona-TYT on December 29, 2014, 04:03:38 PM
Exactly .. !!
Those details that make the game more practical.
Title: Re: Bridges should modify the ground.
Post by: benjad on December 29, 2014, 05:49:58 PM
Support very much so.   Having a hard time placing bridges with 1/2 height tiles in pak128.  Imagine the learning curve would be getting worse for first time players, unable to figure out why they can't place certain bridges in places.
Title: Re: Bridges should modify the ground.
Post by: Markohs on December 29, 2014, 08:00:39 PM
This can probaby also need to add islands as the bridge progresses if the max bridge lenght is too much. I'll get it a look.
Title: Re: Bridges should modify the ground.
Post by: Ters on December 29, 2014, 09:30:58 PM
Quote from: Markohs on December 29, 2014, 08:00:39 PM
This can probaby also need to add islands as the bridge progresses if the max bridge lenght is too much. I'll get it a look.

Such things happening automatically can have catastrophic effects on the bank balance.
Title: Re: Bridges should modify the ground.
Post by: gauthier on December 29, 2014, 10:05:43 PM
Quote from: benjad on December 29, 2014, 05:49:58 PM
Support very much so.   Having a hard time placing bridges with 1/2 height tiles in pak128.  Imagine the learning curve would be getting worse for first time players, unable to figure out why they can't place certain bridges in places.
Bridge tools since RC120 look buged, sometimes I can't even start a bridge from existing way ends (I have to destroy them, build the bridge from nothing, then eventually connect the bridge to the remaining pieces of way).
Title: Re: Bridges should modify the ground.
Post by: Markohs on December 30, 2014, 01:09:36 AM
Quote from: Ters on December 29, 2014, 09:30:58 PM
Such things happening automatically can have catastrophic effects on the bank balance.

This whould be really easy to solve if we were able to use confirmation boxes on the UI, something prissi is against. Someone has a better idea?
Title: Re: Bridges should modify the ground.
Post by: IgorEliezer on December 30, 2014, 01:17:29 AM
Quote from: Markohs on December 30, 2014, 01:09:36 AM
This whould be really easy to solve if we were able to use confirmation boxes on the UI, something prissi is against. Someone has a better idea?
Visual cues?

Like, you are going to implant a 12-tile-long bridge, so 12 ground tiles will be highlighted from the tile which the cursor is hovering. The suitable tiles are highlighted green, red if not. If one still tries to implant the bridge on an unsuitable place, the computer will stand up and slap the player's face, "you dummy!" :P
Title: Re: Bridges should modify the ground.
Post by: gauthier on December 30, 2014, 07:31:58 AM
Such confirmation stuff would be a hassle to confirm all the time, like a slap to player's face  ;D This would annihilate the practical effect of the feature. Another solution: have confirmation box that can be disabled through settings menu or an improved canceling mechanism.
Title: Re: Bridges should modify the ground.
Post by: Yona-TYT on December 30, 2014, 07:39:51 AM
If achieved with the tunnels. Why not on bridges?
Title: Re: Bridges should modify the ground.
Post by: Ters on December 30, 2014, 09:39:31 AM
Quote from: Markohs on December 30, 2014, 01:09:36 AM
This whould be really easy to solve if we were able to use confirmation boxes on the UI, something prissi is against. Someone has a better idea?

I was just thinking of automatic islands to work around the maximum bridge length. Just terraforming the other shore will likely be less likely to cause unintended terraforming, although it can occasionally still be pretty bad.
Title: Re: Bridges should modify the ground.
Post by: Markohs on December 30, 2014, 12:22:33 PM
Terraforming the other side is easy and will be done. The islands issue is a more delicate issue, I like the preview option,  showing in transparent as a overlay the bridge to next artificial island, and maybe the estimated cost. I'll go that direction
Title: Re: Bridges should modify the ground.
Post by: Yona-TYT on December 30, 2014, 05:57:06 PM
Quote from: Markohs on December 30, 2014, 12:22:33 PM
Terraforming the other side is easy and will be done. The islands issue is a more delicate issue, I like the preview option,  showing in transparent as a overlay the bridge to next artificial island, and maybe the estimated cost. I'll go that direction
Very interesting.
En -> I would use this technique when creating straight track sections (Ctrl) on a hilly terrain.
Es -> Me gustaría usar esta técnica a la hora de crear tramos de vía rectas (Ctrl) sobre un terreno abrupto.
Title: Re: Bridges should modify the ground.
Post by: TurfIt on December 30, 2014, 10:58:20 PM
Quote from: Ters on December 30, 2014, 09:39:31 AM
I was just thinking of automatic islands to work around the maximum bridge length.
IMHO, this is really not something that should be made easier as an automatic workaround. Rather, perhaps the feature in Experimental that prevents terraforming water should be brought back to Standard. Automatic bridging of oceans - sheesh.  (of course this really comes down to a perceived scale issue - what is an 'ocean'?)

Title: Re: Bridges should modify the ground.
Post by: jamespetts on December 30, 2014, 11:12:24 PM
Terraforming the opposite side of the bridge is a good idea indeed. How about also allowing bridges to be replaced simply by dragging the new bridge over them so long as the new bridge covers both start and end slopes?
Title: Re: Bridges should modify the ground.
Post by: Markohs on December 30, 2014, 11:31:23 PM
Quote from: TurfIt on December 30, 2014, 10:58:20 PM
IMHO, this is really not something that should be made easier as an automatic workaround. Rather, perhaps the feature in Experimental that prevents terraforming water should be brought back to Standard. Automatic bridging of oceans - sheesh.  (of course this really comes down to a perceived scale issue - what is an 'ocean'?)

Well my idea was just building *one* island, showing the preview of how long the bridge will be. This is not gamebreaking as it's something the user could already do, and the preview clearly hints, it will just build one bridge up to a articial island. This will visually warn users that will look... meh, so people that really care about that, will refrain them from doing it, automatically. Will look into it, James.

It's not perfect, but it's clearly better to what we have, imho.

That's if not anyone has a better odea, ofc.
Title: Re: Bridges should modify the ground.
Post by: Isaac Eiland-Hall on December 31, 2014, 07:45:10 AM
Quote from: Markohs on December 30, 2014, 11:31:23 PM
Well my idea was just building *one* island,

Oh, hey, I hadn't caught that, but personally, I think that's a good idea. After all, if they really want, they can build the next section on the other side of the artificial island and go from there. Especially if it's an un-doable way build, it would be handy to get a visual idea of how long the tile limit is (because you can count, but it's easier to see). :)

Title: Re: Bridges should modify the ground.
Post by: Ters on December 31, 2014, 09:56:05 AM
Automatically building islands might kind of negate the purpose of maximum length to begin with. I'm not sure what the exact purpose is, but I can imagine that it is because pillarless bridges can't span much. Pillared bridges can be longer, but cost more. If unpillared bridges with islands or hills are cheaper than bridges with pillars, then something is wrong in the pak set. The same can be said if pillared bridges have a maximum length.

The only cases I can think of where bridges have intermediate islands or hills to break it up, is when there is a change in type of bridge, or even a switch from bridge to tunnel. Placement of these islands, or hills, are determined by other things that the maximum length of the bridges at the ends.
Title: Re: Bridges should modify the ground.
Post by: Markohs on December 31, 2014, 11:28:48 AM
Correct, but the player already clicked one *kind* of a bridge, when this feature appears. He can click more, preview wich is longer, and make his choice no?

It's just making building easier, and more visual.

Another option whould be require the player to click and *DRAG* the mouse up to the other side, and building islands *as a preview*. If the user unclicks, it will be built. But this changes current behaviour, where the player just clicks once on the start, and the bridge is built, if possible.
Title: Re: Bridges should modify the ground.
Post by: Yona-TYT on November 17, 2015, 12:32:52 AM
After a long time, this it seems to be lost.  ::'(
Title: Re: Bridges should modify the ground.
Post by: prissi on November 17, 2015, 04:02:20 PM
As with tunnels, it may be indeed wise to allow for bridges to lower a single tile. That way you probably do no go backrupt. Raising land can have any strange effect (including charging millions), but lowering rarely fails and will cost you at max one tile.

In the moment I have the biggest pproblem with bridges, that the need two height levels in pak128 or so, and hence are really difficult beasts to built for instance for rails.
Title: Re: Bridges should modify the ground.
Post by: Ters on November 17, 2015, 04:55:09 PM
Lowering a tile should have the same potential for expensive cascading as far as I can see. Perhaps more so, as infrastructure is mostly located at the bottom of tall slopes than at the top.
Title: Re: Bridges should modify the ground.
Post by: prissi on November 17, 2015, 10:41:56 PM
Lowering a tile on a slope (as for tunnels) can have the maximum cost of 1 action. It will fail as with tunnels if there is something prevening it.
Title: Re: Bridges should modify the ground.
Post by: Ters on November 18, 2015, 06:36:03 AM
The depicted lowering operation did not cost the 1000 that the tool says it should cost, but 2000. The tile in question that needs to be modified is the one to the left of the cursor. Although this is a double-height pak set, and not a half height pak, that shouldn't make a difference, should it? In a half-height pak set, one would need to lower the other corner as well to create a full height slope for a tunnel. I'm not sure how bridges fit into this, as bridges should ideally be able to start from both kinds of slopes, and need raised land to have enough clearance in half-height pak sets.
Title: Re: Bridges should modify the ground.
Post by: sdog on January 05, 2016, 02:15:48 AM
Quote from: Ters on November 18, 2015, 06:36:03 AM
The depicted lowering operation did not cost the 1000 that the tool says it should cost, but 2000. The tile in question that needs to be modified is the one to the left of the cursor. Although this is a double-height pak set, and not a half height pak, that shouldn't make a difference, should it? In a half-height pak set, one would need to lower the other corner as well to create a full height slope for a tunnel. I'm not sure how bridges fit into this, as bridges should ideally be able to start from both kinds of slopes, and need raised land to have enough clearance in half-height pak sets.

There is also the the artificial slope tool, which does not have cascading effects when used, this could be used instead of the lower/raise ground tools. For tunnels it is undesirable, as one could end with a tunnel entrance with an half-open volume behind it. That isn't an issue for bridges though, they would just go nowhere, and the player could fix it with the appropriate tools.
Title: Re: Bridges should modify the ground.
Post by: TurfIt on January 05, 2016, 02:28:53 AM
IMO, instead of auto-terraforming, bridges with two ramps tiles would be better.
It looks kinda silly all the terraformed bridge ramps littering the map on multiplayer servers with players continually bankrupting themselves...
Title: Re: Bridges should modify the ground.
Post by: DrSuperGood on January 05, 2016, 03:03:52 AM
Quote
It looks kinda silly all the terraformed bridge ramps littering the map on multiplayer servers with players continually bankrupting themselves...
Bridge ramps should be priced differently from their span. This is because you can save money in the long term with artificial slopes. As such they should cost closer to normal way amounts to encourage their use over excessive terraforming.

Some will argue that artificial slopes should rather have bridge like maintenance costs. However I do not think that feature is viable to implement due to the major ownership questions it raises. Lowering maintenance of bridge ramps is probably easier.

Alternatively one could force ramp costs onto bridge maintenance. No matter how you connect the bridge (even a 1 tile flat bridge or 12 tile with ramps), you always pay a fixed amount for ramps for it. This will cause problems with elevated ways however, since you could still use them as cheaper bridges. Hence why free or cheap ramps is still my more recommended solution.

Terraforming costs need to be altered such that it is based on surface area of artificial wall made and volume of earth moved. This would potentially make small changes cheaper while bigger, more substantial changes cost more.
Title: Re: Bridges should modify the ground.
Post by: Ters on January 05, 2016, 06:36:27 AM
Quote from: DrSuperGood on January 05, 2016, 03:03:52 AM
Terraforming costs need to be altered such that it is based on surface area of artificial wall made and volume of earth moved. This would potentially make small changes cheaper while bigger, more substantial changes cost more.

I agree. (Realistically, there should be some amount of fixed cost, essentially the price for getting the equipment there and back again, but that should be split between all construction in the area, which is near impossible to implement. So probably better to keep it as simple as suggested.)