Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/planetLevelHS15/data/levels/skyboxTeleport.oxw @ 11064

Last change on this file since 11064 was 10756, checked in by luhug, 9 years ago

Changed flightTest.oxw to skyboxTeleport.oxw. Added a skybox to the level.

File size: 2.7 KB
Line 
1<LevelInfo
2 name = "Skybox Teleport"
3 description = "Fly into the planet. Get teleported into a skybox"
4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/spaceshipEscort.oxt")
18  include("templates/spaceshipRing.oxt")
19  include("templates/spaceshipSwallow.oxt")
20?>
21
22<Level>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27<Template name=PortalDefault>
28    <PortalEndPoint>
29        <attached>
30            <Model mesh="Spacegate.mesh" yaw="90"/>
31        </attached>
32    </PortalEndPoint>
33</Template>
34
35<Template name=PortalBig>
36    <PortalEndPoint>
37        <attached>
38            <Billboard material="Portals/Big" />
39        </attached>
40    </PortalEndPoint>
41</Template>
42  <Scene
43    ambientlight = "10, 10, 10"
44    skybox       = "Orxonox/Starbox"
45  >
46
47<!--    <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"/> -->
48    <SpawnPoint team=0 position="0,0,0" lookat="0,90000,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
49   
50    <Planet
51      position="0,30000,0"
52      scale="20000"
53      collisionType="dynamic"
54      linearDamping="0.8"
55      angularDamping="0"
56      mass="5.9e21"
57      pitch="0"
58      mesh="planets/earth.mesh"
59      atmosphere="atmosphere1"
60      rotationaxis="0,1,0"
61      rotationrate="0.2"
62      atmospheresize="80.0f"
63      imagesize="1024.0f"
64      collisiondamage= 2
65      enablecollisiondamage= false
66    >
67      <attached>
68    <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
69      <PortalEndPoint id="2" distance="20000" target="Pawn" design="PortalEndPoint"/>
70      </attached>
71      <collisionShapes>
72    <SphereCollisionShape radius="10" position="0,0,0" />
73      </collisionShapes>
74    </Planet>
75
76
77
78<StaticEntity position="0,1000000,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
79    <attached>
80        <Model position="0,0,0" mesh="skyboxHoenggerberg.mesh" scale3D="100000,100000,100000" lodLevel="0"/>
81        <PortalEndPoint position="0,0,0" id="1" distance="40" target="Pawn" design="PortalDefault"/>
82        <Light type="point" position="0,0,0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
83    </attached>
84</StaticEntity>
85
86
87
88
89
90
91<PortalEndPoint position="1000,0,0" id="3" distance="40" target="Pawn" design=""/>
92
93<PortalLink fromID="1" toID="3" />
94<PortalLink fromID="2" toID="1" />  
95
96
97  </Scene>
98
99
100</Level>
101
Note: See TracBrowser for help on using the repository browser.