Geoff's Sidepanel Planets Mod

From FreeOrionWiki
Jump to: navigation, search

This mod consits of changes to two files: planets.xml and atmospheres.xml.

Replace \FreeOrion\default\data\art\planets\planets.xml :

<?xml version="1.0"?>
<GG::XMLDoc>
  <asteroids_fps>20.0</asteroids_fps>
  <GLStars>
    <StarLightData>
      <star_type>STAR_BLUE</star_type>
      <GG::Clr>
        <red>192</red>
        <green>192</green>
        <blue>255</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
    <StarLightData>
      <star_type>STAR_WHITE</star_type>
      <GG::Clr>
        <red>255</red>
        <green>255</green>
        <blue>255</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
    <StarLightData>
      <star_type>STAR_YELLOW</star_type>
      <GG::Clr>
        <red>255</red>
        <green>255</green>
        <blue>192</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
    <StarLightData>
      <star_type>STAR_ORANGE</star_type>
      <GG::Clr>
        <red>255</red>
        <green>192</green>
        <blue>160</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
    <StarLightData>
      <star_type>STAR_RED</star_type>
      <GG::Clr>
        <red>255</red>
        <green>192</green>
        <blue>192</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
    <StarLightData>
      <star_type>STAR_NEUTRON</star_type>
      <GG::Clr>
        <red>160</red>
        <green>208</green>
        <blue>192</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
    <StarLightData>
      <star_type>STAR_BLACK</star_type>
      <GG::Clr>
        <red>96</red>
        <green>160</green>
        <blue>160</blue>
        <alpha>255</alpha>
      </GG::Clr>
    </StarLightData>
  </GLStars>
  <GLPlanets>
    <light_pos>
      <x>500</x>
      <y>0</y>
      <z>400</z>
    </light_pos>    
    <ambient_intensity>0.2</ambient_intensity>
    <diffuse_intensity>0.8</diffuse_intensity>

    <RotatingPlanetData>
      <planet_type>PT_SWAMP</planet_type>
      <filename>planets/Swamp01.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>23.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_SWAMP</planet_type>
      <filename>planets/Swamp02.png</filename>
      <RPM>1.2</RPM>
      <axis_angle>20.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_SWAMP</planet_type>
      <filename>planets/Swamp03.png</filename>
      <RPM>0.8</RPM>
      <axis_angle>2.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_TOXIC</planet_type>
      <filename>planets/Toxic01.png</filename>
      <RPM>-0.35</RPM>
      <axis_angle>0.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_TOXIC</planet_type>
      <filename>planets/Toxic02.png</filename>
      <RPM>0.07</RPM>
      <axis_angle>-20.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_TOXIC</planet_type>
      <filename>planets/Toxic03.png</filename>
      <RPM>0.6</RPM>
      <axis_angle>30.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_INFERNO</planet_type>
      <filename>planets/Inferno01.png</filename>
      <RPM>2.2</RPM>
      <axis_angle>-13.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_INFERNO</planet_type>
      <filename>planets/Inferno02.png</filename>
      <RPM>3.0</RPM>
      <axis_angle>9.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_INFERNO</planet_type>
      <filename>planets/Inferno03.png</filename>
      <RPM>2.7</RPM>
      <axis_angle>16.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_RADIATED</planet_type>
      <filename>planets/Radiated01.png</filename>
      <RPM>1.2</RPM>
      <axis_angle>-15.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_RADIATED</planet_type>
      <filename>planets/Radiated02.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>0.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_RADIATED</planet_type>
      <filename>planets/Radiated03.png</filename>
      <RPM>0.9</RPM>
      <axis_angle>55.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_BARREN</planet_type>
      <filename>planets/Barren01.png</filename>
      <RPM>0.4</RPM>
      <axis_angle>16.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_BARREN</planet_type>
      <filename>planets/Barren02.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>-50.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_BARREN</planet_type>
      <filename>planets/Barren03.png</filename>
      <RPM>0.7</RPM>
      <axis_angle>29.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_BARREN</planet_type>
      <filename>planets/Barren01.png</filename>
      <RPM>0.6</RPM>
      <axis_angle>70.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_TUNDRA</planet_type>
      <filename>planets/Tundra01.png</filename>
      <RPM>0.9</RPM>
      <axis_angle>7.0</axis_angle>
      <shininess>25.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_TUNDRA</planet_type>
      <filename>planets/Tundra02.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>16.0</axis_angle>
      <shininess>25.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_TUNDRA</planet_type>
      <filename>planets/Tundra03.png</filename>
      <RPM>0.7</RPM>
      <axis_angle>26.0</axis_angle>
      <shininess>20.0</shininess>
    </RotatingPlanetData>



    <RotatingPlanetData>
      <planet_type>PT_DESERT</planet_type>
      <filename>planets/Desert01.png</filename>
      <RPM>0.7</RPM>
      <axis_angle>0.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_DESERT</planet_type>
      <filename>planets/Desert02.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>12.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_DESERT</planet_type>
      <filename>planets/Desert03.png</filename>
      <RPM>0.8</RPM>
      <axis_angle>-6.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>



    <RotatingPlanetData>
      <planet_type>PT_TERRAN</planet_type>
      <filename>planets/Terran01.png</filename>
      <RPM>1.2</RPM>
      <axis_angle>23.0</axis_angle>
      <shininess>20.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_TERRAN</planet_type>
      <filename>planets/Terran02.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>15.0</axis_angle>
      <shininess>20.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_TERRAN</planet_type>
      <filename>planets/Terran03.png</filename>
      <RPM>0.9</RPM>
      <axis_angle>7.0</axis_angle>
      <shininess>20.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_OCEAN</planet_type>
      <filename>planets/Ocean01.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>0.0</axis_angle>
      <shininess>40.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_OCEAN</planet_type>
      <filename>planets/Ocean02.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>8.0</axis_angle>
      <shininess>40.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_OCEAN</planet_type>
      <filename>planets/Ocean03.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>17.0</axis_angle>
      <shininess>40.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_GAIA</planet_type>
      <filename>planets/Gaia.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>23.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>


    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant01.png</filename>
      <RPM>1.5</RPM>
      <axis_angle>3.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant02.png</filename>
      <RPM>0.8</RPM>
      <axis_angle>15.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant03.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>-5.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant04.png</filename>
      <RPM>1.2</RPM>
      <axis_angle>12.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant01.png</filename>
      <RPM>1.0</RPM>
      <axis_angle>18.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant02.png</filename>
      <RPM>1.5</RPM>
      <axis_angle>-3.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant03.png</filename>
      <RPM>0.6</RPM>
      <axis_angle>10.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>
    <RotatingPlanetData>
      <planet_type>PT_GASGIANT</planet_type>
      <filename>planets/GasGiant04.png</filename>
      <RPM>0.9</RPM>
      <axis_angle>0.0</axis_angle>
      <shininess>0.0</shininess>
    </RotatingPlanetData>

  </GLPlanets>
