| spring: develop 2830004a | [ Diff ] [ Back to Repository ] | |||
| Author | Committer | Branch | Timestamp | Parent |
|---|---|---|---|---|
| kloot | kloot | develop | 2007-11-18 02:23:31 | develop 0810f9d3 |
| Changeset | Patch by KDR, Mantis 0000684. Adds three opcodes to the CEG definitions: - m (modulo or sawtooth wave) returns the remainder of the runing value divided by m's parameter (100 m24 returns 4) - s (sine) returns the sine of the running value with the parameter acting as the amplitude - k (discrete) returns the running value floored to an integral multiple of the parameter All weapon projectiles that have a TTL now supply their remaining ttl-value as the damage param to their trail CEG (Flame projectiles use curTime instead). Adds the COB set constant CEG_DAMAGE (99), which defines the damage value for all CEGs triggered by emit-sfx 1024 + x to allow for some variability in the emitted effects (to e.g. make a charging energy ball grow larger or have smoke get progressively darker as the unit's HP decreases). Prevents LaserProjectiles from emitting their CEG once checkCol is false (e.g. when the laser has impacted and is contracting). git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4824 37977431-3df6-0310-b722-df95706aa16b |
|||
| mod - rts/Sim/Projectiles/ExplosionGenerator.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/EmgProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/ExplosiveProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/FireBallProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/FlameProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/LaserProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/MissileProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/StarburstProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Projectiles/WeaponProjectiles/TorpedoProjectile.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Units/COB/CobInstance.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Units/Unit.cpp | [ Diff ] [ File ] | |||
| mod - rts/Sim/Units/Unit.h | [ Diff ] [ File ] | |||
