Changeset 10074 for code/branches/pickupsFS14/data
- Timestamp:
- May 22, 2014, 3:05:46 PM (11 years ago)
- Location:
- code/branches/pickupsFS14/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/data/levels/jump.oxw
r10051 r10074 3 3 description = "Jump in space!" 4 4 tags = "minigame" 5 screenshot = " pong.png"5 screenshot = "jump.png" 6 6 /> 7 7 … … 21 21 </Template> 22 22 23 23 <Template name=figureLeftHand defaults=0> 24 <Model position="4.0,0.0,5.0" mesh="FigureLeftHand.mesh" scale=1 pitch=90> 25 </Model> 26 </Template> 27 28 <Template name=figureRightHand defaults=0> 29 <Model position="-4.0,0.0,5.0" mesh="FigureRightHand.mesh" scale=1 pitch=90> 30 </Model> 31 </Template> 24 32 25 33 <Template name=jumpFigureTemplate> 26 <JumpFigure camerapositiontemplate=jumpfigurecameras mouseFactor="100.0"> 27 <attached> 28 <Model position="0,0,0" mesh="sphere.mesh" scale=4 /> 29 </attached> 30 <!-- 31 <controller> 32 <HumanController /> 33 </controller> 34 --> 34 <JumpFigure camerapositiontemplate=jumpfigurecameras mouseFactor="100.0" modelLefthand=figureLeftHand modelRighthand=figureRightHand rocketPos=10.0 propellerPos=10.0 bootsPos=-5.2 jumpSpeed=250.0 handMinAngle=-20 handMaxAngle=75 handSpeed=250 rocketSpeed=250.0 propellerSpeed=150.0> 35 <attached> 36 <Model position="0,0,0" mesh="Figure.mesh" scale=1 pitch=90/> 37 </attached> 35 38 </JumpFigure> 36 39 </Template> … … 39 42 <JumpProjectile> 40 43 <attached> 41 <Model mesh="Projectile.mesh" scale=1 .2pitch=90/>44 <Model mesh="Projectile.mesh" scale=1 pitch=90/> 42 45 <ParticleEmitter scale=1 pitch=0 roll=0 position="0, 0, 0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 /> 43 46 </attached> … … 46 49 47 50 <Template name=jumpPlatformStaticTemplate> 48 <JumpPlatformStatic> 49 <attached> 50 <Model mesh="Platform01.mesh" scale=1.2 pitch=90/> 51 <JumpPlatformStatic height=3 width=19> 52 <attached> 53 <Model mesh="Platform01.mesh" scale=1 pitch=90/> 54 <Backlight scale=0.2 colour="0.9, 0.4, 0.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 51 55 </attached> 52 56 </JumpPlatformStatic> … … 54 58 55 59 <Template name=jumpPlatformHMoveTemplate> 56 <JumpPlatformHMove >57 <attached> 58 <Model mesh="Platform02.mesh" scale=1 .2pitch=90/>60 <JumpPlatformHMove height=3 width=19> 61 <attached> 62 <Model mesh="Platform02.mesh" scale=1 pitch=90/> 59 63 <Backlight scale=0.2 colour="0.1, 0.1, 1.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 60 64 </attached> … … 63 67 64 68 <Template name=jumpPlatformVMoveTemplate> 65 <JumpPlatformVMove >66 <attached> 67 <Model mesh="Platform03.mesh" scale=1 .2pitch=90/>68 <Backlight scale=0.2 colour="1.0, 1.0, 1.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />69 <JumpPlatformVMove height=3 width=19> 70 <attached> 71 <Model mesh="Platform03.mesh" scale=1 pitch=90/> 72 <Backlight scale=0.2 colour="1.0, 0.1, 1.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 69 73 </attached> 70 74 </JumpPlatformVMove> … … 72 76 73 77 <Template name=jumpPlatformDisappearTemplate> 74 <JumpPlatformDisappear> 75 <attached> 76 <Model mesh="Platform04.mesh" scale=1.2 pitch=90/> 77 <Backlight scale=0.2 colour="0.0, 0.0, 1.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 78 <Backlight scale=0.2 colour="0.0, 1.0, 0.1" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 78 <JumpPlatformDisappear height=3 width=19> 79 <attached> 80 <Model mesh="Platform04.mesh" scale=1 pitch=90/> 81 <Backlight scale=0.2 colour="0.1, 1.0, 0.1" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 79 82 </attached> 80 83 </JumpPlatformDisappear> … … 82 85 83 86 <Template name=jumpPlatformTimerTemplate> 84 <JumpPlatformTimer effectPath="Orxonox/BigExplosion1part2" effectStartTime="0.4"> 85 <attached> 86 <Model mesh="Platform05.mesh" scale=1.2 pitch=90/> 87 <JumpPlatformTimer height=3 width=19 effectPath="Orxonox/BigExplosion1part2" effectStartTime="0.4"> 88 <attached> 89 <Model mesh="Platform05.mesh" scale=1 pitch=90/> 90 <ParticleEmitter scaled3D="5.0, 1.0, 2.0" pitch=0 roll=0 position="-4, 0, -2.0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 /> 87 91 <ParticleEmitter scaled3D="5.0, 1.0, 2.0" pitch=0 roll=0 position="0, 0, -2.0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 /> 88 89 <!-- <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn /> --> 92 <ParticleEmitter scaled3D="5.0, 1.0, 2.0" pitch=0 roll=0 position="4, 0, -2.0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 /> 90 93 </attached> 91 94 </JumpPlatformTimer> … … 93 96 94 97 <Template name=jumpPlatformFakeTemplate> 95 <JumpPlatformFake >96 <attached> 97 <Model mesh="Platform06.mesh" scale=1 .2pitch=90/>98 <JumpPlatformFake height=3 width=19> 99 <attached> 100 <Model mesh="Platform06.mesh" scale=1 pitch=90/> 98 101 <ParticleEmitter scale3D="0.2,0.2,0.2" pitch=0 roll=0 position="0, 0, -2.5" source="Orxonox/sparks" lifetime=1.0 loop=1 startdelay=0.0 /> 99 102 </attached> … … 101 104 </Template> 102 105 103 <Template name=jumpPlatformEnemy1Template> 104 <JumpEnemy> 105 <attached> 106 <Model mesh="cube.mesh" scale3D="10.0, 4.0, 4.0" pitch=90/> 107 </attached> 108 </JumpEnemy> 109 </Template> 110 106 <Template name=jumpEnemy1Template> 107 <JumpEnemy height=7 width=18> 108 <attached> 109 <Model mesh="Enemy1.mesh" scale=1 pitch=90/> 110 <FadingBillboard active=true scale=0.09 position="0, 0, 10" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 111 <Backlight scale=0.33 name=bltest position="0, 0, -10" colour="0.6, 0.8, 0.75, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 112 </attached> 113 </JumpEnemy> 114 </Template> 115 116 <Template name=jumpEnemy2Template> 117 <JumpEnemy height=8 width=20> 118 <attached> 119 <Model mesh="Enemy2.mesh" scale=1 pitch=90/> 120 <MovableEntity position="-17, 0, 4" rotationaxis="0, 1, 0" rotationrate=500 > 121 <attached> 122 <Model mesh="Enemy2Wing.mesh" scale=1 pitch=90/> 123 </attached> 124 </MovableEntity> 125 <MovableEntity position="17, 0, 4" rotationaxis="0, 1, 0" rotationrate=500 > 126 <attached> 127 <Model mesh="Enemy2Wing.mesh" scale=1 pitch=90/> 128 </attached> 129 </MovableEntity> 130 <ParticleEmitter scale3D="1.0,1.0,1.0" pitch=0 roll=0 position="-1, 0, -3" source="Orxonox/laser" lifetime=1.0 loop=1 startdelay=0.0 /> 131 </attached> 132 </JumpEnemy> 133 </Template> 134 135 <Template name=jumpEnemy3Template> 136 <JumpEnemy height=8.2 width=11.2> 137 <attached> 138 <Model mesh="Enemy3.mesh" scale=1 pitch=90/> 139 <Backlight scale3D="0.1, 0.1, 1.0" position="0, -11, -4" colour="1.0, 0.0, 0.9, 1.0" width=1 length=1 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1"/> 140 <Backlight scale3D="0.1, 0.1, 1.0" position="6.32, 5.5, -4" colour="1.0, 0.0, 0.9, 1.0" width=1 length=1 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1"/> 141 <Backlight scale3D="0.1, 0.1, 1.0" position="-6.32, 5.5, -4" colour="1.0, 0.0, 0.9, 1.0" width=1 length=1 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1"/> 142 </attached> 143 </JumpEnemy> 144 </Template> 145 146 <Template name=jumpEnemy4Template> 147 <JumpEnemy height=7.5 width=21.5 rotationaxis="0, 0, 1" rotationrate=40 > 148 <attached> 149 <Model mesh="Enemy4.mesh" scale=1 pitch=90/> 150 </attached> 151 </JumpEnemy> 152 </Template> 153 154 <Template name=jumpSpringTemplate> 155 <JumpSpring height=6 width=9.25> 156 <attached> 157 <Model mesh="Spring.mesh" scale=1 rotationaxis="0, 0, 1" pitch=90 position="0.0, 0.0, 0.0"/> 158 </attached> 159 </JumpSpring> 160 </Template> 161 162 <Template name=jumpRocketTemplate> 163 <JumpRocket height=8.5 width=13.5> 164 <attached> 165 <Model mesh="Rocket.mesh" scale=1 pitch=90 position="0.0, 0.0, 1.0"/> 166 </attached> 167 </JumpRocket> 168 </Template> 169 170 <Template name=jumpPropellerTemplate> 171 <JumpPropeller height=4 width=15.5> 172 <attached> 173 <Model mesh="Propeller.mesh" scale=1 pitch=90 position="0.0, 0.0, 1.0"/> 174 </attached> 175 </JumpPropeller> 176 </Template> 177 178 <Template name=jumpBootsTemplate> 179 <JumpBoots height=5.2 width=3.5> 180 <attached> 181 <Model mesh="Boots.mesh" scale=1 pitch=90 position="0.0, 0.0, 1.0"/> 182 </attached> 183 </JumpBoots> 184 </Template> 185 186 <Template name=jumpShieldTemplate> 187 <JumpShield height=1.55 width=15.5> 188 <attached> 189 <Model mesh="Shield.mesh" scale=1 pitch=90 position="0.0, 0.0, 1.0"/> 190 </attached> 191 </JumpShield> 192 </Template> 111 193 112 194 <Level gametype = "Jump"> … … 129 211 name=jumpcenter 130 212 dimension="120,80" 131 sectionLength="100" 132 platformLength="12" 213 sectionLength="150" 214 platformSpeed="20" 215 cameraOffset="10" 133 216 134 217 platformStaticTemplate=jumpPlatformStaticTemplate … … 137 220 platformDisappearTemplate=jumpPlatformDisappearTemplate 138 221 platformTimerTemplate=jumpPlatformTimerTemplate 139 platformFakeTemplate=jumpPlatformFakeTemplate 140 enemy1Template=jumpPlatformEnemy1Template 222 platformFakeTemplate=jumpPlatformFakeTemplate 141 223 figureTemplate=jumpFigureTemplate 142 projectileTemplate=jumpProjectileTemplate> 224 projectileTemplate=jumpProjectileTemplate 225 springTemplate=jumpSpringTemplate 226 rocketTemplate=jumpRocketTemplate 227 propellerTemplate=jumpPropellerTemplate 228 bootsTemplate=jumpBootsTemplate 229 shieldTemplate=jumpShieldTemplate 230 enemy1Template=jumpEnemy1Template 231 enemy2Template=jumpEnemy2Template 232 enemy3Template=jumpEnemy3Template 233 enemy4Template=jumpEnemy4Template 234 > 143 235 144 236 <attached> … … 150 242 <Model position="0,0,-1000" mesh="Platform05.mesh" scale="1" /> 151 243 <Model position="0,0,-1000" mesh="Platform06.mesh" scale="1" /> 152 153 244 <Model position="0,0,-1000" mesh="Projectile.mesh" scale="1" /> 154 155 <!-- 156 <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" /> 157 <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" /> 158 159 <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 160 <ParticleSpawner name=scoreeffect_right position="120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 161 <ParticleSpawner name=scoreeffect_right position="120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 162 <ParticleSpawner name=scoreeffect_right position="120,0, 0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 /> 163 <ParticleSpawner name=scoreeffect_right position="120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 164 <ParticleSpawner name=scoreeffect_right position="120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 165 <ParticleSpawner name=scoreeffect_right position="120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 166 167 <ParticleSpawner name=scoreeffect_left position="-120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 168 <ParticleSpawner name=scoreeffect_left position="-120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 169 <ParticleSpawner name=scoreeffect_left position="-120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 170 <ParticleSpawner name=scoreeffect_left position="-120,0, 0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 /> 171 <ParticleSpawner name=scoreeffect_left position="-120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 172 <ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 /> 173 <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> 174 175 <?lua 176 for i = 1, 15, 1 do 177 ?> 178 <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) ?> /> 179 <?lua end ?> 180 --> 245 <Model position="0,0,-1000" mesh="Figure.mesh" scale="1" /> 246 <Model position="0,0,-1000" mesh="Enemy1.mesh" scale="1" /> 247 <Model position="0,0,-1000" mesh="Enemy2.mesh" scale="1" /> 248 <Model position="0,0,-1000" mesh="Enemy3.mesh" scale="1" /> 249 <Model position="0,0,-1000" mesh="Enemy4.mesh" scale="1" /> 250 <Model position="0,0,-1000" mesh="Spring.mesh" scale="1" /> 251 <Model position="0,0,-1000" mesh="Rocket.mesh" scale="1" /> 181 252 </attached> 182 253 </JumpCenterpoint> … … 217 288 </EventDispatcher> 218 289 219 <?lua220 dofile("includes/CuboidSpaceStation.lua")221 ?>222 223 <StaticEntity pitch=15>224 <attached>225 <MovableEntity rotationrate="-4.15786" rotationaxis="0,0,1">226 <attached>227 <StaticEntity position="-2500,0,0" yaw=90 pitch=90>228 <attached>229 <?lua230 createSpaceStationPar(0,2,1,2,1,4,1,50)231 ?>232 </attached>233 </StaticEntity>234 </attached>235 </MovableEntity>236 </attached>237 </StaticEntity>238 239 <StaticEntity position="0,1200,-200" yaw=50 pitch=60 roll=45>240 <attached>241 <Model scale=10 mesh="Carrier.mesh" />242 <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />243 <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />244 </attached>245 </StaticEntity>246 247 <StaticEntity pitch=70>248 <attached>249 <MovableEntity rotationaxis="0,0,1" rotationrate=8.5974>250 <attached>251 <StaticEntity yaw=-90 pitch=0 roll=90 position="800,0,0">252 <attached>253 <Model position="0,0,0" scale=10 mesh="satellite.mesh" />254 <MovableEntity position="-4,0,20" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50>255 <attached>256 <Model position="0,0,0" scale=10 mesh="satellitedish.mesh"/>257 </attached>258 </MovableEntity>259 <!--260 <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />261 <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />262 <ParticleEmitter pitch=-45 roll=30 position="-14,-3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />263 <ParticleEmitter pitch=45 roll=30 position="-14,-3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />264 -->265 </attached>266 </StaticEntity>267 </attached>268 </MovableEntity>269 </attached>270 </StaticEntity>271 290 </Scene> 272 291 </Level> -
code/branches/pickupsFS14/data/overlays/jumpHUD.oxo
r10051 r10074 8 8 colour = "1.0, 1.0, 1.0, 1.0" 9 9 align = "center" 10 showScore = true 11 showMessages = false 10 12 /> 11 13 12 <!-- 13 <OverlayText 14 position = "0.505, 0.05" 14 <JumpScore 15 position = "0.5, 0.5" 15 16 pickpoint = "0.0, 0.0" 16 17 font = "ShareTechMono" 17 textsize = 0. 0618 colour = "1.0, 1.0, 1.0, 1.0"18 textsize = 0.2 19 colour = "1.0, 0.0, 0.0, 1.0" 19 20 align = "center" 20 21 caption = ":"22 />23 -->21 gameOverText = "GAME OVER" 22 showScore = false 23 showMessages = true 24 /> 24 25 25 26 </OverlayGroup>
Note: See TracChangeset
for help on using the changeset viewer.