Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/gametype_underattack.oxw @ 5501

Last change on this file since 5501 was 5487, checked in by mockm, 15 years ago

level file for gametype UnderAttack

File size: 2.0 KB
Line 
1<?lua
2  include("levels/hudtemplates3.oxw")
3  include("overlay/stats.oxo")
4  include("levels/spaceshiptemplates_presentation.oxw")
5?>
6
7<Level
8 name         = "UnderAttack testing"
9 description  = "A simple testlevel"
10 gametype     = UnderAttack
11>
12  <Scene
13   ambientlight = "0.5, 0.5, 0.5"
14   skybox       = "Orxonox/skypanoramagen1"
15  >
16    <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" />
17
18
19        <Destroyer
20     position          = "0,0,150"
21     collisionType     = dynamic
22     mass              = 100
23     velocity          = "50,50,0"
24        >
25<!--
26     linearDamping     = 0.7
27     angularDamping    = 0.9999999
28-->
29          <attached>
30            <?lua
31            for i = 1, 10, 1
32            do ?>
33            <SpawnPoint position="<?lua print(math.random() * 50 - 25) ?>,<?lua print(math.random() * 50 - 25) ?>,<?lua print(100 + math.random() * 50 - 25) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
34            <?lua end ?>
35            <Model mesh="Carrier.mesh" scale="1" />
36            <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
37           </attached>     
38            <collisionShapes>
39                <SphereCollisionShape radius="30" />
40            </collisionShapes>
41        </Destroyer>
42
43    <GlobalShader compositor="Bloom" visible=false>
44      <events>
45        <visibility>
46          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
47        </visibility>
48      </events>
49    </GlobalShader>
50
51    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
52    <StaticEntity position="0,0,0" collisionType=static>
53      <collisionShapes>
54        <SphereCollisionShape radius="20" />
55      </collisionShapes>
56    </StaticEntity>
57  </Scene>
58</Level>
Note: See TracBrowser for help on using the repository browser.