Typo fix and examples
authoralmikes@aol.com
Thu, 30 Jul 2015 23:05:13 +0000
changeset 580 79ecca48492f
parent 579 9895045e9963
child 581 210498f64820
Typo fix and examples
ConfigurationFiles.wiki
--- a/ConfigurationFiles.wiki	Thu Jul 30 22:57:26 2015 +0000
+++ b/ConfigurationFiles.wiki	Thu Jul 30 23:05:13 2015 +0000
@@ -165,7 +165,32 @@
 Campaign variable names and their values can are chosen by the Lua script authors, but there are some special variables which are used to determine which missions are available in the main menu:
 
 || *Setting* || *Type* || *Description* ||
-|| `Progress` || Integer || If present, this number of missions is unlocked in the menu, starting with the first mission and continuing with the following missions in their regular order (as specified in `campaign.ini`. ||
+|| `Progress` || Integer || If present, this number of missions is unlocked in the menu, starting with the first mission and continuing with the following missions in their regular order (as specified in `campaign.ini`). ||
 || `UnlockedMissions` || Integer || An alternative way to store the unlocked missions in the main menu if the missions aren't unlocked in the regular order. This number specifies how many missions are unlocked. If this variable is set, then the variables `Mission1`, `Mission2`, etc. must be used to specfify the IDs of the unlocked missions. ||
 || `Mission1` || Integer || The `campaign.ini` ID of the first unlocked mission, must be used together with `UnlockedMissions` ||
-|| `Mission2` || Integer || ID of the second unlocked mission (continues with `Mission3`, `Mission4`, and so on) ||
\ No newline at end of file
+|| `Mission2` || Integer || ID of the second unlocked mission (continues with `Mission3`, `Mission4`, and so on) ||
+
+=== Examples ===
+Simple campaign with 10 missions, missions 1-4 are available:
+
+{{{
+[Campaign%20Simple_Campaign]
+Progress=4
+}}}
+
+Complex campaign with 13 missions, missions 2, 7 and 3 are available (in that order):
+{{{
+[Campaign%20Complex_Campaign]
+UnlockedMissions=3
+Mission1=2
+Mission2=7
+Mission3=3
+}}}
+
+Another campaign with some custom campaign variables:
+{{{
+[Campaign%20Another_Campaign]
+Progress=2
+MyCustomVariable=54
+MyCustomString=Hedgewars
+}}}
\ No newline at end of file