Changeset 7404 for code/trunk/data/levels/tutorial.oxw
- Timestamp:
- Sep 11, 2010, 2:42:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/levels/tutorial.oxw
r7403 r7404 19 19 > 20 20 21 <CommandNotification preMessage="Move '" postMessage="' to look left." command="scale 1 rotateYaw">22 <events>23 <trigger>24 <DistanceTrigger name=trigger position="0,0,-100" distance=10 target="Pawn" />25 </trigger>26 </events>27 </CommandNotification>28 <Billboard position="0,0,-100" colour="1.0,1.0,0" material="Examples/Flare" />29 21 30 <SimpleNotification message="Awesome!!!">31 <events>32 <trigger>33 <DistanceTrigger name=trigger position="0,0,100" distance=10 target="Pawn" />34 </trigger>35 </events>36 </SimpleNotification>37 <Billboard position="0,0,100" colour="1.0,0,1.0" material="Examples/Flare" />38 39 22 23 24 <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7"> 25 <attached> 26 <Model scale="1" mesh="drone.mesh"/> 27 </attached> 28 <collisionShapes> 29 <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" /> 30 </collisionShapes> 31 </Drone> 32 33 <Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7"> 34 <attached> 35 <Model scale="1" mesh="rocket.mesh"/> 36 </attached> 37 <collisionShapes> 38 <BoxCollisionShape position="0,0,0" halfExtents="10, 10, 10" /> 39 </collisionShapes> 40 </Drone> 40 41 41 42 <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" /> 42 43 44 <Model mesh="hs-w01.mesh" scale=10 position="0,0,-100" /> 45 <Model mesh="hs-w01s.mesh" scale=10 position="0,0,-100" /> 43 46 44 47 <?lua … … 48 51 <?lua end ?> 49 52 53 <GlobalShader compositor="Bloom" visible=false> 54 <events> 55 <visibility> 56 <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> 57 </visibility> 58 </events> 59 </GlobalShader> 60 <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> 61 <StaticEntity position="0,0,0" collisionType=static> 62 <collisionShapes> 63 <SphereCollisionShape radius="20" /> 64 </collisionShapes> 65 </StaticEntity> 66 67 <!-- 68 <?lua 69 for i = 1, 70, 1 do 70 ?> 71 <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) ?>"> 72 <attached> 73 <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> 74 </attached> 75 </MovableEntity> 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 82 <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) ?>"> 83 <attached> 84 <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> 85 </attached> 86 </MovableEntity> 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 93 <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) ?>"> 94 <attached> 95 <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> 96 </attached> 97 </MovableEntity> 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 <?lua end ?> 104 --> 50 105 51 106 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.