Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

BallProjectiles fly

File size: 3.6 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
[12370]9 
[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")
18  include("templates/spaceshipOrxoBlox.oxt")
19?>
20
[12364]21<!--Template name=OrxoBloxbatcameras defaults=0>
[12366]22  <OrxoBloxStones>
[12256]23    <camerapositions>
[12361]24      <CameraPosition position="0,150,0"  absolute=true />
[12256]25      <CameraPosition position="0,50,160" drag=true mouselook=true />
26      <CameraPosition position="0,40,125" drag=true mouselook=true />
27      <CameraPosition position="0,30, 90" drag=true mouselook=true />
28    </camerapositions>
[12366]29  </OrxoBloxStones>
[12364]30</Template-->
[12215]31
[12268]32<Template name=OrxoBloxball>
33  <OrxoBloxBall
[12256]34   defScoreSound = "sounds/PlayerWinScore_cut.ogg"
35   defBatSound = "sounds/Button.ogg"
36   defBoundarySound = "sounds/Button.ogg">
37    <attached>
38      <Model mesh="sphere.mesh" scale=2 />
39      <!--Billboard scale=0.2 colour="1.0, 1.0, 0.5" material="Examples/Flare" /-->
40      <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" />
41      <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" />
42      <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn />
43    </attached>
[12368]44      <collisionShapes>
45          <SphereCollisionShape radius="2" />
46      </collisionShapes>
[12256]47    <eventlisteners>
48      <EventTarget target=hiteffect />
49    </eventlisteners>
[12268]50  </OrxoBloxBall>
[12256]51</Template>
52
[12366]53
[12328]54 
55  <Template name=OrxoBloxstone>
[12366]56    <OrxoBloxStones>
[12328]57      <attached>
58        <Model position="0,0,0" mesh="CuboidBody.mesh" scale=4.5 />
59        <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 />
60      </attached>
[12368]61      <collisionShapes>
62                <BoxCollisionShape halfExtents="4.5, 4.5, 4.5" />
63      </collisionShapes>
[12328]64    </OrxoBloxStones>
65  </Template>
66 
67 
[12366]68 
[12328]69  <Template name=OrxoBloxwall>
[12366]70    <OrxoBloxWall>
[12368]71            <collisionShapes>
72                <BoxCollisionShape halfExtents="4.5, 4.5, 4.5" />
73      </collisionShapes>
[12328]74    </OrxoBloxWall>
75  </Template>
[12307]76
77
[12264]78<Level
[12269]79  plugins = "OrxoBlox"
80 gametype = "OrxoBlox"
[12264]81>
[12256]82
83 <templates>
[12215]84    <Template link=lodtemplate_default />
85  </templates>
86  <?lua include("includes/notifications.oxi") ?>
87
[12256]88
[12215]89  <Scene
[12256]90   ambientlight = "0.5, 0.5, 0.5"
91   skybox       = "Orxonox/skyBoxBasic"
[12215]92  >
[12310]93    <!-- <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"/> -->
[12364]94    <Light type=directional position="-100, 10000, -700" direction="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
[12371]95    <SpawnPoint team=0 position="0,-4.5,49" lookat="-49,-4.5,0" spawnclass= OrxoBloxShip pawndesign=spaceshipOrxoBlox/>
[12215]96
[12310]97    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
[12215]98
[12310]99
[12366]100    <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="90,100" balltemplate=OrxoBloxball  ballspeed=200 ballaccfactor=1.0  StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall >
[12359]101       
[12256]102      <attached>
[12277]103            <!-- Balken die das Spielfeld begrenzen. -->
[12359]104          <Model position="0,0,-49" mesh="cube.mesh" scale3D="45,1,1" />
105          <Model position="46,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
106          <Model position="-46,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
[12256]107      </attached>
[12359]108    </OrxoBloxCenterpoint>
109     
[12366]110
[12215]111  </Scene>
112</Level>
113
Note: See TracBrowser for help on using the repository browser.