Changes between Version 7 and Version 8 of PMP_File_Format


Ignore:
Timestamp:
Mar 22, 2015, 9:15:30 PM (9 years ago)
Author:
historic_bruno
Comment:

Updates scenario XML format

Legend:

Unmodified
Added
Removed
Modified
  • PMP_File_Format

    v7 v8  
    6060<?xml version="1.0" encoding="UTF-8"?>
    6161<Scenario version="5">
    62     <Environment>
    63     <SkySet>cloudless</SkySet>
    64     <SunColour r="0.847059" g="0.792157" b="0.592157"/>
    65     <SunElevation angle="0.773126"/>
    66     <SunRotation angle="-0.374291"/>
    67     <TerrainAmbientColour r="0.447059" g="0.509804" b="0.54902"/>
    68     <UnitsAmbientColour r="0.501961" g="0.501961" b="0.501961"/>
     62  <Environment>
     63    <SkySet>rain</SkySet>
     64    <SunColor r="0.737255" g="0.592157" b="0.27451"/>
     65    <SunElevation angle="1.25786"/>
     66    <SunRotation angle="1.71806"/>
     67    <TerrainAmbientColor r="0.329412" g="0.419608" b="0.501961"/>
     68    <UnitsAmbientColor r="0.501961" g="0.501961" b="0.501961"/>
    6969    <Fog>
    70       <FogFactor>0</FogFactor>
    71       <FogThickness>0.5</FogThickness>
    72       <FogColour r="0.8" g="0.8" b="0.894118"/>
     70      <FogFactor>0.00510742</FogFactor>
     71      <FogThickness>0</FogThickness>
     72      <FogColor r="0.74902" g="0.74902" b="0.74902"/>
    7373    </Fog>
    7474    <Water>
    7575      <WaterBody>
    76         <Type>default</Type>
    77         <Colour r="0.411765" g="0.384314" b="0.368627"/>
     76        <Type>lake</Type>
     77        <Color r="0.737255" g="0.592157" b="0.27451"/>
     78        <Tint r="0.439216" g="0.247059" b="0.156863"/>
    7879        <Height>21.823</Height>
    79         <Shininess>250</Shininess>
    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>
     80        <Waviness>4.99023</Waviness>
     81        <Murkiness>0.899414</Murkiness>
     82        <WindAngle>1.1781</WindAngle>
    8583      </WaterBody>
    8684    </Water>
    8785    <Postproc>
    88       <Brightness>0</Brightness>
    89       <Contrast>1</Contrast>
    90       <Saturation>0.99</Saturation>
    91       <Bloom>0.1999</Bloom>
    92       <PostEffect>default</PostEffect>
     86      <Brightness>-0.0244141</Brightness>
     87      <Contrast>1.1084</Contrast>
     88      <Saturation>0.78125</Saturation>
     89      <Bloom>0.134961</Bloom>
     90      <PostEffect>hdr</PostEffect>
    9391    </Postproc>
    9492  </Environment>
    9593  <Camera>
    96     <Position x="246.599" y="91.5253" z="497.928"/>
     94    <Position x="215.538" y="91.1563" z="545.103"/>
    9795    <Rotation angle="0"/>
    9896    <Declination angle="0.610865"/>
     
    10199{
    102100  "CircularMap": true,
    103   "Description": "Northwest India. Nearby rivers swell with monsoon rains, allowing for only a few treacherous crossings...",
     101  "Description": "Northwest India. Nearby rivers swell with monsoon rains, allowing for only a few treacherous crossings.\n\nThe rivers are heavily forested, while grasslands carpet the surrounding countryside. Watch out for Tigers in the tall grass! Asian elephants are also a common sight.",
    104102  "GameType": "conquest",
    105103  "Keywords": [],
    106104  "LockTeams": false,
    107   "Name": "Punjab 1",
     105  "Name": "Punjab (2)",
    108106  "PlayerData": [
    109107    {
    110       "AI": "",
    111       "Civ": "maur",
    112       "Colour": {
    113         "b": 200,
    114         "g": 46,
    115         "r": 46
    116       },
    117       "Name": "Purushottama of Paurava",
    118       "Team": -1
     108      "Name": "Player 1"
    119109    },
    120 
    121     ...
     110    {
     111      "Name": "Player 2"
     112    }
    122113  ],
    123   "Preview": "punjab_1.png",
     114  "Preview": "punjab_2.png",
    124115  "RevealMap": false
    125 }]]>
    126   </ScriptSettings>
     116}
     117]]></ScriptSettings>
    127118  <Entities>
    128     <Entity uid="12">
    129       <Template>structures/pers_civil_centre</Template>
    130       <Player>2</Player>
    131       <Position x="815.72754" z="384.37818"/>
    132       <Orientation y="2.35621"/>
    133     </Entity>
    134119    <Entity uid="13">
    135120      <Template>actor|props/flora/grass_tropic_field_tall.xml</Template>
     
    137122      <Orientation y="2.35621"/>
    138123    </Entity>
     124    <Entity uid="15">
     125      <Template>actor|props/flora/grass_tropic_field_tall.xml</Template>
     126      <Position x="154.37449" z="535.5359"/>
     127      <Orientation y="0.90325"/>
     128    </Entity>
    139129    ...
    140    
    141130  </Entities>
    142131  <Paths/>