Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/bin/levels/sample.oxw @ 565

Last change on this file since 565 was 565, checked in by scheusso, 16 years ago

added class BaseEntity:

  • !!! please inherit from this class in future (instead of Entity/WorldEntity/BaseObject):
  • this class is able to be synchronised over the network (or at least created so far)
File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<orxonoxworld name="Orxonox sample level" image="textures/menu/moonstation_512x512.jpg">
3        <description>
4                This is an orxonox sample level.
5        </description>
6
7        <loading>
8                <background color="000000" image="textures/load_screens/ambush.png" />
9                <bar top="200" left="50" width="300" height="20" image="textures/load_screens/ambush-loadbar.png" />
10        </loading>
11
12        <audio>
13
14        </audio>
15
16    <!-- Keep a minimum distance of >100 to the object, otherwise the camara thinks it's in the object -->
17    <!-- the value has to negative, as we want the camara behind the object -->
18        <world>
19
20                <SceneNode name="OgreHeadNode" pos="0,0,0" />
21
22                <Camera name="Camera" pos="0,0,-150" lookat="0,0,0" node="OgreHeadNode" />
23
24                <Ambient colourvalue="1,1,1" />
25
26                <Skybox src="Orxonox/BlueStarSkyBox" />
27
28                <BaseEntity name="ASSF" src="assf2.mesh" node="OgreHeadNode" />
29
30                <SceneNode name="Ogre1" pos="0,200,0" />
31                <Entity name="head1" src="ogrehead.mesh" node="Ogre1" />
32
33                <SceneNode name="Ogre2" pos="200,0,0" />
34                <Entity name="head2" src="ogrehead.mesh" node="Ogre2" />
35
36                <SceneNode name="Ogre3" pos="0,0,200" />
37                <Entity name="head3" src="ogrehead.mesh" node="Ogre3" />
38
39
40        </world>
41
42<!-- Unused at the moment -->
43                <SpaceshipSteeringObject node="OgreHeadNode" forward="500" rotateupdown="200" rotaterightleft="200" looprightleft="200" />
44
45
46
47        <scripts>
48                <script file="intro.lua" />
49        </scripts>
50</orxonoxworld>
Note: See TracBrowser for help on using the repository browser.