Widelands campaigns6/21/2023 You will have to copy your missions to the campaigns folder as well. If you want to combine your missions into a campaign that you can access via the Single Player, Campaigns buttons, you should have a look at the campaigns/nf file which is also explained in this wiki. Bring your campaign into the gameĪfter creating your missions, you can test them by calling widelands with the -scenario= option where you replace with your map directory, e.g. There is a Lua documentation including a scenario tutorial on the widelands web site, where you can get further information. telling the relevant part story while playing the mission.defining map regions that have a special meaning for the story.filling the headquarters with initial wares,.selecting a text domain for translation into other languages than English,.defining objectives and launching routines to check them,.The most important scripting file (and the only one that you really need) is a - which does the whole initialization stuff, such as: You might have to create this directory first. The Lua scripts reside in the scripting subdirectory of your map. There is a nice Editor tutorial in this wiki. This is done via the integrated editor (select the button "Editor" from the widelands main menu). Once you have an overview and some details what your story is about, you will have to create the maps that your missions will be based on. Data that is needed by the scripts, such as additional pictures to show the leader of your tribe when he/she is "speaking" to you. They unveil the next mission in this campaign. They define objectives and tests for their completing.
0 Comments
Leave a Reply. |