View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000684 | Spring engine | General | public | 2007-11-15 23:55 | 2007-11-18 02:33 |
| Reporter | KDR_11k | Assigned To | Kloot | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | ||
| Summary | 0000684: [patch] additional CEG functions | ||||
| Description | This patch adds three opcodes to the CEG definitions: - m (modulo or sawtooth wave) returns the remainder of the runing value divided by m's parameter (so 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 (k is often used as the name for the variable meaning an integral multiple of a certain value) Additionally, all weapons that have one now supply their remaining ttl as the damage param to their trail CEG (Flame uses curTime instead). This patch also adds the set constant CEG_DAMAGE (99), it defines the damage value for all CEGs triggered with 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. It also fixes the bug where an explosion in the air over water is considered a water explosion (switches the order in which air and water explosions are determined) and it prevents LaserProjectiles from emitting their CEG once checkCol is false (e.g. when the laser has impacted and is contracting). | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-11-15 23:55 | KDR_11k | New Issue | |
| 2007-11-15 23:55 | KDR_11k | File Added: cegTweaks.patch | |
| 2007-11-17 13:07 | KDR_11k | File Added: cegTweaks_update.patch | |
| 2007-11-17 13:07 | KDR_11k | Note Added: 0001438 | |
| 2007-11-17 19:34 | Kloot | Note Added: 0001444 | |
| 2007-11-18 02:33 | Kloot | Note Added: 0001446 | |
| 2007-11-18 02:33 | Kloot | Status | new => resolved |
| 2007-11-18 02:33 | Kloot | Resolution | open => fixed |
| 2007-11-18 02:33 | Kloot | Assigned To | => Kloot |