Changeset 6389
- Timestamp:
- Dec 21, 2009, 1:45:56 PM (15 years ago)
- Location:
- code/branches/presentation2
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/includes/weaponsettings_HXY.oxi
r6363 r6389 16 16 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 17 17 <HsW01 mode=0 munitionpershot=0 delay=0.1 material="Flares/point_lensflare" muzzleoffset=" 0.5,0.6,1.7" /> 18 18 <LightningGun mode=1 muzzleoffset="0,0,0" /> 19 19 </Weapon> 20 20 <Weapon> 21 21 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 22 22 <HsW01 mode=0 munitionpershot=0 delay=0.1 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" /> 23 23 <LightningGun mode=1 muzzleoffset="0,0,0" /> 24 24 </Weapon> 25 25 </WeaponPack> -
code/branches/presentation2/data/levels/includes/weaponsettings_Transporter.oxi
r6363 r6389 16 16 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 17 17 <HsW01 mode=0 munitionpershot=0 delay=0.1 material="Flares/point_lensflare" muzzleoffset=" 0.5,0.6,1.7" /> 18 18 <LightningGun mode=1 muzzleoffset="0,0,0" /> 19 19 </Weapon> 20 20 <Weapon> 21 21 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 22 22 <HsW01 mode=0 munitionpershot=0 delay=0.1 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" /> 23 23 <LightningGun mode=1 muzzleoffset="0,0,0" /> 24 24 </Weapon> 25 25 </WeaponPack> -
code/branches/presentation2/data/levels/includes/weaponsettings_ghost.oxi
r6287 r6389 16 16 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 17 17 <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset=" 0.5,0.6,1.7" /> 18 18 <LightningGun mode=1 muzzleoffset="0,0,0" /> 19 19 </Weapon> 20 20 <Weapon> 21 21 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 22 22 <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" /> 23 23 <LightningGun mode=1 muzzleoffset="0,0,0" /> 24 24 </Weapon> 25 25 </WeaponPack> -
code/branches/presentation2/data/levels/old/physicstest2.oxw
r5929 r6389 21 21 <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /--> 22 22 23 24 23 <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes--> 24 <StaticEntity 25 25 position = "0,0,0" 26 26 name = "banana" … … 35 35 <PlaneCollisionShape name="thePlane" planeNormal="0,1,0" planeOffset=0 /> 36 36 </collisionShapes> 37 38 39 40 41 42 43 44 45 46 47 37 </StaticEntity> 38 39 <!-- red sphere for phsics engine testing purposes--> 40 <!--StaticEntity position="40,0,0"> 41 <attached> 42 <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> 43 </attached> 44 </StaticEntity--> 45 46 <!-- yellow cube for phsics engine testing purposes--> 47 <!--StaticEntity position="80,0,0"> 48 48 <attached> 49 49 <Model position="0,0,0" scale=1 mesh="cube.mesh" /> 50 50 </attached> 51 51 </StaticEntity--> 52 52 53 53 <MovableEntity -
code/branches/presentation2/data/levels/old/presentation_physics.oxw
r5781 r6389 30 30 <PlaneCollisionShape planeNormal="0,1,0" planeOffset=0 /> 31 31 </collisionShapes> 32 32 </StaticEntity> 33 33 34 34 <MovableEntity 35 35 position = "0,250,500" 36 36 rotationaxis = "1, 1, 1" … … 64 64 <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> 65 65 </collisionShapes> 66 66 </MovableEntity> 67 67 68 68 <?lua -
code/branches/presentation2/data/levels/old/princessaeryn.oxw
r5929 r6389 6 6 7 7 <?lua 8 8 dofile("includes/CuboidSpaceStation.lua") 9 9 ?> 10 10 11 11 <NotificationQueue 12 13 14 12 name = "notification" 13 position = "1.0, 1.0" 14 targets = "questsystem" 15 15 /> 16 16 -
code/branches/presentation2/data/levels/old/questsystem.oxw
r5781 r6389 6 6 7 7 <NotificationQueue 8 9 10 8 name = "notification" 9 position = "1.0, 1.0" 10 targets = "all" 11 11 /> 12 12 … … 29 29 </GlobalQuest> 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 31 <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> 32 <events> 33 <spawn> 34 <EventTrigger delay=1> 35 <events> 36 <trigger> 37 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> 38 </trigger> 39 </events> 40 </EventTrigger> 41 </spawn> 42 </events> 43 </ParticleSpawner> 44 44 45 45 <QuestEffectBeacon position="0,0,100" times=-1> -
code/branches/presentation2/data/levels/old/sample4.oxw
r5929 r6389 23 23 <Model position="0,0,0" scale=10 mesh="satellite.mesh" /> 24 24 <MovableEntity position="-4,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50> 25 25 <attached> 26 26 <Model position="4,0,0" scale=10 mesh="satellitedish.mesh"/> 27 27 </attached> 28 28 </MovableEntity> 29 29 <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> 30 30 <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> -
code/branches/presentation2/data/levels/presentation.oxw
r5929 r6389 20 20 21 21 22 23 24 25 26 27 22 <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes--> 23 <!--StaticEntity position="0,0,0"> 24 <attached> 25 <Model position="0,0,0" scale=1 mesh="axes.mesh" /> 26 </attached> 27 </StaticEntity --> 28 28 29 30 31 32 33 34 29 <!-- red sphere for phsics engine testing purposes--> 30 <!--StaticEntity position="40,0,0"> 31 <attached> 32 <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> 33 </attached> 34 </StaticEntity--> 35 35 36 37 38 39 40 41 36 <!-- yellow cube for phsics engine testing purposes--> 37 <!--StaticEntity position="80,0,0"> 38 <attached> 39 <Model position="0,0,0" scale=1 mesh="cube.mesh" /> 40 </attached> 41 </StaticEntity--> 42 42 43 44 43 <!-- Carrier with guns not implemented yet --> 44 <MovableEntity position="-2000,-1000,-2000" pitch="-90" roll="90"> 45 45 <attached> 46 46 <Model position="0,0,0" scale=10 mesh="Carrier.mesh" /> 47 47 <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" /> 48 48 <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" /> 49 49 </attached> … … 54 54 <Model position="0,0,0" scale=10 mesh="satellite.mesh" /> 55 55 <MovableEntity position="-4,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50> 56 56 <attached> 57 57 <Model position="4,0,0" scale=10 mesh="satellitedish.mesh"/> 58 58 </attached> 59 59 </MovableEntity> 60 60 <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> 61 61 <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> -
code/branches/presentation2/data/levels/presentationHS09.oxw
r6388 r6389 347 347 elements = {"asteroid_ice.mesh", "asteroid_UV.mesh", "ast1.mesh", "ast2.mesh", "ast3.mesh", "ast4.mesh", "ast5.mesh", "ast6.mesh"} 348 348 elements.length = function() 349 349 return table.getn(elements) 350 350 end 351 351 for i = 1, 100, 1 -
code/branches/presentation2/data/levels/presentationHS09b.oxw
r6382 r6389 41 41 <Model position="0,0,0" scale=<?lua print(s) ?> mesh="asteroid_UV.mesh" /> 42 42 </attached> 43 44 45 43 <collisionShapes> 44 <SphereCollisionShape radius="<?lua print(s*0.9) ?>" /> 45 </collisionShapes> 46 46 </MovableEntity> 47 47 <ParticleSpawner position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" source="Orxonox/Steam" lifetime=3.0 loop=1 /> … … 69 69 </attached> 70 70 </MovableEntity> 71 72 73 71 <?lua 72 end 73 ?> 74 74 <?lua 75 75 for i = 1,12, 1 … … 81 81 </templates> 82 82 <controller> 83 83 <WaypointPatrolController alertnessradius=4000 team=0 active=true> 84 84 <waypoints> 85 85 <StaticEntity position="5000,<?lua print(math.random()*50)?> ,<?lua print(i*50 -150) ?>" /> … … 96 96 </templates> 97 97 <controller> 98 98 <WaypointPatrolController name=pirate target=pirate alertnessradius=1000 team=0 active=false> 99 99 <waypoints> 100 100 <StaticEntity position="5000,100,1100" /> … … 197 197 ?> 198 198 199 <MovableEntity collisiontype=dynamic mass=<?lua print(s*10)?> position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.01 angularDamping=0 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 100 - 15) ?>">199 <MovableEntity collisiontype=dynamic mass=<?lua print(s*10)?> position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.01 angularDamping=0 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 100 - 15) ?>"> 200 200 <attached> 201 201 <Model position="0,0,0" scale=<?lua print(s) ?> mesh="asteroid_ice.mesh" /> 202 202 </attached> 203 204 205 203 <collisionShapes> 204 <SphereCollisionShape radius="<?lua print(s*0.9)?>" /> 205 </collisionShapes> 206 206 </MovableEntity> 207 207 <ParticleSpawner position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" source="Orxonox/Steam" lifetime=3.0 loop=1 /> 208 208 <?lua 209 209 end … … 212 212 <targets> 213 213 <EventTarget target=attack /> 214 214 <EventTarget target=wait /> 215 215 </targets> 216 216 <events> … … 258 258 259 259 260 <AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="false">261 262 263 264 265 260 <AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="false"> 261 <events> 262 <activity> 263 <DistanceTrigger position="2000,0,0" distance=500 target="Camera" /> 264 </activity> 265 </events> 266 266 </AmbientSound> 267 267 -
code/branches/presentation2/data/levels/princessaeryn.oxw
r5929 r6389 6 6 7 7 <?lua 8 8 dofile("includes/CuboidSpaceStation.lua") 9 9 ?> 10 10 -
code/branches/presentation2/data/levels/sound.oxw
r6387 r6389 20 20 <AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="true" /> 21 21 <AmbientSound ambientSource="Mars.ogg" looping="true"> 22 23 24 25 26 27 28 29 30 22 <events> 23 <activity> 24 <DistanceTrigger position="400,0,0" distance=200 target="Camera"> 25 <attached> 26 <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 /> 27 </attached> 28 </DistanceTrigger> 29 </activity> 30 </events> 31 31 </AmbientSound> 32 32 <AmbientSound ambientSource="Jupiter.ogg" looping="true"> 33 34 35 36 37 38 39 40 41 33 <events> 34 <activity> 35 <DistanceTrigger position="400,150,0" distance=200 target="Camera"> 36 <attached> 37 <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 /> 38 </attached> 39 </DistanceTrigger> 40 </activity> 41 </events> 42 42 </AmbientSound> 43 43 -
code/branches/presentation2/data/levels/templates/spaceship_ghost.oxt
r6357 r6389 74 74 <EffectContainer condition="not idle"> 75 75 <Backlight mainstate=activity active=false scale=0.4 position="7.6, 3, 6" colour="1, 1, 1, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 76 76 <Backlight mainstate=activity active=false scale=0.4 position="-7.6, 3, 6" colour="1, 1, 1, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 77 77 </EffectContainer> 78 78 <EffectContainer condition="brake"> -
code/branches/presentation2/src/modules/weapons/projectiles/Rocket.cc
r6387 r6389 66 66 Model* model = new Model(this); 67 67 model->setMeshSource("rocket.mesh"); 68 68 model->scale(0.7); 69 69 this->attach(model); 70 70 ParticleEmitter* fire = new ParticleEmitter(this);
Note: See TracChangeset
for help on using the changeset viewer.