| Anonymous | Login | Signup for a new account | 2025-11-08 19:55 UTC |
| My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000525 | Zandronum | [All Projects] Suggestion | public | 2011-07-26 09:35 | 2011-07-27 11:25 | ||||
| Reporter | Tribeam | ||||||||
| Assigned To | |||||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 | ||||
| Product Version | 98d | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000525: ZDoom's Quoted Decorate Damage | ||||||||
| Description | ZDoom's damage decorate property value can be enclosed in quotes to ignore Doom's random damage calculations and make your own calculations. Doom's calculation is "random(1,8)*damage" damage "random(0,3)*damage" This ignores doom's calculation and adds your own. | ||||||||
| Additional Information | I tried to find the revision for this but no luck :/ | ||||||||
| Attached Files | |||||||||
Notes |
|
|
Torr Samaho (administrator) 2011-07-26 11:28 |
> I tried to find the revision for this but no luck :/ Does anybody else know in which revision this was added? |
|
Tribeam (reporter) 2011-07-26 11:42 |
I found it, its r288, soo..it should already be in ST, but I tried it and it didn't seem to work...maybe its a bug? |
|
unknownna (updater) 2011-07-26 11:52 |
'http://www.zdoom.org/Changelog/288/files [^]' * Added support for setting an actor's damage property to an expression through decorate. Just enclose it within parentheses, and the expression will be evaluated exactly as-is without the normal Doom damage calculation. So if you want something that does exactly 6 damage, use a "Damage (6)" property. To deal normal Doom missile damage, you can use "Damage (random(1,8)*6)" instead of "Damage 6". 'http://www.zdoom.org/wiki/Actor_properties#Behavior [^]' Custom damage formulas can be specified by enclosing the value completely within parenthesis. For example: "damage (random(4,8)*5+6)". This bypasses the normal calculation and does the exact damage resulting from the custom formula. |
|
Tribeam (reporter) 2011-07-26 11:56 |
Arg, i feel really stupid, ignore all this, its already there and working, i just did it wrong -_-, sorry :S |
|
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
| Supporters: | No one explicitly supports this issue yet. |
| Opponents: | No one explicitly opposes this issue yet. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-07-26 09:35 | Tribeam | New Issue | |
| 2011-07-26 11:28 | Torr Samaho | Note Added: 0001959 | |
| 2011-07-26 11:42 | Tribeam | Note Added: 0001960 | |
| 2011-07-26 11:52 | unknownna | Note Added: 0001961 | |
| 2011-07-26 11:56 | Tribeam | Note Added: 0001962 | |
| 2011-07-26 11:56 | Edward-san | Note Added: 0001963 | |
| 2011-07-26 12:10 | Edward-san | Note Deleted: 0001963 | |
| 2011-07-27 11:25 | Torr Samaho | Status | new => closed |
| 2011-07-27 11:25 | Torr Samaho | Resolution | open => no change required |
| Copyright © 2000 - 2025 MantisBT Team |