Topic: Map Contest: Questions, Answers and Discussions
Solstice |
Posted at: 2013-07-18, 23:52
The problem is that once I've clicked the upload button, It just says that there is no selected map, which was there before clicking the upload button. Uploader notes are still there, but selected map gets lost to somewhere. And yes, I've tried with renamed map too. The problem is still there after the bug fix got done. Top Quote |
SirVer |
Posted at: 2013-07-19, 06:53
That sounds like a serious bug. Could you open a bug report on launchpad: https://bugs.launchpad.net/widelands-website? Very important information would be here the OS you are using and the browser (at which version). Also, can you try uploading another map? I tested on chrome and there everything works as expected. Top Quote |
teppo |
Posted at: 2013-07-25, 13:22
Is it possible to define a custom win condition to a map? I tried looking at wl lua documentation, but after few moments of reading I am still unsure. A custom win condition could be used to make the issue with lack on naval invasions go away. Top Quote |
Nasenbaer Topic Opener |
Posted at: 2013-07-25, 15:13
Jepp, that's exactly the way to go to handle the problem of islands completely owned by opposing players. Basically you've got two ways to go:
Concering the scenario scripting: Widelands differs between singleplayer and multiplayer scripts (init.lua vs multiplayer_init.lua). For example take a look at "The green plateau" (Plateau.wmf) for an example of a single player script and at the maps in "maps/MP Scenarios" for multiplayer scenarios. You can basically create either a single player, a multiplayer or both scenarios for a map. If you want the single player scenario to be the same as the multiplayer scenario, either copy the one file to the other one or save the logic to a third file (e.g. "win_condition.lua" and call that file from within the multiplayer_init.lua as well as from the init.lua (for how to call/include functions from another file, take a look at lines 52-53 of maps/MP Scenarios/Smugglers.wmf/scripting/multiplayer_init.lua -> use("map", "texts") ... ) Edited: 2013-07-25, 15:14
Top Quote |
SirVer |
Posted at: 2013-07-25, 20:54
whatever solution we come up with it will likely only be temporary either way. One day we will need some kind of warfare from ships I guess. Note that settlers two had this problem as well and they just didn't address it at all. Top Quote |
teppo |
Posted at: 2013-07-26, 10:12
After some thought, it would make sense if a map would carry its default win condition. I guess that many people use default, and endless game is not my favorite win condition.. Territorial lord could make sense in many multi-island maps, for example. Top Quote |
Adamant |
Posted at: 2013-07-26, 15:46
I won't consider EndlessGame as WinCondition but as No/None/Null-WinCondition. However, I won't consider that Condition at first Order at Matter of Map but Matter of Player-Profile resp MultiPlayer-Profile: what Configs the MultiPlayer want to take as Standard for his Configuration from where starts to customize the Config. As at Present no MP-Profile exist to left there that Feature covered at 1st Order I agree that a Map-Config for Things like these are usefull eg. to offer an MP-Profile-Item "Use Map-Default" as Standard-Setting. With or without SP/MP-Profiles Map-WinConditions more complex/different than Stadard-WinConditions are reasonable. So I support Teppo's Suggestion. However, Special WinConditions were possible before inside Campaigns. If we assume EACH MAP to be (a Kind of) SingleScenario resp SingleScenario-Campaign than there exist AFAICS already a Mechanism to add WinConditions. What misses for a Map to be formal a Scenario (aside of any sophisticated special additional Scenario-Logic resp same for) resp SingleScneario-Campaign? We don't have to do Things multiple Times - if we gneralize the Matter as there exist just Campaigns - no Matter what Number of Scenarios/Maps are inside as Kind of Compound - we got all we need but a comfortable (Map-Editor-) Way to define such basic Properties of a Scenario (as Standard-Behavior). Thus I vote finally to drop Scenario/Map as incomplete Campaigns, extend the Map-Editor to PlainCampaign-Editor which mainly have to learn few Things about Scenarios and Campaigns (as a Kind of Folder for multiple Maps if ever) and some Code to deal with the WinConditions in a (whatever blunt or comfortable) Way to let the (previous) MapDesigner (now formal Campaign-Designer :D) select between several Standard-WinConditions - same Matter like the Player have to select each Time before starting the Map the MapDesigner selects in Editor a single Time. Well, its my personal Opinion and any random Commonalities with other CrewMembers are incredible and I wont be able to reason them. Edited: 2013-07-26, 16:10
Ivan the Terrible is dead .. Genghis Khan is dead .. and I do not feel well, too. Top Quote |
teppo |
Posted at: 2013-07-27, 07:15
Adding the possibility to attach a default win condition to maps would probably be very easy to do. However, I am unsure whether it would be fair in the middle of a map contest, and so.
I did not get -- could you be more specific: What should be in a MP-profile? Maybe the win conditions should be discussed more somewhere else, and done right instead of doing it in quickly. Tight deadlines in a hobby project are bad. Would you happen to know when win-conditions (and MP-profiles) were previously considered? It might be useful to read that discussion thread before continuing. Top Quote |
Nasenbaer Topic Opener |
Posted at: 2013-08-09, 19:38
Just for your information: the user fk found a small bug in our map uploader, which is not yet fixed. If you try to upload a map that has the same name (as shown in Widelands) as a map already uploaded, the uploader will behave as if no map file was selected for upload. This happens mostly if you try to upload an update of one of your maps. For now the only workaround is to change the name in the Editor (e.g. adding a "1.1" to the name) Note: the actual file name does not matter - the problem is with the internal name shown in Widelands. For more information, see bug #1210606 on launchpad. Edited: 2013-08-09, 19:39
Top Quote |
Shevonar |
Posted at: 2013-08-10, 22:25
This bug is also fixed by now. It is still not possible to upload maps with the same name but a warning should be displayed. In the future it should be possible to upload new versions of your maps (bug #357914) but for now you have to add some version number to the name. I also want to thank all of you for finding those bugs. Sorry for the inconvenience during the map contest! Edited: 2013-08-10, 22:59
Top Quote |