Changeset 10592
- Timestamp:
- Sep 24, 2015, 1:23:47 PM (9 years ago)
- Location:
- code/branches/towerdefenseFabien
- Files:
-
- 4 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFabien/data/levels/jump.oxw
r10262 r10592 256 256 </attached> 257 257 </MovableEntity> 258 259 <EventDispatcher> 260 <targets> 261 <EventTarget target=scoreeffect_right /> 262 <EventTarget target=scoreeffect_center /> 263 </targets> 264 <events> 265 <spawn> 266 <EventFilter> 267 <names> 268 <EventName name=right /> 269 </names> 270 <EventListener event=jumpcenter /> 271 </EventFilter> 272 </spawn> 273 </events> 274 </EventDispatcher> 275 <EventDispatcher> 276 <targets> 277 <EventTarget target=scoreeffect_left /> 278 <EventTarget target=scoreeffect_center /> 279 </targets> 280 <events> 281 <spawn> 282 <EventFilter> 283 <names> 284 <EventName name=left /> 285 </names> 286 <EventListener event=jumpcenter /> 287 </EventFilter> 288 </spawn> 289 </events> 290 </EventDispatcher> 291 258 292 259 </Scene> 293 260 </Level> -
code/branches/towerdefenseFabien/data/levels/towerDefense.oxw
r10591 r10592 66 66 </links> 67 67 <Weapon> 68 <HsW01 mode=0 munitionpershot=0 muzzleoffset="0,0, -30" damage=2 shielddamage=1 material="Flares/point_lensflare" delay=0/>68 <HsW01 mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=1 material="Flares/point_lensflare" delay=0/> 69 69 </Weapon> 70 70 </WeaponPack> … … 103 103 </links> 104 104 <Weapon> 105 <LightningGun mode=0 munitionpershot=0 muzzleoffset="0,0, -30" damage=2 shielddamage=4 />105 <LightningGun mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 /> 106 106 </Weapon> 107 107 </WeaponPack> 108 108 </weapons> 109 109 <attached> 110 <Backlight position="0, -100,0" scale=2.0 colour="0.4, 0.0, 1.0" width=10 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />110 <Backlight position="0,0,0" scale=2.0 colour="0.4, 0.0, 1.0" width=10 length=10 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> 111 111 </attached> 112 112 </TowerDefenseTower> … … 143 143 </links> 144 144 <Weapon> 145 < EnergyDrink mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4/>145 <SplitGun mode=0 munitionpershot=0 damage=9.3 muzzleoffset=" 1.6, 1.3, -2.0" splittime=0.2 numberofsplits=2 numberofchilds=5 spread=0.1 /> 146 146 </Weapon> 147 147 </WeaponPack> … … 180 180 </links> 181 181 <Weapon> 182 < FusionFire mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4 />182 <RocketFire mode=0 munitionpershot=0 muzzleoffset="0,0,0" damage=2 shielddamage=4 /> 183 183 </Weapon> 184 184 </WeaponPack> 185 185 </weapons> 186 186 <attached> 187 <ParticleSpawner position="0, -100,0" source="Orxonox/sparks" lifetime=3.0 autostart=1 loop=1 />187 <ParticleSpawner position="0,0,0" source="Orxonox/sparks" lifetime=3.0 autostart=1 loop=1 /> 188 188 </attached> 189 189 </TowerDefenseTower> … … 220 220 </links> 221 221 <Weapon> 222 < LaserFire mode=0 munitionpershot=0 muzzleoffset="0,0,-30" damage=2 shielddamage=4 />222 <SimpleRocketFire mode=0 muzzleoffset="0,0,0" damage=30 shielddamage=20 /> 223 223 </Weapon> 224 224 </WeaponPack> … … 454 454 <SpawnPoint team=0 position="0,0,0"/> 455 455 456 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_S1.mesh" scale=25/>457 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_S2.mesh" scale=25/>458 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_S3.mesh" scale=25/>459 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_S4.mesh" scale=25/>460 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_S5.mesh" scale=25/>461 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_T1.mesh" scale=25/>462 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_T2.mesh" scale=25/>463 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_T3.mesh" scale=25/>464 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_T4.mesh" scale=25/>465 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_T5.mesh" scale=25/>466 <Model position="0,0, -1000" pitch=90 lodLevel=1 mesh="TD_F1.mesh" scale=25/>456 <Model position="0,0,10000" lodLevel=1 mesh="TD_S1.mesh" scale=1/> 457 <Model position="0,0,10000" lodLevel=1 mesh="TD_S2.mesh" scale=1/> 458 <Model position="0,0,10000" lodLevel=1 mesh="TD_S3.mesh" scale=1/> 459 <Model position="0,0,10000" lodLevel=1 mesh="TD_S4.mesh" scale=1/> 460 <Model position="0,0,10000" lodLevel=1 mesh="TD_S5.mesh" scale=1/> 461 <Model position="0,0,10000" lodLevel=1 mesh="TD_T1.mesh" scale=1/> 462 <Model position="0,0,10000" lodLevel=1 mesh="TD_T2.mesh" scale=1/> 463 <Model position="0,0,10000" lodLevel=1 mesh="TD_T3.mesh" scale=1/> 464 <Model position="0,0,10000" lodLevel=1 mesh="TD_T4.mesh" scale=1/> 465 <Model position="0,0,10000" lodLevel=1 mesh="TD_T5.mesh" scale=1/> 466 <Model position="0,0,10000" lodLevel=1 mesh="TD_F1.mesh" scale=1/> 467 467 468 468 <!-- PlayField --> -
code/branches/towerdefenseFabien/src/modules/towerdefense/TowerDefense.cc
r10591 r10592 81 81 #include "chat/ChatManager.h" 82 82 #include "core/CoreIncludes.h" 83 /* Part of a temporary hack to allow the player to add towers */84 #include "core/command/ConsoleCommand.h"85 86 83 87 84 namespace orxonox … … 103 100 this->waveSize_ = 0; 104 101 offset_ = Vector3(0,0,10); 105 106 //this->stats_ = new TowerDefensePlayerStats();107 102 } 108 103 … … 178 173 179 174 en1->setTeam(2); 180 181 //orxonox::WeakPtr<WaypointController> controller = new WaypointController(this->center_->getContext());182 //controller->setControllableEntity(en1);183 //en1->setController(controller);184 175 185 176 WaypointController* controller = (WaypointController*)(en1->getXMLController()); … … 340 331 timeSinceLastSpawn_ = 0.0; 341 332 342 timeUntilNextWave_ = waveNumber_+ 10;333 timeUntilNextWave_ = waveNumber_+20; 343 334 waveSize_ = waveNumber_+5; 344 335 } -
code/branches/towerdefenseFabien/src/modules/weapons/WeaponsPrereqs.h
r8855 r10592 79 79 class BillboardProjectile; 80 80 class LightningGunProjectile; 81 class SplitGunProjectile; 81 82 class ParticleProjectile; 82 83 class Projectile; … … 90 91 class LaserFire; 91 92 class LightningGun; 93 class SplitGun; 92 94 class RocketFire; 93 95 class SimpleRocketFire; -
code/branches/towerdefenseFabien/src/modules/weapons/projectiles/BillboardProjectile.cc
r9667 r10592 88 88 /** 89 89 @brief 90 Get the material of the BillboardProjectile. 91 @return 92 The material name. 93 */ 94 const std::string& BillboardProjectile::getMaterial() 95 { 96 return this->billboard_.getMaterial(); 97 } 98 99 /** 100 @brief 90 101 Is called when the visibility of the BillboardProjectile has changed. 91 102 */ -
code/branches/towerdefenseFabien/src/modules/weapons/projectiles/BillboardProjectile.h
r9667 r10592 60 60 virtual void setColour(const ColourValue& colour); 61 61 virtual void setMaterial(const std::string& material); 62 virtual const std::string& getMaterial(); 62 63 virtual void changedVisibility(); 63 64 -
code/branches/towerdefenseFabien/src/modules/weapons/projectiles/CMakeLists.txt
r8855 r10592 5 5 Projectile.cc 6 6 LightningGunProjectile.cc 7 SplitGunProjectile.cc 7 8 Rocket.cc 8 9 SimpleRocket.cc 10 SplitGunProjectile.cc 9 11 ) -
code/branches/towerdefenseFabien/src/modules/weapons/weaponmodes/CMakeLists.txt
r7163 r10592 5 5 HsW01.cc 6 6 LightningGun.cc 7 SplitGun.cc 7 8 RocketFire.cc 8 9 SimpleRocketFire.cc
Note: See TracChangeset
for help on using the changeset viewer.