Changeset View
Standalone View
binaries/data/mods/public/campaigns/tutorial.json
- This file was added.
{ | |||||
"Name": "Tutorial", | |||||
"Description": "Learn how to play 0 A.D.", | |||||
"Interface": "simple_campaign", | |||||
"Image": "session/icons/mappreview/Introductory Tutorial.png", | |||||
"Levels": { | |||||
"introduction": { | |||||
"Name": "Introductory Tutorial", | |||||
"Map": "maps/tutorials/Introductory_Tutorial.xml", | |||||
elexis: Wondering if it's good that one can load arbitrary maptypes here and not only campaign maps. | |||||
wraitiiAuthorUnsubmitted Not Done Inline ActionsOne argument for "arbitrary maps in campaign" is making a Rise of Nations like campaign, where the 'campaign map' is a thing and the actual games are regular maps. wraitii: One argument for "arbitrary maps in campaign" is making a Rise of Nations like campaign, where… | |||||
elexisUnsubmitted Not Done Inline ActionsI'm sure there are important arguments for both sides. But that can be decided later as it doesn't invalidate any of the existing code I suppose. The tutorial maptype already exists, so I guess it should be figured out by wise men whether that type should be migrated, nuked or kept separate. elexis: I'm sure there are important arguments for both sides. But that can be decided later as it… | |||||
"Description": "This is a basic tutorial to get you started playing 0 A.D.", | |||||
"Preview": "session/icons/mappreview/Introductory Tutorial.png" | |||||
}, | |||||
"eco_walkthrough": { | |||||
"Name": "Economy Walkthrough", | |||||
"Map": "maps/tutorials/starting_economy_walkthrough.xml", | |||||
"Description": "This map will give a rough guide for starting the game effectively. Early in the game the most important thing is to gather resources as fast as possible so you are able to build enough troops later. Warning: This is very fast at the start, be prepared to run through the initial bit several times.", | |||||
"Requires": "introduction" | |||||
Done Inline Actions\u000a intended? elexis: \u000a intended? | |||||
Done Inline ActionsWill check, don't remember. wraitii: Will check, don't remember. | |||||
} | |||||
Not Done Inline ActionsIs it possible to load the actual string from the map? You're duplicating strings here. Ideally you'd only have the xml map name? or js Stan: Is it possible to load the actual string from the map? You're duplicating strings here. Ideally… | |||||
Done Inline ActionsOh yeah that's done now. I forgot to implement that initially and noticed it when trying to use the macedonia mod. It' just overloaded here I guess. wraitii: Oh yeah that's done now. I forgot to implement that initially and noticed it when trying to use… | |||||
}, | |||||
"Order": ["introduction", "eco_walkthrough"], | |||||
elexisUnsubmitted Not Done Inline ActionsIf Levels is an array, the order is implied. Not so important however. I still have a campaign screen in my mind that is a graphical map, not a list table, in which case the order would be ignored. elexis: If Levels is an array, the order is implied. Not so important however. I still have a campaign… | |||||
wraitiiAuthorUnsubmitted Not Done Inline ActionsThis is tied to the interface one chooses above, in this case simple_campaign. Another interface might do something completely different. wraitii: This is tied to the interface one chooses above, in this case simple_campaign. Another… | |||||
"ShowUnavailable": true | |||||
} |
Wondering if it's good that one can load arbitrary maptypes here and not only campaign maps.
Makes me also wonder whether we want players to be able to select campaign maps in the regular gamesetup menu in SP and MP, and
whether there are other hard distinctions between campaign and the other maptypes.