The International Simutrans Forum

 

Author Topic: Alter water tools  (Read 3489 times)

0 Members and 1 Guest are viewing this topic.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Alter water tools
« on: September 24, 2013, 09:09:20 PM »
I am working on integrating the new climate functions. The alter water height tools does not work a expected. I can drain a lake one level or until completely empty, but I cannot fill it anymore. The tool does more or less somethign else, i.e. drain a bassin or fill it.

I would also suggest an error message, why the water level cannot be altered.

EDIT: During practical tests I found out I could convert water to land in the sea for free. I think this is not good for game balance and needs to be addressed somehow.
« Last Edit: September 24, 2013, 10:33:18 PM by prissi »

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Alter water tools
« Reply #1 on: September 25, 2013, 01:22:42 AM »
Raise/lower behaviour has already been discussed before. It's on my list of things to do.

Climate change (including to/from water) has been free so far mainly because I hadn't thought of a price for it. Should it cost same as raise/lower single tile?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4564
  • Languages: EN, DE, AT
Re: Alter water tools
« Reply #2 on: September 25, 2013, 06:16:31 AM »
Climate change (including to/from water) has been free so far mainly because I hadn't thought of a price for it. Should it cost same as raise/lower single tile?
This tool should be limited to public player, no need to price it. After all, it is a map editing tool.

Offline Markohs

  • DevTeam, Coder/patcher
  • Devotees (Inactive)
  • *
  • Posts: 1559
  • Languages: EN,ES,CAT
Re: Alter water tools
« Reply #3 on: September 25, 2013, 08:01:01 AM »
well, raise and lower tools are also map editing tools and players are able to do it. If we make it public player we'll get extension requests to make it available to players,  maybe.  I'd make it twice the cost of a slope tool cost.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4564
  • Languages: EN, DE, AT
Re: Alter water tools
« Reply #4 on: September 25, 2013, 08:19:39 AM »
Available for public player = available if public player is unlocked and players can switch to it. This is the default in normal games with the exceptions being multiplayer and scenario games.


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Re: Alter water tools
« Reply #5 on: September 25, 2013, 12:41:27 PM »
The water editing tool might be need to build a sea channel by lowering land, because now (if done in wrong building order) the land will stay dry. The other climate tools are not so important, I agree.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5454
  • Languages: EN, NO
Re: Alter water tools
« Reply #6 on: September 25, 2013, 04:19:33 PM »
well, raise and lower tools are also map editing tools and players are able to do it. If we make it public player we'll get extension requests to make it available to players,  maybe.  I'd make it twice the cost of a slope tool cost.

I've seen terrain raised and lowered when building roads and railroads in real life. I've never seen them turn deserts into tundra or a temperate zone. To/from water is something different, though, and should be possible for players. I think that would be comparable to raise and lower terrain.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9438
  • Languages: De,EN,JP
Re: Alter water tools
« Reply #7 on: September 25, 2013, 09:09:38 PM »
The other question: double height raise and lower is now charged the same as single height. I assume that is ok too?

For the drain/increaese water level tool, this I would limit to scenarios. Albeit, the increase water level (flooding areas) requires previous land modifications, which is quite costly anyway.


Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4564
  • Languages: EN, DE, AT
Re: Alter water tools
« Reply #8 on: September 26, 2013, 06:22:15 AM »
The other question: double height raise and lower is now charged the same as single height. I assume that is ok too?
The raise / lower tools (u/d key) should have different costs for single and double slope. The set-slope tools not iirc.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Alter water tools
« Reply #9 on: September 26, 2013, 06:50:01 AM »
Why should they have different costs for raise/lower for double height tiles? The new faster raise/lower code already takes into account number of height steps - so if you drag resulting in a tile changing height by 2 then you are charged twice normal price.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4564
  • Languages: EN, DE, AT
Re: Alter water tools
« Reply #10 on: September 26, 2013, 07:33:33 AM »
Why should they have different costs for raise/lower for double height tiles? The new faster raise/lower code already takes into account number of height steps - so if you drag resulting in a tile changing height by 2 then you are charged twice normal price.
.. this is what I meant ;)

Offline kierongreen

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 2269
Re: Alter water tools
« Reply #11 on: October 17, 2013, 03:06:59 PM »
Just a quick note here - I've added a ctrl modifier to the alter water height tool.

Without ctrl behaviour remains same i.e.:
Raising - from the point of origin tries to flood all land in basin less than or equal in height to new water level.
Lowering - from point of origin removes water from all connected water tiles that are higher than the new water level.

With ctrl behaviour:
Raising - from the point of origin tries to flood all land in basin  less than new water level.
Lowering - from point of origin removes water from all connected shallow water tiles (only works in shallow water).

I think this addresses issue in initial post:
Quote
I can drain a lake one level or until completely empty, but I cannot fill it anymore. The tool does more or less somethign else, i.e. drain a bassin or fill it.