<world>
    <renderpriorities>
        <priority name="starLevel1">
            <level>1</level>
            <sort>NONE</sort>
        </priority>
        <priority name="starLevel2">
            <level>2</level>
            <sort>NONE</sort>
        </priority>
        <priority name="object">
            <level>3</level>
            <sort>NONE</sort>
        </priority>
        <priority name="alpha">
            <level>4</level>
            <sort>BACK2FRONT</sort>
        </priority>
    </renderpriorities>
    <plugins>
        <plugin name="thing">crystalspace.mesh.loader.thing</plugin>
        <plugin name="stars">crystalspace.mesh.loader.stars</plugin>
        <plugin name="ball">crystalspace.mesh.loader.ball</plugin>
        <plugin name="spr2d">crystalspace.mesh.loader.sprite.2d</plugin>
        <plugin name="spr3d">crystalspace.mesh.loader.sprite.3d</plugin>
        <plugin name="fire">crystalspace.mesh.loader.fire</plugin>
        <plugin name="starsFact">crystalspace.mesh.loader.factory.stars</plugin>
    </plugins>
    <meshfact name="starFact">
        <plugin>starsFact</plugin>
        <params />
    </meshfact>
    <sector name="room">
        <meshobj name="walls">
            <plugin>thing</plugin>
            <priority>starLevel1</priority>
            <znone />
            <camera />
            <params>
                <v x="-500" y="-500" z="-500" />
                <v x="500" y="-500" z="-500" />
                <v x="-500" y="-500" z="500" />
                <v x="500" y="-500" z="500" />
                <v x="-500" y="500" z="-500" />
                <v x="500" y="500" z="-500" />
                <v x="-500" y="500" z="500" />
                <v x="500" y="500" z="500" />
                <p name="d">
                    <material>nebula_d</material>
                    <lighting>no</lighting>
                    <v>2</v>
                    <v>3</v>
                    <v>1</v>
                    <v>0</v>
                    <texmap>
                        <orig x="503.906" y="-500" z="-503.906" />
                        <first x="-503.906" y="-500" z="-500" />
                        <firstlen>1007.81</firstlen>
                        <second x="500" y="-500" z="503.906" />
                        <secondlen>1007.81</secondlen>
                    </texmap>
                </p>
                <p name="u">
                    <material>nebula_u</material>
                    <lighting>no</lighting>
                    <v>4</v>
                    <v>5</v>
                    <v>7</v>
                    <v>6</v>
                    <texmap>
                        <orig x="-503.906" y="500" z="-503.906" />
                        <first x="503.906" y="500" z="-500" />
                        <firstlen>1007.81</firstlen>
                        <second x="-500" y="500" z="503.906" />
                        <secondlen>1007.81</secondlen>
                    </texmap>
                </p>
                <p name="f">
                    <material>nebula_f</material>
                    <lighting>no</lighting>
                    <v>6</v>
                    <v>7</v>
                    <v>3</v>
                    <v>2</v>
                    <texmap>
                        <orig x="-503.906" y="503.906" z="500" />
                        <first x="503.906" y="500" z="500" />
                        <firstlen>1007.81</firstlen>
                        <second x="-500" y="-503.906" z="500" />
                        <secondlen>1007.81</secondlen>
                    </texmap>
                </p>
                <p name="r">
                    <material>nebula_r</material>
                    <lighting>no</lighting>
                    <v>7</v>
                    <v>5</v>
                    <v>1</v>
                    <v>3</v>
                    <texmap>
                        <orig x="500" y="503.906" z="503.906" />
                        <first x="500" y="500" z="-503.906" />
                        <firstlen>1007.81</firstlen>
                        <second x="500" y="-503.906" z="500" />
                        <secondlen>1007.81</secondlen>
                    </texmap>
                </p>
                <p name="l">
                    <material>nebula_l</material>
                    <lighting>no</lighting>
                    <v>4</v>
                    <v>6</v>
                    <v>2</v>
                    <v>0</v>
                    <texmap>
                        <orig x="-500" y="503.906" z="-503.906" />
                        <first x="-500" y="500" z="503.906" />
                        <firstlen>1007.81</firstlen>
                        <second x="-500" y="-503.906" z="-500" />
                        <secondlen>1007.81</secondlen>
                    </texmap>
                </p>
                <p name="b">
                    <material>nebula_l</material>
                    <lighting>no</lighting>
                    <v>5</v>
                    <v>4</v>
                    <v>0</v>
                    <v>1</v>
                    <texmap>
                        <orig x="503.906" y="503.906" z="-500" />
                        <first x="-503.906" y="500" z="-500" />
                        <firstlen>1007.81</firstlen>
                        <second x="500" y="-503.906" z="-500" />
                        <secondlen>1007.81</secondlen>
                    </texmap>
                </p>
            </params>
        </meshobj>
        <meshobj name="stars">
            <plugin>thing</plugin>
            <priority>starLevel2</priority>
            <znone />
            <camera />
            <params>
                <v x="-200" y="-200" z="-200" />
                <v x="200" y="-200" z="-200" />
                <v x="-200" y="-200" z="200" />
                <v x="200" y="-200" z="200" />
                <v x="-200" y="200" z="-200" />
                <v x="200" y="200" z="-200" />
                <v x="-200" y="200" z="200" />
                <v x="200" y="200" z="200" />
                <material>stars</material>
                <p name="d">
                    <lighting>no</lighting>
                    <v>2</v>
                    <v>3</v>
                    <v>1</v>
                    <v>0</v>
                    <texmap>
                        <orig x="201.563" y="-200" z="-201.563" />
                        <first x="-201.563" y="-200" z="-200" />
                        <firstlen>201.563</firstlen>
                        <second x="200" y="-200" z="201.563" />
                        <secondlen>201.563</secondlen>
                    </texmap>
                </p>
                <p name="u">
                    <lighting>no</lighting>
                    <v>4</v>
                    <v>5</v>
                    <v>7</v>
                    <v>6</v>
                    <texmap>
                        <orig x="-201.563" y="200" z="-201.563" />
                        <first x="201.563" y="200" z="-200" />
                        <firstlen>201.563</firstlen>
                        <second x="-200" y="200" z="201.563" />
                        <secondlen>201.563</secondlen>
                    </texmap>
                </p>
                <p name="f">
                    <lighting>no</lighting>
                    <v>6</v>
                    <v>7</v>
                    <v>3</v>
                    <v>2</v>
                    <texmap>
                        <orig x="-201.563" y="201.563" z="200" />
                        <first x="201.563" y="200" z="200" />
                        <firstlen>201.563</firstlen>
                        <second x="-200" y="-201.563" z="200" />
                        <secondlen>201.563</secondlen>
                    </texmap>
                </p>
                <p name="r">
                    <lighting>no</lighting>
                    <v>7</v>
                    <v>5</v>
                    <v>1</v>
                    <v>3</v>
                    <texmap>
                        <orig x="200" y="201.563" z="201.563" />
                        <first x="200" y="200" z="-201.563" />
                        <firstlen>201.563</firstlen>
                        <second x="200" y="-201.563" z="200" />
                        <secondlen>201.563</secondlen>
                    </texmap>
                </p>
                <p name="l">
                    <lighting>no</lighting>
                    <v>4</v>
                    <v>6</v>
                    <v>2</v>
                    <v>0</v>
                    <texmap>
                        <orig x="-200" y="201.563" z="-201.563" />
                        <first x="-200" y="200" z="201.563" />
                        <firstlen>201.563</firstlen>
                        <second x="-200" y="-201.563" z="-200" />
                        <secondlen>201.563</secondlen>
                    </texmap>
                </p>
                <p name="b">
                    <lighting>no</lighting>
                    <v>5</v>
                    <v>4</v>
                    <v>0</v>
                    <v>1</v>
                    <texmap>
                        <orig x="201.563" y="201.563" z="-200" />
                        <first x="-201.563" y="200" z="-200" />
                        <firstlen>201.563</firstlen>
                        <second x="200" y="-201.563" z="-200" />
                        <secondlen>201.563</secondlen>
                    </texmap>
                </p>
		<mixmode>
		    <add />
		</mixmode>
            </params>
        </meshobj>
        <light>
            <center x="-500" y="300" z="900" />
            <radius>1e+006</radius>
            <color red="1" green="1" blue="1" />
            <halo>
                <type>flare</type>
                <centermaterial>flare_center</centermaterial>
                <spark1material>flare_spark1</spark1material>
                <spark2material>flare_spark2</spark2material>
                <spark3material>flare_spark3</spark3material>
                <spark4material>flare_spark4</spark4material>
                <spark5material>flare_spark5</spark5material>
            </halo>
        </light>
        <meshobj name="starbox">
            <plugin>stars</plugin>
            <znone />
            <priority>starLevel2</priority>
            <nolighting />
            <noshadows />
            <params>
                <factory>starFact</factory>
                <box>
                    <min x="-500" y="-500" z="-500" />
                    <max x="500" y="500" z="500" />
                </box>
                <density>0.0001</density>
                <maxdistance>100</maxdistance>
                <color red="0.9" green="0.9" blue="0.9" />
                <maxcolor red="0" green="0" blue="0" />
            </params>
        </meshobj>
        <meshobj name="Saturn">
            <plugin>ball</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>ball_factory</factory>
                <material>saturn</material>
                <cylindrical>yes</cylindrical>
                <numrim>16</numrim>
                <radius x="50" y="50" z="50" />
            </params>
        </meshobj>
        <meshobj name="Jupiter">
            <plugin>ball</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>ball_factory</factory>
                <material>jupiter</material>
                <cylindrical>yes</cylindrical>
                <numrim>16</numrim>
                <radius x="50" y="50" z="50" />
            </params>
        </meshobj>
        <meshobj name="Earth">
            <plugin>ball</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>ball_factory</factory>
                <material>earth</material>
                <cylindrical>yes</cylindrical>
                <numrim>16</numrim>
                <radius x="25" y="25" z="25" />
            </params>
        </meshobj>
        <meshobj name="Clouds">
            <plugin>ball</plugin>
            <zuse />
            <priority>alpha</priority>
            <params>
                <factory>ball_factory</factory>
                <material>earthclouds</material>
                <cylindrical>yes</cylindrical>
                <numrim>16</numrim>
                <radius x="27.5" y="27.5" z="27.5" />
                <mixmode>
                    <add />
                </mixmode>
            </params>
        </meshobj>
        <meshobj name="Fighter1">
            <plugin>spr3d</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>fighter</factory>
                <basecolor red="0.15" green="0.15" blue="0.15" />
            </params>
            <meshobj name="FighterTail1">
                <plugin>fire</plugin>
                <ztest />
                <paramsfile>/data/demo/objects/fightertail</paramsfile>
            </meshobj>
        </meshobj>
        <meshobj name="Fighter2">
            <plugin>spr3d</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>fighter</factory>
                <basecolor red="0.15" green="0.15" blue="0.15" />
            </params>
            <meshobj name="FighterTail2">
                <plugin>fire</plugin>
                <ztest />
                <paramsfile>/data/demo/objects/fightertail</paramsfile>
            </meshobj>
        </meshobj>
        <meshobj name="Shuttle">
            <plugin>spr3d</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>shuttle</factory>
                <basecolor red="0.15" green="0.15" blue="0.15" />
            </params>
            <meshobj name="ShuttleTail">
                <plugin>fire</plugin>
                <ztest />
                <paramsfile>/data/demo/objects/shuttletail</paramsfile>
            </meshobj>
        </meshobj>
        <meshobj name="Shuttle2">
            <plugin>spr3d</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>th_ship</factory>
                <basecolor red="0.15" green="0.15" blue="0.15" />
            </params>
            <meshobj name="ShuttleTail2">
                <plugin>fire</plugin>
                <ztest />
                <paramsfile>/data/demo/objects/shuttletail2</paramsfile>
            </meshobj>
        </meshobj>
        <meshobj name="LaserBeam1">
            <plugin>spr3d</plugin>
            <ztest />
            <priority>alpha</priority>
            <params>
                <factory>laser</factory>
                <basecolor red="0.1" green="0.1" blue="0.1" />
                <mixmode>
                    <add />
                </mixmode>
                <lighting>no</lighting>
            </params>
        </meshobj>
        <meshobj name="LaserBeam2">
            <plugin>spr3d</plugin>
            <ztest />
            <priority>alpha</priority>
            <params>
                <factory>laser</factory>
                <basecolor red="0.1" green="0.1" blue="0.1" />
                <mixmode>
                    <add />
                </mixmode>
                <lighting>no</lighting>
            </params>
        </meshobj>
        <meshobj name="LaserBeam3">
            <plugin>spr3d</plugin>
            <ztest />
            <priority>alpha</priority>
            <params>
                <factory>laser</factory>
                <basecolor red="0.1" green="0.1" blue="0.1" />
                <mixmode>
                    <add />
                </mixmode>
                <lighting>no</lighting>
            </params>
        </meshobj>
        <meshobj name="Station2">
            <plugin>spr3d</plugin>
            <zuse />
            <priority>object</priority>
            <params>
                <factory>station</factory>
            </params>
        </meshobj>
        <meshobj name="PhotonTorpedo1">
            <plugin>spr2d</plugin>
            <ztest />
            <priority>alpha</priority>
            <params>
                <factory>photonTorpedo</factory>
                <v x="0" y="3" />
                <v x="3" y="0" />
                <v x="0" y="-3" />
                <v x="-3" y="0" />
                <uv u="0.5" v="1" />
                <uv u="1" v="0.5" />
                <uv u="0.5" v="0" />
                <uv u="0" v="0.5" />
                <color red="1" green="1" blue="1" />
                <color red="1" green="1" blue="1" />
                <color red="1" green="1" blue="1" />
                <color red="1" green="1" blue="1" />
            </params>
        </meshobj>
        <meshobj name="PhotonTorpedo2">
            <plugin>spr2d</plugin>
            <ztest />
            <priority>alpha</priority>
            <params>
                <factory>photonTorpedo</factory>
                <v x="0" y="3" />
                <v x="3" y="0" />
                <v x="0" y="-3" />
                <v x="-3" y="0" />
                <uv u="0.5" v="1" />
                <uv u="1" v="0.5" />
                <uv u="0.5" v="0" />
                <uv u="0" v="0.5" />
                <color red="1" green="1" blue="1" />
                <color red="1" green="1" blue="1" />
                <color red="1" green="1" blue="1" />
                <color red="1" green="1" blue="1" />
            </params>
        </meshobj>
    </sector>
</world>
