Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5354


Ignore:
Timestamp:
Dec 14, 2008, 8:15:46 PM (15 years ago)
Author:
landauf
Message:
  • added directional light to the levelfile
  • added new skybox
  • added new explosion
Location:
data/media
Files:
7 added
3 edited

Legend:

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

    r5351 r5354  
    1313  <Scene
    1414   ambientlight = "0.5, 0.5, 0.5"
    15    skybox       = "Orxonox/Starbox"
     15   skybox       = "Orxonox/skypanoramagen1"
    1616  >
     17    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
     18    <!-- This is for Orxonox/Starbox -- Light type=directional position="0,0,0" direction="0.817, -0.400, 0.415" diffuse="1.0, 0.9, 0.6, 1.0" specular="1.0, 0.9, 0.6, 1.0" /-->
     19
    1720    <SpawnPoint position="0,   0,  100"           spawnclass=SpaceShip pawndesign=spaceshipassff />
    1821    <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
    1922    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff />
    2023
    21     <GlobalShader compositor="Old TV" visible=false>
     24    <GlobalShader compositor="Bloom" visible=false>
    2225      <events>
    2326        <visibility>
  • data/media/levels/spaceshiptemplates3.oxw

    r5351 r5354  
    66   spawnparticlesource    = "Orxonox/fairytwirl"
    77   spawnparticleduration  = 3
    8    explosionchunks        = 7
     8   explosionchunks        = 6
    99
    1010   health            = 100
     
    1818    <attached>
    1919      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
    20       <!--Light position="0,0,20" diffuse="0,0,1" specular="0,0,1" type=point /-->
    2120      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
    2221      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
    23       <!--ParticleEmitter position="0,0,-100" source="Orxonox/smoke5" /-->
    2422    </attached>
    2523  </SpaceShip>
     
    3028    <camerapositions>
    3129      <CameraPosition position="0,10,40" />
     30      <CameraPosition position="0,20,80" />
    3231      <CameraPosition position="0,150,-25" pitch=-90 />
    3332      <CameraPosition position="0,0,-30" yaw=180 />
     
    5655    <active>
    5756      <FadingBillboard mainstate=activity active=false scale=0.1 position="0, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     57      <Light mainstate=visibility position=" 8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
     58      <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
    5859    </active>
    5960    <forward>
  • data/media/materials/scripts/OrxonoxSky.material

    r5313 r5354  
     1material Orxonox/skypanoramagen1
     2{
     3        technique
     4        {
     5                pass
     6                {
     7                        lighting off
     8                        depth_write off
     9
     10                        texture_unit
     11                        {
     12                                cubic_texture skypanoramagen1.jpg separateUV
     13                                tex_address_mode clamp
     14                        }
     15                }
     16        }
     17}
     18
    119material Orxonox/Starbox
    220{
Note: See TracChangeset for help on using the changeset viewer.