Latest Posts

Topic: Pulling down flags

Venatrix
Avatar
Topic Opener
Joined: 2010-10-05, 19:31
Posts: 449
Ranking
Tribe Member
Location: Germany
Posted at: 2011-02-17, 10:29

I wish it was possible to pull down a road flag without destroying the whole road it is built on. That concerns of course just the flags connecting two roads and not crossroads or flags from buildings. If I have a road with an uneven number of parts > 3, I sometimes want to set one flag at another possible place without destroying the road it is connected to. It’s not that important, more a question, if it is possible or why it’s not.


Two is the oddest prime.

Top Quote
ixprefect

Joined: 2009-02-27, 13:28
Posts: 367
Ranking
Tribe Member
Posted at: 2011-02-17, 12:48

Interesting idea. It never really occurred to me that that might be a useful feature, but it's something I believe we could consider. It would be a bit tricky to implement, e.g. because you have to deal with what happens to the carriers on both roads, but it's certainly possible if enough care is taken.


Top Quote
smoku

Joined: 2010-07-19, 08:37
Posts: 15
Ranking
Pry about Widelands
Posted at: 2011-02-17, 13:17

What happens now to carriers on the destroyed two roads that was connected? Let it happen to one of the carriers, and the other just carries on with the second point of journey changed. face-smile.png


Top Quote
ixprefect

Joined: 2009-02-27, 13:28
Posts: 367
Ranking
Tribe Member
Posted at: 2011-02-17, 16:44

Yes, that's obvious. I was talking from the perspective of how to actually implement that in the source code, because of how roads and flags interact to organize which items are to be transported at what point in time, and so on. It's a rather complex and subtle part of the game logic.


Top Quote
aubergine

Joined: 2011-02-09, 01:25
Posts: 15
Ranking
Pry about Widelands
Posted at: 2011-02-18, 01:45

Maybe allow flags to be repositioned by dragging them? The road could then be redesigned simply by dragging flags around... face-smile.png


Top Quote
Venatrix
Avatar
Topic Opener
Joined: 2010-10-05, 19:31
Posts: 449
Ranking
Tribe Member
Location: Germany
Posted at: 2011-02-18, 07:18

That sounds funny, but that would introduce a complete different way of building. I don’t think, the programmers really want to implement such a kind of feature. For me it would be enough not to destroy the road while pulling down the flag. Or to have at least the choice whether to take it down or to destroy the road. That could possibly be made with a new button (the existing one for destroying the flag and a new one for destroying the road) in the flag menu.


Two is the oddest prime.

Top Quote
ixprefect

Joined: 2009-02-27, 13:28
Posts: 367
Ranking
Tribe Member
Posted at: 2011-02-18, 12:28

Dragging flags is not worth it IMO, because you would never be able to drag flags away from intersections. Removing flags without destroying roads is a legitimate and reasonable wish on the other hand, though it's hard to say if/when it'll come.


Top Quote
fuchur

Joined: 2009-10-07, 13:01
Posts: 186
Ranking
Widelands-Forum-Junkie
Location: Germany
Posted at: 2011-02-24, 18:28

Venatrix, I like your suggestion face-smile.png It's a thing I'm missing, too.

I don't know anything about the implementation, but while reading this topic I thought not only of what should happen to the second carrier, but also to the wares at the removed flag. I think it's ok if they're lost, but if they are designated to a construction site (for example), they need to be ordered again. But currently it's the same problem when removing a flag, and I assume it's already handled properly.


Top Quote
ixprefect

Joined: 2009-02-27, 13:28
Posts: 367
Ranking
Tribe Member
Posted at: 2011-02-24, 19:57

Don't worry, it can all be handled quite gracefully. It just needs some care when implementing it. And no, the implementation wouldn't be significantly easier if those things aren't handled gracefully. The same subtleties still exist. But as I said, unless you plan to actually look at the source code, you don't need to worry about it.

Edited: 2011-02-24, 19:57

Top Quote
Venatrix
Avatar
Topic Opener
Joined: 2010-10-05, 19:31
Posts: 449
Ranking
Tribe Member
Location: Germany
Posted at: 2012-07-06, 10:10

As this topic recently rose again, I had a look into the related Launchpad discussion.

Thought it was good to have a crosslink. face-wink.png


Two is the oddest prime.

Top Quote