</GG::XMLDoc>

Replace \FreeOrion\default\data\art\planets\atmospheres.xml :

<?xml version="1.0"?>
<GG::XMLDoc>
  <PlanetAtmosphereData>
    <planet_filename>planets/Desert01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/yellow_atmosphere.png</filename>
        <alpha>230</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Desert02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/yellow_atmosphere.png</filename>
        <alpha>230</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Desert03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/yellow_atmosphere.png</filename>
        <alpha>230</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Gaia.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/blue_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/GasGiant01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/yellow_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/GasGiant02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/blue_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/GasGiant03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/orange_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/GasGiant04.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/green_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Inferno01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/red_atmosphere.png</filename>
        <alpha>230</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Inferno02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/red_atmosphere.png</filename>
        <alpha>230</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Inferno03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/red_atmosphere.png</filename>
        <alpha>170</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Ocean01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/purple_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Ocean02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/purple_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Ocean03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/purple_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Radiated01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/pink_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Radiated02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/pink_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Radiated03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/pink_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Swamp01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/green_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Swamp02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/green_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Swamp03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/green_atmosphere.png</filename>
        <alpha>150</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Terran01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/blue_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Terran02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/blue_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Terran03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/blue_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Toxic01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/turquoise_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Toxic02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/turquoise_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Toxic03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/turquoise_atmosphere.png</filename>
        <alpha>204</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Tundra01.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/white_atmosphere.png</filename>
        <alpha>80</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Tundra02.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/white_atmosphere.png</filename>
        <alpha>80</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>
  <PlanetAtmosphereData>
    <planet_filename>planets/Tundra03.png</planet_filename>
    <atmospheres>
      <Atmosphere>
        <filename>planets/atmospheres/white_atmosphere.png</filename>
        <alpha>80</alpha>
      </Atmosphere>
    </atmosphere>
  </PlanetAtmosphereData>


</GG::XMLDoc>