Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 18, 2019, 4:04:33 PM (5 years ago)
Author:
pomselj
Message:

oxw file cleaned up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw

    r12307 r12310  
    2424</Template>
    2525
    26 <Template name=OrxoBloxbat>
    27   <OrxoBloxBat camerapositiontemplate=OrxoBloxbatcameras>
    28     <attached>
    29       <Model position="60,0,-50" mesh="cube.mesh" scale3D="2,2,14" />
    30       <!--Model roll=180 mesh="OrxoBloxbat.mesh" scale=0.045 /-->
    31     </attached>
    32   </OrxoBloxBat>
    33 </Template>
    34 
    3526<Template name=OrxoBloxball>
    3627  <OrxoBloxBall
     
    5344
    5445
    55 <Template name=OrxoBloxStonescameras defaults=0>
    56   <OrxoBloxStones>
    57     <camerapositions>
    58       <CameraPosition position="55,75,200" absolute=true />
    59     </camerapositions>
    60   </OrxoBloxStones>
    61 </Template>
    62 
    63 <Template name=OrxoBloxstone>
    64   <OrxoBloxStones camerapositiontemplate=OrxoBloxStonescameras >
    65     <attached>
    66       <Model position="0,0,0" mesh="CuboidBody.mesh" scale=4.5 />
    67       <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 />
    68     </attached>
    69   </OrxoBloxStones>
    70 </Template>
    71 
    72 <Template name=OrxoBloxWallcameras defaults=0>
    73   <OrxoBloxWall>
    74     <camerapositions>
    75       <CameraPosition position="55,75,200" absolute=true />
    76       <!--CameraPosition position="0,50,160" drag=true mouselook=true />
    77       <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true /-->
    78     </camerapositions>
    79   </OrxoBloxWall>
    80 </Template>
    81 
    82 <Template name=OrxoBloxwall>
    83   <OrxoBloxWall camerapositiontemplate=OrxoBloxWallcameras>
    84   </OrxoBloxWall>
    85 </Template>
    86 
    87 
    8846
    8947<Level
     
    10462   skybox       = "Orxonox/skyBoxBasic"
    10563  >
    106     <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" />
     64    <!-- <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"/> -->
     65    <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" />
     66    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= Asteroids2DShip />
    10767
    108     <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
     68    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
     69
    10970
    11071    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
    11172      <attached>
    112         <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25 StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall>
     73        <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball ballspeed=200 ballaccfactor=1.0>
    11374          <attached>
    11475            <!-- Balken die das Spielfeld begrenzen. -->
     
    11677            <Model position="60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
    11778            <Model position="-60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
    118 
    119             <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    120             <ParticleSpawner name=scoreeffect_right position="120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    121             <ParticleSpawner name=scoreeffect_right position="120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    122             <ParticleSpawner name=scoreeffect_right position="120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
    123             <ParticleSpawner name=scoreeffect_right position="120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    124             <ParticleSpawner name=scoreeffect_right position="120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    125             <ParticleSpawner name=scoreeffect_right position="120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    126 
    127             <ParticleSpawner name=scoreeffect_left position="-120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    128             <ParticleSpawner name=scoreeffect_left position="-120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    129             <ParticleSpawner name=scoreeffect_left position="-120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    130             <ParticleSpawner name=scoreeffect_left position="-120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
    131             <ParticleSpawner name=scoreeffect_left position="-120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    132             <ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    133             <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    134 
    135 <!-- TODO: Create a OrxoBlox Score Sound and include it here.
    136 This WorldSound works, but doesn't make sense, since it is played together with ambient/moodDependedDirectory/Ganymede.ogg -->
    137             <!--WorldSound name="scoreSound" position="0,0,0" source="sounds/OrxoBloxScore_cut.ogg" >
    138               <events>
    139                 <play>
    140                   <EventListener event=OrxoBloxcenter />
    141                 </play>
    142               </events>
    143             </WorldSound-->
    144 
    145             <?lua
    146               for i = 1, 15, 1 do
    147             ?>
    148               <ParticleSpawner name=scoreeffect_center position="<?lua print(math.random() * 200 - 100) ?>,0,<?lua print(math.random() * 120 - 60) ?>" source="Orxonox/sparks2" lifetime=0.02 autostart=0 startdelay=<?lua print(math.random() * 0.7) ?> />
    149             <?lua end ?>
    150 
    15179          </attached>
    15280        </OrxoBloxCenterpoint>
    15381      </attached>
    154     </MovableEntity>
    155 
    156     <EventDispatcher>
    157       <targets>
    158         <EventTarget target=scoreeffect_right />
    159         <EventTarget target=scoreeffect_center />
    160       </targets>
    161       <events>
    162         <spawn>
    163           <EventFilter>
    164             <names>
    165               <EventName name=right />
    166             </names>
    167             <EventListener event=OrxoBloxcenter />
    168           </EventFilter>
    169         </spawn>
    170       </events>
    171     </EventDispatcher>
    172     <EventDispatcher>
    173       <targets>
    174         <EventTarget target=scoreeffect_left />
    175         <EventTarget target=scoreeffect_center />
    176       </targets>
    177       <events>
    178         <spawn>
    179           <EventFilter>
    180             <names>
    181               <EventName name=left />
    182             </names>
    183             <EventListener event=OrxoBloxcenter />
    184           </EventFilter>
    185         </spawn>
    186       </events>
    187     </EventDispatcher>
    188 
    189     <?lua
    190       dofile("includes/CuboidSpaceStation.lua")
    191     ?>
    192 
    193     <StaticEntity pitch=15>
    194       <attached>
    195         <MovableEntity rotationrate="-4.15786" rotationaxis="0,0,1">
    196           <attached>
    197             <StaticEntity position="-2500,0,0" yaw=90 pitch=90>
    198               <attached>
    199                 <?lua
    200                   createSpaceStationPar(0,2,1,2,1,4,1,50)
    201                 ?>
    202               </attached>
    203             </StaticEntity>
    204           </attached>
    205         </MovableEntity>
    206       </attached>
    207     </StaticEntity>
    208 
    209     <StaticEntity position="0,1200,-200" yaw=50 pitch=60 roll=45>
    210       <attached>
    211         <Model scale=10 mesh="Carrier.mesh" />
    212         <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
    213         <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
    214       </attached>
    215     </StaticEntity>
    216 
    217     <StaticEntity pitch=70>
    218       <attached>
    219         <MovableEntity rotationaxis="0,0,1" rotationrate=8.5974>
    220           <attached>
    221             <StaticEntity yaw=-90 pitch=0 roll=90 position="800,0,0">
    222               <attached>
    223                 <Model position="0,0,0" scale=10 mesh="satellite.mesh" />
    224                 <MovableEntity position="-4,0,20" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50>
    225                   <attached>
    226                     <Model position="0,0,0" scale=10 mesh="satellitedish.mesh"/>
    227                   </attached>
    228                 </MovableEntity>
    229                 <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    230                 <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    231                 <ParticleEmitter pitch=-45 roll=30 position="-14,-3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    232                 <ParticleEmitter pitch=45 roll=30 position="-14,-3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    233               </attached>
    234             </StaticEntity>
    235           </attached>
    236         </MovableEntity>
    237       </attached>
    238     </StaticEntity>
    239 
    240     <?lua
    241       for i = 1, 10, 1 do
    242     ?>
    243       <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 100 + 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    244         <attached>
    245           <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    246         </attached>
    247       </MovableEntity>
    248       <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * -100 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    249         <attached>
    250           <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    251         </attached>
    252       </MovableEntity>
    253 
    254       <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 100 + 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    255         <attached>
    256           <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    257         </attached>
    258       </MovableEntity>
    259       <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * -100 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    260         <attached>
    261           <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    262         </attached>
    263       </MovableEntity>
    264 
    265       <MovableEntity position="<?lua print(math.random() * 100 + 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    266         <attached>
    267           <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    268         </attached>
    269       </MovableEntity>
    270       <MovableEntity position="<?lua print(math.random() * -100 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    271         <attached>
    272           <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    273         </attached>
    274       </MovableEntity>
    275     <?lua end ?>
    276    
     82    </MovableEntity>   
    27783  </Scene>
    27884</Level>
Note: See TracChangeset for help on using the changeset viewer.