Changeset 8635
- Timestamp:
- May 28, 2011, 4:15:12 PM (14 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/data/particle/Shield.particle
r8580 r8635 9 9 renderer billboard 10 10 sorted false 11 local_space false11 local_space true 12 12 iteration_interval 0 13 13 nonvisible_update_timeout 0 -
code/branches/presentation/src/modules/weapons/projectiles/BasicProjectile.cc
r8580 r8635 118 118 { 119 119 ParticleSpawner* effect = new ParticleSpawner(owner->getCreator()); 120 effect->setPosition(entity->getPosition());121 effect->setOrientation(entity->getOrientation());122 120 effect->setDestroyAfterLife(true); 123 121 effect->setSource("Orxonox/Shield"); 124 122 effect->setLifetime(0.5f); 123 victim->attach(effect); 125 124 } 126 125 }
Note: See TracChangeset
for help on using the changeset viewer.