The International Simutrans Forum

Development => Bug Reports => Topic started by: gauthier on August 31, 2010, 08:28:20 AM

Title: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
Post by: gauthier on August 31, 2010, 08:28:20 AM
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.
Title: Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
Post by: Dwachs 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.
Title: Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
Post by: Isaac Eiland-Hall 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. :)
Title: Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
Post by: gauthier on August 31, 2010, 02:28:06 PM
Quoteor 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 )
Title: Re: track eraser doesn't work on fences - simutrans winSDL 102.3-3474
Post by: jamespetts 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?