Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 61 and Version 62 of content/LevelHowTo


Ignore:
Timestamp:
Sep 8, 2015, 6:26:49 PM (4 years ago)
Author:
fvultier
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v61 v62  
    158158    </templates>
    159159    <controller>
    160         <WaypointPatrolController accuracy=10 team=3>
     160        <WaypointController accuracy=10 team=3>
    161161            <waypoints>
    162162                <Model mesh="cube.mesh" scale=8 position="300,0,0" />
     
    165165                <StaticEntity position="0,0,0" />
    166166            </waypoints>
    167         </WaypointPatrolController>
     167        </WaypointController>
    168168    </controller>
    169169</SpaceShip>
     
    244244
    245245Have a look at "myTestLevel.oxw" and "SpaceBoundaries.h", to see how space boundaries work in detail.
     246
     247
     248== Backlight ==
     249Backlights are a simple light source in a level. You can specify the colour and size of the light.
     250{{{
     251#!xml
     252<Backlight position="0,0,0" scale=1.5 colour="0.9, 0.4, 0.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
     253}}}
     254
     255== ParticleEmitter ==
     256Particle emitters are WorldEntities that run a particle effect. Define their position using the "position" attribute. The "source" attribute defines which particle effect is executed. All Orxonox particel effects are stored in the data/particle folder.
     257{{{
     258#!xml
     259<ParticleEmitter scale=5 position="100, 0, 0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 />
     260}}}
     261Take a look at the classes ParticleEmitter and ParticleSpawner to learn more about how particel effects work in Orxonox.
    246262
    247263== Planets ==