Topic: Map analyse script
Ron_of_Nord![]() |
Posted at: 2025-02-10, 23:06
I will think about that and a play with it on the next map. I'll make notes and post what I think in a day or two. Since I have been using it more, I've become more comfortable with it. These is one small problem I noted the other day, and that is where it reports granite/marble at the end. On a map I was doing, it only showed 'stone/' the rest was cut off. Not a problem really as I had hand worked it out but just something I noticed, possibly because it was a large 6 player map with lots of resources. No scroll bar was shown, but that could have been an error on the part of windows itself. As I said , I'll have another crack at it over the next few days and make some notes. All in all though, it really is a good addon. Edited: 2025-02-11, 10:32
The aussies are coming, ya ho! ya ho! ![]() ![]() |
Ron_of_Nord![]() |
Posted at: 2025-02-10, 23:09
I really must get around to tidying up the 100 or so maps I've done and publish them. That's something I will get to over the next couple of weeks. Edited by kaputtnik: Please add a blank line after a quoted line. Edited: 2025-02-11, 10:31
The aussies are coming, ya ho! ya ho! ![]() ![]() |
Ron_of_Nord![]() |
Posted at: 2025-02-19, 08:03
Ok now I've had a real crack at this add-on I'll make 2 notes :- First is sometimes it displays granite: at the end and leaves 'marble' ouf ( especially in 5+ player maps with lot's of resources ) Second, we get a port count added, please, pretty please ? That would help trmendously when balancing island maps. Other than that, this add-on is exactly what the editor needs The aussies are coming, ya ho! ya ho! ![]() ![]() |
kaputtnik![]() Topic Opener |
Posted at: 2025-02-19, 15:06
Thanks for your response
The "marble out of…" should only be shown if the corresponding checkbox is checked (see image). This is enabled by default. If you had unchecked the box the default (checked) applies under two circumstances:
If this doesn't answer your question please describe the issue a bit more.
Yes, i will see. On some maps there are portspaces set which may get useless during a game. See e.g. Game sends ships to unreachable port causiong an exception and the third frisian campaign may also have this trouble because frisians can turn water into land and thus can break ship routing. But i will try, but i am currently busy with other issues, so it may take some time. ![]() ![]() |
Ron_of_Nord![]() |
Posted at: 2025-02-19, 21:19
Thanks for your reply. As soon as I get the chance, I'll use it on a map where the problem/bug occurs and post a screen shot. As to ports, I am in no hurry myself and when I get time i'll have a look at the add-ons code to see if I can add the port count code. Of course I'll have to go through the Widelands source code to find out how a port is defined but thats part of the fun. If and when I figure this part out I may just make it a 'helper' add-on on it's own ( port counting that is) so the analysis add-on doesnt have to worry about ports. As for port usefulness , one question arises, how large a 'clear-water' area is required before a port is unreachable. Most of the ones I do are on coasts with plenty of clear area so I have never had an unreachable port that I know of. Is that something defined in the source code or in a lua script that you know off? Thinking about it , it may be better to create a port-counting add-on that can report the number of ports, along with counts of the reachable and unreachable ports, hmmm, I'll have a think about this The aussies are coming, ya ho! ya ho! ![]() ![]() |