| Line 275: |
Line 275: |
| | | | |
| | {|class="wikitable" | | {|class="wikitable" |
| | + | |Tag name |
| | + | |Description |
| | + | |Example |
| | + | |- |
| | |Scenario | | |Scenario |
| | |This is the root tag, which all tags should be a child to. | | |This is the root tag, which all tags should be a child to. |
| | + | | |
| | + | |- |
| | + | |Name |
| | + | |The name of the scenario as shown in the game. |
| | | | | | |
| | |- | | |- |
| | |Money | | |Money |
| − | |The available amount of money at the game start. Easy defined like this: | + | |The available amounts of money at the game start. |
| − | |<pre><Amount>1000</Amount></pre> | + | |<pre><Money><Amount>1000</Amount><Amount>20000</Amount></Money></pre> |
| | |- | | |- |
| | |Goals | | |Goals |
| − | |Goals define the "win" condition/s. You define goals by putting first the needed Money and then the date when the money has to be reached in. You have to do it like this: | + | |Goals define the "win" condition/s. There can be multiple goals, each defined its own Goal tag. Each gaol can also have multiple conditions, separated by commas. Conditions are defined by their name followed by an argument. The only goals available at the moment are Money and Date. |
| | |<pre><Goal>Money 200000,Date 6-1980</Goal></pre> or <pre><Goal>Money 2000000,Date 4-1988</Goal></pre> | | |<pre><Goal>Money 200000,Date 6-1980</Goal></pre> or <pre><Goal>Money 2000000,Date 4-1988</Goal></pre> |
| | |- | | |- |
| | |Years | | |Years |
| − | |The available start years at the start of a new game. E.g.: | + | |The available start years at the start of a new game. |
| − | |<pre><Year>1976</Year></pre> | + | |<pre><Years><Year>1976</Year><Year>1988</Year></Years></pre> |
| | |- | | |- |
| | |Events | | |Events |
| − | |Events are differently made XML Files in the "Events" Folder. View Events for more info (currently no info there). E.g.: | + | |Events are defined separately in the "Events" Folder. You can leave the tag empty to ignore it. |
| − | |<pre><Event>Test</Event></pre> // Replace "Test" with the name of your XML File | + | |<pre><Events><Event>Test</Event><Event>Test2</Event></Events></pre> |
| | |- | | |- |
| | |Simulation | | |Simulation |
| − | |Nothing here yet, sorry | + | |Whether the competition should be simulated. Relevant if you want the competition to be entirely controlled by your own events. |
| − | | | + | |<Simulation>TRUE</Simulation> |
| | + | |- |
| | + | |Trees(Optional) |
| | + | |Whether to place trees in the world |
| | + | |<Simulation>TRUE</Simulation> |
| | + | |- |
| | + | |MinFloor(Optional) |
| | + | |The lowest floor the player can build on, between -1 and 9 |
| | + | |<MinFloor>0</MinFloor> |
| | + | |- |
| | + | |MaxFloor(Optional) |
| | + | |The lowest floor the player can build on, between 0 and 10 |
| | + | |<MaxFloor>4</MaxFloor> |
| | + | |- |
| | + | |CanExpand(Optional) |
| | + | |Whether the player can buy more plot. |
| | + | |<CanExpand>FALSE</CanExpand> |
| | + | |- |
| | + | |ForceEnvironment(Optional) |
| | + | |Whether the player should be forced to play in a specific environment. Between 0 and 3, for forest, city, tundra and desert. |
| | + | |<Simulation>TRUE</Simulation> |
| | + | |- |
| | + | |StartingArea(Optional) |
| | + | |What the players starting plot should be. Defined as x,y,width,height. Will be clamped to match game limits. |
| | + | |<StartingArea>9,128,32,32</StartingArea> |
| | |- | | |- |
| | |} | | |} |