Changeset 10428
- Timestamp:
- May 7, 2015, 2:29:09 PM (10 years ago)
- Location:
- code/branches/ParticleEffectsFS15
- Files:
-
- 9 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ParticleEffectsFS15/data/DefaultResources.oxr
r7709 r10428 10 10 <ResourceLocation path = "gui/schemes" /> 11 11 <ResourceLocation path = "gui/scripts" /> 12 12 13 </ResourceCollection> -
code/branches/ParticleEffectsFS15/data/levels/emptyLevel.oxw
r9415 r10428 13 13 14 14 <?lua 15 include("templates/spaceshipAssff 2.oxt")15 include("templates/spaceshipAssff.oxt") 16 16 include("templates/spaceshipPirate.oxt") 17 17 include("templates/spaceshipEscort.oxt") … … 30 30 31 31 <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"/> 32 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceship escort/>32 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 33 33 34 34 </Scene> -
code/branches/ParticleEffectsFS15/data/levels/includes/weaponSettingsAssff.oxi
r8868 r10428 39 39 </Weapon> 40 40 <Weapon> 41 <SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=30 shielddamage=20 />41 <SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=30 healthdamage=50 shielddamage=20 /> 42 42 <RocketFire mode=3 muzzleoffset="0,0,0" damage=30 healthdamage=50 shielddamage=20 /> 43 43 </Weapon> -
code/branches/ParticleEffectsFS15/src/external/CMakeLists.txt
r9550 r10428 27 27 ADD_SUBDIRECTORY(gtest) 28 28 ADD_SUBDIRECTORY(loki) 29 29 30 IF(CEGUI_OGRE_RENDERER_BUILD_REQUIRED) 30 31 ADD_SUBDIRECTORY(ogreceguirenderer) -
code/branches/ParticleEffectsFS15/src/external/ogreceguirenderer/CMakeLists.txt
r8729 r10428 38 38 ${OCR_FILES} 39 39 ) 40 41 TARGET_LINK_LIBRARIES(ogreceguirenderer_orxonox 42 pthread 43 boost_system 44 ) -
code/branches/ParticleEffectsFS15/src/modules/weapons/CMakeLists.txt
r7163 r10428 19 19 SOURCE_FILES ${WEAPONS_SRC_FILES} 20 20 ) 21 22 #TARGET_LINK_LIBRARIES(weapons 23 # particleuniverse_orxonox 24 #) -
code/branches/ParticleEffectsFS15/src/modules/weapons/WeaponsPrereqs.h
r8855 r10428 82 82 class Projectile; 83 83 class Rocket; 84 class RocketOld; 84 85 class SimpleRocket; 85 86 … … 91 92 class LightningGun; 92 93 class RocketFire; 94 class RocketFireOld; 93 95 class SimpleRocketFire; 94 96 } -
code/branches/ParticleEffectsFS15/src/modules/weapons/projectiles/CMakeLists.txt
r8855 r10428 6 6 LightningGunProjectile.cc 7 7 Rocket.cc 8 RocketOld.cc 8 9 SimpleRocket.cc 9 10 ) -
code/branches/ParticleEffectsFS15/src/modules/weapons/projectiles/Rocket.cc
r10216 r10428 48 48 #include "worldentities/CameraPosition.h" 49 49 #include "worldentities/pawns/Pawn.h" 50 //#include "particleuniverse/include/ParticleUniverseSystemManager.h" 50 51 51 52 namespace orxonox … … 83 84 fire->setOrientation(this->getOrientation()); 84 85 fire->setSource("Orxonox/rocketfire"); 86 87 // Add Particle Universe Effects 88 //ParticleUniverse::ParticleSystemManager* pManager = ParticleUniverse::ParticleSystemManager::getSingletonPtr(); 89 //ParticleUniverse::ParticleSystem* pSys1 = pManager->createParticleSystem("pSys1", "bubbles", this->getScene()->getSceneManager()); 90 //this->attachOgreObject(pSys1); 85 91 86 92 this->enableCollisionCallback(); … … 223 229 void Rocket::destructionEffect() 224 230 { 225 ParticleSpawner *effect1, *effect2 ;231 ParticleSpawner *effect1, *effect2, *effect3, *effect4, *effect5; 226 232 if(this->getShooter()) 227 233 { 228 234 effect1 = new ParticleSpawner(this->getShooter()->getContext()); 229 235 effect2 = new ParticleSpawner(this->getShooter()->getContext()); 236 effect3 = new ParticleSpawner(this->getShooter()->getContext()); 237 effect4 = new ParticleSpawner(this->getShooter()->getContext()); 238 effect5 = new ParticleSpawner(this->getShooter()->getContext()); 230 239 } 231 240 else … … 233 242 effect1 = new ParticleSpawner(this->getContext()); 234 243 effect2 = new ParticleSpawner(this->getContext()); 244 effect3 = new ParticleSpawner(this->getContext()); 245 effect4 = new ParticleSpawner(this->getContext()); 246 effect5 = new ParticleSpawner(this->getContext()); 235 247 } 236 248 … … 238 250 effect1->setOrientation(this->getOrientation()); 239 251 effect1->setDestroyAfterLife(true); 240 effect1->setSource(" Orxonox/explosion4");252 effect1->setSource("orxonox/explosion_flash"); 241 253 effect1->setLifetime(2.0f); 242 254 … … 244 256 effect2->setOrientation(this->getOrientation()); 245 257 effect2->setDestroyAfterLife(true); 246 effect2->setSource(" Orxonox/smoke4");258 effect2->setSource("orxonox/explosion_flame"); 247 259 effect2->setLifetime(3.0f); 260 261 effect3->setPosition(this->getPosition()); 262 effect3->setOrientation(this->getOrientation()); 263 effect3->setDestroyAfterLife(true); 264 effect3->setSource("orxonox/explosion_shockwave"); 265 effect3->setLifetime(3.0f); 266 267 effect4->setPosition(this->getPosition()); 268 effect4->setOrientation(this->getOrientation()); 269 effect4->setDestroyAfterLife(true); 270 effect4->setSource("orxonox/explosion_sparks"); 271 effect4->setLifetime(3.0f); 272 273 effect5->setPosition(this->getPosition()); 274 effect5->setOrientation(this->getOrientation()); 275 effect5->setDestroyAfterLife(true); 276 effect5->setSource("orxonox/explosion_streak1"); 277 effect5->setLifetime(3.0f); 248 278 } 249 279 -
code/branches/ParticleEffectsFS15/src/modules/weapons/weaponmodes/CMakeLists.txt
r7163 r10428 6 6 LightningGun.cc 7 7 RocketFire.cc 8 RocketFireOld.cc 8 9 SimpleRocketFire.cc 9 10 ) -
code/branches/ParticleEffectsFS15/src/orxonox/worldentities/CMakeLists.txt
r8706 r10428 12 12 SpawnPoint.cc 13 13 TeamSpawnPoint.cc 14 14 15 ) 15 16
Note: See TracChangeset
for help on using the changeset viewer.