Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12373 was 12373, checked in by ahuwyler, 5 years ago

correct position of spaceship

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