View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004181 | The Dark Mod | Design/Coding | public | 19.07.2015 19:15 | 23.07.2015 18:27 |
Reporter | SteveL | Assigned To | SteveL | ||
Priority | normal | Severity | normal | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.03 | ||||
Target Version | TDM 2.04 | Fixed in Version | TDM 2.04 | ||
Summary | 0004181: Melee weapons should be able to break glass in one hit | ||||
Description | Melee weapons should be able to break glass in one hit, if the weapon damage is greater than the glass' health. | ||||
Additional Information | To break a func_facture like glass, you have to first reduce its health to 0 and then apply any kind of touch or impulse to make the glass shatter. Thrown items and arrows can break glass in one hit. That's because the moveable collision code first applies damage then applies a physics force, in that order. Melee weapons don't break glass in one hit because they do it the other way round: first the force, then the damage. It's all done in the weapons Think() routine, and there's not much going on between the two effects, so we should try switching them round. | ||||
Tags | No tags attached. | ||||
child of | 0004177 | new | Func_fractures overhaul |
On second thoughts, there's no need to alter the MeleeWeapon code and risk unforeseen side-effects. Now that we have a general Damage() function for glass (idBrittleFracture) as a result of 0004180, we can simply have it raise a Touch event after any damage, which will shatter glass that's at 0 health |
|
At rev 6520 game/BrittleFracture.cpp |
|
Date Modified | Username | Field | Change |
---|---|---|---|
19.07.2015 19:15 | SteveL | New Issue | |
19.07.2015 19:15 | SteveL | Status | new => assigned |
19.07.2015 19:15 | SteveL | Assigned To | => SteveL |
19.07.2015 19:15 | SteveL | Relationship added | child of 0004177 |
23.07.2015 18:19 | SteveL | Note Added: 0007661 | |
23.07.2015 18:20 | SteveL | Note Edited: 0007661 | |
23.07.2015 18:27 | SteveL | Note Added: 0007662 | |
23.07.2015 18:27 | SteveL | Status | assigned => resolved |
23.07.2015 18:27 | SteveL | Fixed in Version | => TDM 2.04 |
23.07.2015 18:27 | SteveL | Resolution | open => fixed |