Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw @ 12329

Last change on this file since 12329 was 12329, checked in by pomselj, 5 years ago

new, better camera

File size: 4.3 KB
RevLine 
[12215]1<LevelInfo
[12264]2 name = "OrxoBlox"
[12215]3 description = "A clone version of the BBTAN game."
4 tags = "minigame"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
[12256]9  include("HUDTemplates3.oxo")
[12215]10  include("stats.oxo")
[12268]11  include("OrxoBloxHUD.oxo")
[12215]12  include("templates/lodInformation.oxt")
13?>
14
[12314]15<?lua
16  include("templates/spaceshipAssff2.oxt")
17  include("templates/spaceshipPirate.oxt")
[12329]18  include("templates/spaceshipAsteroids2D.oxt")
[12314]19  include("templates/spaceshipOrxoBlox.oxt")
20  include("templates/enemyInvader.oxt")
21  include("overlays/Asteroids2DHUD.oxo")
22  include("templates/asteroidsAsteroids2D.oxt")
23?>
24
[12268]25<Template name=OrxoBloxbatcameras defaults=0>
26  <OrxoBloxBat>
[12256]27    <camerapositions>
28      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
29      <CameraPosition position="0,50,160" drag=true mouselook=true />
30      <CameraPosition position="0,40,125" drag=true mouselook=true />
31      <CameraPosition position="0,30, 90" drag=true mouselook=true />
32    </camerapositions>
[12268]33  </OrxoBloxBat>
[12256]34</Template>
[12215]35
[12268]36<Template name=OrxoBloxball>
37  <OrxoBloxBall
[12256]38   defScoreSound = "sounds/PlayerWinScore_cut.ogg"
39   defBatSound = "sounds/Button.ogg"
40   defBoundarySound = "sounds/Button.ogg">
41    <attached>
42      <Model mesh="sphere.mesh" scale=2 />
43      <!--Billboard scale=0.2 colour="1.0, 1.0, 0.5" material="Examples/Flare" /-->
44      <Backlight scale=0.2 colour="1.0, 1.0, 0.5" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" />
45      <Light type=point diffuse="1.0, 1.0, 0.5" specular="1.0, 1.0, 0.5" attenuation="1200, 1.0, 0.0035, 0.00005" />
46      <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn />
47    </attached>
48    <eventlisteners>
49      <EventTarget target=hiteffect />
50    </eventlisteners>
[12268]51  </OrxoBloxBall>
[12256]52</Template>
53
[12328]54<Template name=OrxoBloxStonescameras defaults=0>
55    <OrxoBloxStones>
56      <camerapositions>
57        <CameraPosition position="55,75,200" absolute=true />
58      </camerapositions>
59    </OrxoBloxStones>
60  </Template>
61 
62  <Template name=OrxoBloxstone>
63    <OrxoBloxStones camerapositiontemplate=OrxoBloxStonescameras >
64      <attached>
65        <Model position="0,0,0" mesh="CuboidBody.mesh" scale=4.5 />
66        <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 />
67      </attached>
68    </OrxoBloxStones>
69  </Template>
70 
71  <Template name=OrxoBloxWallcameras defaults=0>
72    <OrxoBloxWall>
73      <camerapositions>
74        <CameraPosition position="55,75,200" absolute=true />
75        <!--CameraPosition position="0,50,160" drag=true mouselook=true />
76        <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true /-->
77      </camerapositions>
78    </OrxoBloxWall>
79  </Template>
80 
81  <Template name=OrxoBloxwall>
82    <OrxoBloxWall camerapositiontemplate=OrxoBloxWallcameras>
83    </OrxoBloxWall>
84  </Template>
[12307]85
86
[12264]87<Level
[12269]88  plugins = "OrxoBlox"
89 gametype = "OrxoBlox"
[12264]90>
[12256]91
92 <templates>
[12215]93    <Template link=lodtemplate_default />
94  </templates>
95  <?lua include("includes/notifications.oxi") ?>
96
[12256]97  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
[12278]98 
[12256]99
[12215]100  <Scene
[12256]101   ambientlight = "0.5, 0.5, 0.5"
102   skybox       = "Orxonox/skyBoxBasic"
[12215]103  >
[12310]104    <!-- <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"/> -->
105    <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
[12329]106    <SpawnPoint team=0 position="0,150,0" lookat="0,0,0" spawnclass= OrxoBloxShip pawndesign=spaceshipasteroids2d/>
[12215]107
[12310]108    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
[12215]109
[12310]110
[12328]111    <MovableEntity rotationrate=0 rotationaxis="0,0,1">
[12256]112      <attached>
[12328]113          <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25 StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall>
[12256]114          <attached>
[12277]115            <!-- Balken die das Spielfeld begrenzen. -->
116            <Model position="0,0,-50" mesh="cube.mesh" scale3D="60,1,1" />
117            <Model position="60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
118            <Model position="-60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
[12256]119          </attached>
[12268]120        </OrxoBloxCenterpoint>
[12256]121      </attached>
[12310]122    </MovableEntity>   
[12215]123  </Scene>
124</Level>
125
Note: See TracBrowser for help on using the repository browser.