Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9019


Ignore:
Timestamp:
Feb 23, 2012, 8:52:57 PM (10 years ago)
Author:
jo
Message:

Copied trunk & added files for the coding tutorial in order to update the coding tutorial in a fast way.

Location:
code/branches/tutorial2
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial2/data/levels/tutorial.oxw

    r9016 r9019  
    2525
    2626
    27 
    28 
    29 <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7">
    30   <attached>
    31     <Model scale="1" mesh="drone.mesh"/>
    32   </attached>
    33   <collisionShapes>
    34     <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
    35   </collisionShapes>
    36 </Drone>
    37 
    38     <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7">
    39       <attached>
    40         <Model scale="1" mesh="rocket.mesh"/>
    41       </attached>
    42       <collisionShapes>
    43         <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
    44       </collisionShapes>
    45     </Drone>
    46 
    4727    <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" />
    4828
    49     <Model mesh="hs-w01.mesh" scale=10 position="0,0,-100" />
    50     <Model mesh="hs-w01s.mesh" scale=10 position="0,0,-100" />
    5129
    5230    <?lua
     
    5634    <?lua end ?>
    5735
    58     <GlobalShader compositor="Bloom" visible=false>
    59       <events>
    60         <visibility>
    61           <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
    62         </visibility>
    63       </events>
    64     </GlobalShader>
    65     <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
    66     <StaticEntity position="0,0,0" collisionType=static>
    67       <collisionShapes>
    68         <SphereCollisionShape radius="20" />
    69       </collisionShapes>
    70     </StaticEntity>
     36   
     37    <!-- TODO: Insert drone here. -->
    7138
    72 <!--
    73     <?lua
    74       for i = 1, 70, 1 do
    75     ?>
    76       <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    77         <attached>
    78           <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    79         </attached>
    80       </MovableEntity>
    81       <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * -1000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    82         <attached>
    83           <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    84         </attached>
    85       </MovableEntity>
    86 
    87       <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 1000 + 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    88         <attached>
    89           <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    90         </attached>
    91       </MovableEntity>
    92       <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * -1000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    93         <attached>
    94           <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    95         </attached>
    96       </MovableEntity>
    97 
    98       <MovableEntity position="<?lua print(math.random() * 1000 + 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    99         <attached>
    100           <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    101         </attached>
    102       </MovableEntity>
    103       <MovableEntity position="<?lua print(math.random() * -1000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    104         <attached>
    105           <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    106         </attached>
    107       </MovableEntity>
    108     <?lua end ?>
    109 -->
    11039
    11140  </Scene>
Note: See TracChangeset for help on using the changeset viewer.