Deleting bridges February 19, 2009, 07:59:37 am I recently made a new patch, which allows to build bridges with steep slopes on both sides (like the one in the image). That can be done easily, but one new problem is arising: You can't delete these bridges, cause you can delete bridges only on their first tile (slope), but this "new" bridges doesn't have such a tile and thus they can't be deleted. (Now I've spotted: They can be deleted with the way deletion tool).You can easy change some other code and then, whenever applying the remove tool to a bridge ground (which is empty) the whole bridge is deleted. But maybe then you delete some bridges accidentially?Any ideas? Quote Selected
Re: Deleting bridges Reply #1 – February 19, 2009, 08:38:36 am But if I want to make an elevated bridge instead of a flat, how does the code recognize this? Quote Selected
Re: Deleting bridges Reply #2 – February 19, 2009, 08:52:32 am If you hold down ctrl, simutrans tries to create a flat bridge, otherwise it uses the old code. Quote Selected
Re: Deleting bridges Reply #3 – February 19, 2009, 11:12:10 am So this would enable more compact railway crossings?This was my first idea for TTDpatch years ago (never coded). It brings back memories... Quote Selected
Re: Deleting bridges Reply #4 – February 19, 2009, 08:20:28 pm Perhaps the same key used for going up/down one level in underground mode could be used to elevate the cursor one tile up/down when editing... Quote Selected
Re: Deleting bridges Reply #5 – February 22, 2009, 07:38:55 pm I think the most consistent way to delete such a bridge, is by the way-remover tool. Deleting a bridge if one clicks accidentally with the remover-tool on some tile (not a ramp) would be very irritating. Quote Selected
Re: Deleting bridges Reply #6 – February 22, 2009, 08:28:51 pm Ok, this is already possible. Quote Selected