Changeset 10669 for code/branches/explosionChunksHS15
- Timestamp:
- Oct 19, 2015, 4:00:00 PM (9 years ago)
- Location:
- code/branches/explosionChunksHS15
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/explosionChunksHS15/data/levels/emptyLevel.oxw
r10629 r10669 13 13 14 14 <?lua 15 include("templates/spaceshipAssff2.oxt") 16 include("templates/spaceshipPirate.oxt") 15 include("templates/spaceshipAssff.oxt") 17 16 include("templates/spaceshipEscort.oxt") 18 include("templates/spaceshipRing.oxt")19 include("templates/spaceshipSwallow.oxt")20 17 ?> 21 18 … … 33 30 <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"/> 34 31 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> 32 33 <SpaceShip 34 team = "1" 35 position = "1000,0,0" 36 explosionchunks = 60 37 > 38 <templates> 39 <Template link=spaceshipassff /> 40 </templates> 41 </SpaceShip> 42 <SpaceShip 43 team = "1" 44 position = "1000,200,0" 45 > 46 <templates> 47 <Template link=spaceshipassff /> 48 </templates> 49 </SpaceShip> 50 <SpaceShip 51 team = "1" 52 position = "1000,400,0" 53 > 54 <templates> 55 <Template link=spaceshipassff /> 56 </templates> 57 </SpaceShip> 35 58 36 59 </Scene> -
code/branches/explosionChunksHS15/data/levels/templates/spaceshipAssff.oxt
r9939 r10669 5 5 spawnparticlesource = "Orxonox/fairytwirl" 6 6 spawnparticleduration = 3 7 explosionchunks = 68 7 9 8 health = 100 -
code/branches/explosionChunksHS15/data/levels/templates/spaceshipEscort.oxt
r9664 r10669 5 5 spawnparticlesource = "Orxonox/fairytwirl" 6 6 spawnparticleduration = 3 7 explosionchunks = 4 7 explosionchunks = 40 8 8 9 9 health = 80 -
code/branches/explosionChunksHS15/src/orxonox/worldentities/BigExplosion.cc
r9952 r10669 80 80 void BigExplosion::init() 81 81 { 82 83 orxout() << "BigExplosion" << endl; 84 82 85 this->debrisEntity1_ = new MovableEntity(this->getContext()); 83 86 this->debrisEntity2_ = new MovableEntity(this->getContext()); -
code/branches/explosionChunksHS15/src/orxonox/worldentities/CMakeLists.txt
r8706 r10669 12 12 SpawnPoint.cc 13 13 TeamSpawnPoint.cc 14 VaydinExplosion.cc 14 15 ) 15 16 -
code/branches/explosionChunksHS15/src/orxonox/worldentities/pawns/Pawn.cc
r10624 r10669 42 42 #include "worldentities/ExplosionChunk.h" 43 43 #include "worldentities/BigExplosion.h" 44 //#include "worldentities/VaydinExplosion.h" 44 45 #include "weaponsystem/WeaponSystem.h" 45 46 #include "weaponsystem/WeaponSlot.h" … … 142 143 XMLPortObject(Pawn, WeaponSet, "weaponsets", addWeaponSet, getWeaponSet, xmlelement, mode); 143 144 XMLPortObject(Pawn, WeaponPack, "weapons", addWeaponPackXML, getWeaponPack, xmlelement, mode); 145 146 //XMLPortObject(Pawn, VaydinExplosion, "vaydinexplosion", addVaydinExplosion, getVaydinExplosion, xmlelement, mode); 144 147 145 148 XMLPortParam(Pawn, "reloadrate", setReloadRate, getReloadRate, xmlelement, mode).defaultValues(0); … … 165 168 void Pawn::tick(float dt) 166 169 { 170 //BigExplosion* chunk = new BigExplosion(this->getContext()); 167 171 SUPER(Pawn, tick, dt); 168 172 … … 375 379 void Pawn::goWithStyle() 376 380 { 381 orxout() << "gowithstyle" << endl; 382 383 377 384 this->bAlive_ = false; 378 385 this->setDestroyWhenPlayerLeft(false); … … 387 394 void Pawn::deatheffect() 388 395 { 396 orxout() << "deatheffect" << endl; 389 397 // play death effect 390 398 /*{
Note: See TracChangeset
for help on using the changeset viewer.