Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2017, 2:42:31 PM (3 years ago)
Author:
jkindle
Message:

Works whoow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SuperOrxoBros_FS17/data/levels/SOB.oxw

    r11379 r11381  
    11<LevelInfo
    2  name = "SOOOOB"
    3  description = "Level for the coding tutorial."
     2 name = "SOOOOOOOOOOOB"
     3 description = "Jump as high as you can. Use the mouse to guide the jumper."
    44 tags = "minigame"
    5  screenshot = "codingtutorial.png"
    6  startingships = "spaceshipassff, spaceshipghost, spaceshipspacecruiser"
     5 screenshot = "jump.png"
    76/>
    87
    98<?lua
    10   include("HUDTemplates3.oxo")
     9  include("HUDTemplates3.oxo") 
     10  include("jumpHUD.oxo")
    1111  include("stats.oxo")
    12   include("templates/spaceshipAssff.oxt")
    13 
     12  include("templates/lodInformation.oxt")
    1413?>
    1514
    16 <Level plugins = "superorxobros" gametype="SOB">
    17  
     15<Template name=sobfigurecameras defaults=0>
     16  <SOBFigure>
     17    <camerapositions>
     18      <CameraPosition position="0,-150,0" absolute=false mouselook=false drag=false lookat="0,0,0"/>
     19    </camerapositions>
     20  </SOBFigure>
     21</Template>
    1822
     23
     24
     25
     26<Template name=sobFigureTemplate>
     27  <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic">
     28    <attached>
     29      <Model position="0,0,0" mesh="JumpFigure.mesh" scale=1 pitch=90/>
     30    </attached>
     31
     32       <collisionShapes>
     33<!--         <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     34 -->        <SphereCollisionShape   yaw="20" pitch="20" roll="20" position="0,0,0" radius="10" /> 
     35      </collisionShapes>
     36
     37   
     38  </SOBFigure>
     39</Template>
     40
     41<Level
     42 plugins = "superorxobros"
     43 gametype = "SOB"
     44>-
     45
     46
     47  <templates>
     48    <Template link=lodtemplate_default />
     49  </templates>
    1950  <?lua include("includes/notifications.oxi") ?>
    2051
    21   <Scene
    22    ambientlight = "0.5, 0.5, 0.5"
    23    skybox       = "Orxonox/skyBoxBasic"
    24   >
     52  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
     53 
     54
     55  <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic">
     56    <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" />
     57
     58    <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
     59
     60    <MovableEntity>
     61      <attached>
     62        <SOBCenterpoint
     63          name=jumpcenter
     64 
     65          cameraOffset="10"
     66
     67         
     68          figureTemplate=sobFigureTemplate
     69         
     70          >
     71
     72          <attached>
    2573
    2674
    2775   
    28     <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" />
    29         <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" spawnclass=SpaceShip pawndesign=shipselection />
    30 
    31 
    32    
    33  <MovableEntity rotationrate=5 rotationaxis="0,0,1">
    34       <attached>
    35         <SOBCenterpoint>
    36           <attached>
    37             <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" />
    38             <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" />
    39 
    40             <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    41             <ParticleSpawner name=scoreeffect_right position="120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    42             <ParticleSpawner name=scoreeffect_right position="120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    43             <ParticleSpawner name=scoreeffect_right position="120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
    44             <ParticleSpawner name=scoreeffect_right position="120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    45             <ParticleSpawner name=scoreeffect_right position="120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    46             <ParticleSpawner name=scoreeffect_right position="120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    47 
    48             <ParticleSpawner name=scoreeffect_left position="-120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    49             <ParticleSpawner name=scoreeffect_left position="-120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    50             <ParticleSpawner name=scoreeffect_left position="-120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    51             <ParticleSpawner name=scoreeffect_left position="-120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
    52             <ParticleSpawner name=scoreeffect_left position="-120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    53             <ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    54             <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    5576
    5677          </attached>
     
    5980    </MovableEntity>
    6081
     82    <StaticEntity position="0,-1,-10" collisionType="static">
     83      <attached>
     84         <Model  mesh="cube.mesh" scale3D="76,76,1" />
     85      </attached>
     86
     87      <collisionShapes>
     88        <BoxCollisionShape position="0,0,0" halfExtents="76,76,1" />
     89      </collisionShapes>
     90    </StaticEntity>
     91
     92     
    6193
    6294
Note: See TracChangeset for help on using the changeset viewer.