Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/mylevel.oxw @ 7031

Last change on this file since 7031 was 7007, checked in by dafrick, 14 years ago

Tested and cleaned all levels (except for the ones that someone is working on at the moment).
Two levels had old Pickups in them, they have been updated to work properly now.
All levels except one are working. The one that isn't is the presentationHS09b level, which crashes due to LOD.

File size: 4.2 KB
RevLine 
[6920]1<?lua
[7007]2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4  include("underattackhud.oxo")
5  include("templates/spaceship_assff.oxt")
6  include("templates/spaceship_pirate.oxt")
7  include("templates/spaceship_Transporter.oxt")
[6920]8?>
9
10<Template name=spaceshipassffplayer>
11  <SpaceShip
12   hudtemplate            = spaceshiphud
13   camerapositiontemplate = spaceshipassffcameras
14   engine                 = spaceshipassffengine
15   spawnparticlesource    = "Orxonox/fairytwirl"
16   spawnparticleduration  = 3
17   explosionchunks        = 6
18
19   health            = 100
20   maxhealth         = 200
21   initialhealth     = 100
22
23   primaryThrust     = 100;
24   auxilaryThrust    = 30;
25   rotationThrust    = 25;
26
27   collisionType     = "dynamic"
28   mass              = 100
29   linearDamping     = 0.7
30   angularDamping    = 0.9999999
31  >
32    <attached>
33      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
34      <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 />
35      <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 />
36      <DistanceTriggerBeacon name="test" />
37    </attached>
38    <collisionShapes>
39      <BoxCollisionShape position="0,0,0"      halfExtents="10, 3, 5" />
40      <BoxCollisionShape position="13,-1.3,0"  halfExtents="3, 1, 2" />
41      <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" />
42      <BoxCollisionShape position="0,0,7"      halfExtents="3, 2, 2" />
43      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
44      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
45    </collisionShapes>
[7007]46
47    <?lua
48      include("includes/weaponsettings3.oxi")
49    ?>
[6920]50  </SpaceShip>
51</Template>
52
53<!-- Ausgang: Level ===> name/description -->
54<Level
55  name="Level"
56  description="Level zerstoeren von Transportern"
57  gametype=TeamDeathmatch
58>
59
[7007]60  <!-- Ausgang: Szene ===> ambientlight/skybox -->
61  <Scene
62    ambientlight="0.8,0.8,0.8"
63    skybox="Orxonox/skypanoramagen1"
64  >
[6920]65
[7007]66    <!--Light: noch zu aendern -->
67    <Light type=directional position="0,0,0" direction="1000, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 1.0, 0.9" />
[6920]68
[7007]69    <SpawnPoint position="0,0,0" direction="1000,0,0" spawnclass=SpaceShip pawndesign=spaceshipassffplayer team=0/>
[6920]70
71<!--
[7007]72    <EventTrigger name="testdestroy" activations=1 stayactive="true">
73      <events>
74        <trigger>
75          <SpaceShip position="2000,0,3000" lookat="0,0,0" team=1>
76            <templates>
77              <Template link=spaceshippirate/>
78            </templates>
79            <controller>
80              <AIController activity="false"/>
81            </controller>
82          </SpaceShip>
83        </trigger>
84      </events>
85    </EventTrigger>
[6920]86-->
87
[7007]88    <SpaceShip position="1000,0,200" lookat="0,0,0">
89      <templates>
90        <Template link=spaceshipassff/>
91      </templates>
92      <controller>
93        <AIController active="false"/>
94      </controller>
95    </SpaceShip>
[6920]96
[7007]97    <DistanceTrigger name="triggername" position="1000,0,0" distance="500" target="DistanceTriggerBeacon" targetname="test" activations=1 stayactive="true" />
[6920]98
[7007]99    <SpaceShip position="1000,0,0" lookat="2000,0,0" >
100      <templates>
101        <Template link=spaceshipassff />
102      </templates>
103      <controller>
104        <WaypointPatrolController alertnessradius=5000 team=0 active="false" >
105          <waypoints>
106            <Model mesh="cube.mesh" scale=0 position="2000,0,0" />
107          </waypoints>
108          <events>
109            <activity>
110              <EventListener event="triggername" />
111            </activity>
112          </events>
113        </WaypointPatrolController>
114      </controller>
115    </SpaceShip>
[6920]116
117<!-- ZUM ERSTELLEN DER DESTROYTRIGGER
[7007]118    <EventTrigger name="triggername" activations=1 stayactive=true >
119      <events>
120        <trigger>
121          <Spaceship />
122        </trigger>
123      </events>
124    </EventTrigger>
[6920]125
[7007]126    <Spaceship>
127      <controller>
128        <SomeController activity="false">
129          <events>
130            <activity>
131              <EventListener event="triggername" />
132            </activity>
133          </events>
134        </SomeController>
135      </controller>
136    </Spacehip>
137-->
[6920]138
[7007]139  </Scene>
140</Level>
Note: See TracBrowser for help on using the repository browser.