Changes between Initial Version and Version 5 of Ticket #3610


Ignore:
Timestamp:
Jan 5, 2016, 6:19:27 PM (8 years ago)
Author:
leper
Comment:

Note that there are some details (starting at 03:37) in this irc log: http://irclogs.wildfiregames.com/2015-11-15-QuakeNet-%230ad-dev.log

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3610

    • Property Keywords simple added; projectile system component removed
    • Property Summary Moving missilehit from the shooter component to a system componentProjectiles do not cause any damage if the shooter dies
  • Ticket #3610 – Description

    initial v5  
    11Currently, projectile Damage depends on the shooter being alive.
    22
    3 We want to extend the projectile damage to cause continuous damage overtime ( [http://trac.wildfiregames.com/ticket/1912 ticket1912]) 
     3This should not be the case and to achieve that some of the related logic should be moved from `simulation/components/Attack.js` to `cmpDamage` (in the same directory, which would be a system component created from `simulation/helpers/Damage.js`)
    44
    5 The continuous damage has to occur even after  the death of a shooter and hence the need to move the missilehit component from the shooter component to a system component
     5`cmpDamage` should keep information about who fired (player/entity) and when the damage should be applied. Most of this information is already stored in the current `Damage` helper object.
     6
     7`cmpDamage` then uses a delay (see `cmpTimer` and the current usage of it in `cmpAttack`) to cause this damage.
     8
     9
     10Note that this ticket enables doing #1912 and #1911 (and possibly #1910) without any huge changes.