Changes between Version 6 and Version 7 of PMP_File_Format


Ignore:
Timestamp:
Aug 3, 2013, 7:51:28 PM (11 years ago)
Author:
historic_bruno
Comment:

Clarifies comment about camera settings, updates example

Legend:

Unmodified
Added
Removed
Modified
  • PMP_File_Format

    v6 v7  
    6060<?xml version="1.0" encoding="UTF-8"?>
    6161<Scenario version="5">
    62   <Environment>
    63     <LightingModel>standard</LightingModel>
     62    <Environment>
    6463    <SkySet>cloudless</SkySet>
    6564    <SunColour r="0.847059" g="0.792157" b="0.592157"/>
     
    6867    <TerrainAmbientColour r="0.447059" g="0.509804" b="0.54902"/>
    6968    <UnitsAmbientColour r="0.501961" g="0.501961" b="0.501961"/>
     69    <Fog>
     70      <FogFactor>0</FogFactor>
     71      <FogThickness>0.5</FogThickness>
     72      <FogColour r="0.8" g="0.8" b="0.894118"/>
     73    </Fog>
    7074    <Water>
    7175      <WaterBody>
    7276        <Type>default</Type>
    73         <Colour r="0.294118" g="0.34902" b="0.694118"/>
     77        <Colour r="0.411765" g="0.384314" b="0.368627"/>
    7478        <Height>21.823</Height>
    7579        <Shininess>250</Shininess>
    76         <Waviness>8</Waviness>
    77         <Murkiness>1</Murkiness>
    78         <Tint r="0.639216" g="0.54902" b="0.34902"/>
    79         <ReflectionTint r="0.603922" g="0.529412" b="0.384314"/>
    80         <ReflectionTintStrength>0.525391</ReflectionTintStrength>
     80        <Waviness>3.25195</Waviness>
     81        <Murkiness>0.946289</Murkiness>
     82        <Tint r="0.439216" g="0.247059" b="0.156863"/>
     83        <ReflectionTint r="0.403922" g="0.329412" b="0.27451"/>
     84        <ReflectionTintStrength>0.204102</ReflectionTintStrength>
    8185      </WaterBody>
    8286    </Water>
     87    <Postproc>
     88      <Brightness>0</Brightness>
     89      <Contrast>1</Contrast>
     90      <Saturation>0.99</Saturation>
     91      <Bloom>0.1999</Bloom>
     92      <PostEffect>default</PostEffect>
     93    </Postproc>
    8394  </Environment>
    8495  <Camera>
     
    98109    {
    99110      "AI": "",
    100       "Civ": "spart",
     111      "Civ": "maur",
    101112      "Colour": {
    102113        "b": 200,
     
    104115        "r": 46
    105116      },
    106       "Resources": {
    107         "food": 600,
    108         "metal": 400,
    109         "stone": 600,
    110         "wood": 600
    111       },
    112       "StartingCamera": {
    113         "Position": {
    114           "x": 634.796,
    115           "y": 22.3825,
    116           "z": 628.946
    117         },
    118         "Rotation": {
    119           "x": 35,
    120           "y": 0,
    121           "z": 0
    122         }
    123       },
    124       "Name": "Player 1",
     117      "Name": "Purushottama of Paurava",
    125118      "Team": -1
    126119    },
    127    
    128120
    129121    ...
    130122  ],
     123  "Preview": "punjab_1.png",
    131124  "RevealMap": false
    132125}]]>
     
    159152Currently unused?
    160153
    161 Camera settings per player are used (see the Laconia map in game).
     154There are optional per-player camera settings in the [#ScriptSettings ScriptSettings] element.
    162155
    163156=== !ScriptSettings ===