The International Simutrans Forum

 

Author Topic: track eraser doesn't work on fences - simutrans winSDL 102.3-3474  (Read 2067 times)

0 Members and 1 Guest are viewing this topic.

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Impossible to remove fences using the track eraser in this release, idk if it's the same in latest ones, going to test.

EDIT : the problem is in the latest release too.
« Last Edit: August 31, 2010, 08:36:23 AM by gauthier »

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4608
  • Languages: EN, DE, AT
Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
« Reply #1 on: August 31, 2010, 09:03:04 AM »
The remover works only for ways with max-speed>0, hence fences are excluded here. Or in other words, the remover calculates its route the same way as vehicles, hence ways with maxspeed=0 are not taken into account.

I am not sure how to change that.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3666
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
« Reply #2 on: August 31, 2010, 01:31:20 PM »
Perhaps there's room for a "remove all" tool that ignores waytypes? I guess it might be a little dangerous if you have crossing ways that make a shorter path (i.e. road->track->road because tracks cross the road twice and make a shorter path); or maybe the tool could just look at the starting way type? (and if multiple way types, either look at the ending way type, or take no action if it can't resolve what to do)

Count me as one that would prefer a single remove-whatever-is-on-this-tile tool. :)

Offline gauthier

  • Devotee
  • *
  • Posts: 3628
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
« Reply #3 on: August 31, 2010, 02:28:06 PM »
Quote
or maybe the tool could just look at the starting way type?

That's exactly what I thought reading your answer ;)

I have another idea too : a such tool could be included in the normal remove tool :
simple click with remove tool = normal removing
ctrl + click with this tool = way removing tool (taking care of the starting way type).

What about this ?

(by the way a bridge's pillar remove tool and an electrification remove tool should be great :p )

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18763
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
« Reply #4 on: September 01, 2010, 12:12:44 AM »
Perhaps a vehicle with special characteristics (power of 0, top speed of 0, payload of 0, weight of 0) could be treated by the route finder as a way remover and ignore all speed limits?