Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/scriptController.oxw @ 11946

Last change on this file since 11946 was 10622, checked in by landauf, 9 years ago

merged branch presentationFS15merge back to trunk

  • Property svn:eol-style set to native
File size: 2.0 KB
RevLine 
[10012]1<!-- First levelFile of mkronig and samuezu. It was copied from dockingToASpaceStation.oxw and modified a little bit -->
2<LevelInfo
[10622]3 name = "Scriptable Controller"
4 description = "Showcase for Scriptable Controller"
[10012]5 tags = "showcase"
6 screenshot = "emptylevel.png"
7/>
8
9<?lua
10  include("stats.oxo")
11  include("HUDTemplates3.oxo")
12  include("templates/lodInformation.oxt")
13?>
14
15<?lua
16  include("templates/spaceshipEscort.oxt")
17?>
18
19<Level
20  gametype = Deathmatch
21>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25
26  <Scene
27    ambientlight = "0.5, 0.5, 0.5"
28    skybox       = "Orxonox/Starbox"
29    negativeWorldRange = "-100000, -100000, -100000"
30    positiveWorldRange = " 100000,  100000,  100000"
31    gravity      = "0,0,0"
32    hasPhysics   = true
33  >
34
[10622]35    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0,1.0,1.0,0.5" specular="1.0, 0.9, 0.9, 1.0"/>
[10012]36
37    <SpawnPoint team=0 position="3200,0,0" lookat="2800,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
38
[10622]39    <Billboard position="2500,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=10 />
40    <DistanceTrigger position="2500,0,0" distance="200" target="Pawn"
41      beaconMode="exclude" targetname="bcnDestroyer" name="takeControl"
[10012]42    />
43
[10622]44    <StaticEntity position  = "2000,500,2000" mass=10000 collisionType=static >
[10012]45      <attached>
[10622]46        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=10 />
[10012]47      </attached>
[10622]48    </StaticEntity>
[10012]49
[10622]50    <StaticEntity position  = "-1000,3000,-1000" mass=10000 collisionType=static >
[10012]51      <attached>
[10622]52        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=80 />
[10012]53      </attached>
[10622]54    </StaticEntity>
[10012]55
[10622]56<!-- ControllerDirector waits for the event takeControl to attach a new Controller -->
57    <ControllerDirector position="0,0,0" scriptname="presentation">
58        <events>
59            <takeControl>
60                <EventListener event="takeControl" />
61            </takeControl>
62        </events>
63    </ControllerDirector>
[10012]64
65  </Scene>
66</Level>
67
Note: See TracBrowser for help on using the repository browser.