Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5288 for data


Ignore:
Timestamp:
Nov 26, 2008, 3:21:46 PM (16 years ago)
Author:
runom
Message:

added necessary files for planet

Location:
data/media
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/planettest.oxw

    r5259 r5288  
    1 <Ambient colourvalue="0.8, 0.8, 0.8" />
    2 <Skybox src="Orxonox/Starbox" />
    3 <SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
    4 <Planet position="25000,5000,0" scale="1000" mesh="planet.mesh" yawpitchroll="0,0,0" rotationAxis="1,0,0" rotationRate="0"/>
    5 <Planet position="50000,5000,0" scale="1000" mesh="planet.mesh" yawpitchroll="0,0,0" rotationAxis="1,0,0" rotationRate="0"/>
    6 <Planet position="100000,5000,0" scale="1000" mesh="planet.mesh" yawpitchroll="0,0,0" rotationAxis="1,0,0" rotationRate="0"/>
    7 <Planet position="200000,5000,0" scale="1000" mesh="planet.mesh" yawpitchroll="0,0,0" rotationAxis="1,0,0" rotationRate="0"/>
     1<?lua
     2  include("levels/hudtemplates.oxw")
     3?>
     4
     5<?lua
     6  include("levels/spaceshiptemplates.oxw")
     7?>
     8
     9<Level
     10 name         = "Sample"
     11 description  = "Just a few tests"
     12>
     13  <Scene
     14   ambientlight = "0.5, 0.5, 0.5"
     15   skybox       = "Orxonox/Starbox"
     16  >
     17
     18    <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
     19      <events>
     20        <spawn>
     21          <EventTrigger delay=1>
     22            <events>
     23              <trigger>
     24                <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
     25              </trigger>
     26            </events>
     27          </EventTrigger>
     28        </spawn>
     29      </events>
     30    </ParticleSpawner>
     31
     32
     33    <Planet position="0,0,-5001" scale=1000 mesh="earth.mesh" shadow=true atmospheresize=224.0f imagesize=1024.0f />
     34    <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" />
     35
     36  </Scene>
     37</Level>
  • data/media/materials/scripts/planet.material

    r5196 r5288  
    99                        diffuse 0.800000 0.800000 0.800000 1.000000
    1010                        emissive 0.000000 0.000000 0.000000 1.000000
     11
    1112                        texture_unit
    1213                        {
    13                                 texture planet.jpg
     14                                texture planet1024.jpg
    1415                                colour_op modulate
    1516                        }
     
    2425        }
    2526}
     27
     28
     29material planet/Atmosphere
     30{
     31        technique
     32        {
     33                pass
     34                {
     35                        lighting off
     36                        scene_blend alpha_blend
     37                        depth_check on
     38                       
     39                        lod_index 0
     40                        texture_unit
     41                        {
     42                                texture atmospheretype3.tga
     43                        }                       
     44                }
     45        }
     46}
     47
     48
     49
Note: See TracChangeset for help on using the changeset viewer.