JKGDevs / JediKnightGalaxies

Jedi Knight Galaxies (JKG) is a multiplayer shooter with role playing elements, played out in the Star Wars universe. The project is a full conversion game modification for Jedi Knight: Jedi Academy.
https://www.jkgalaxies.net/
GNU General Public License v2.0
34 stars 12 forks source link

Grenades apply knockback #251

Closed eezstreet closed 6 years ago

eezstreet commented 6 years ago

Before, grenades did not apply knockback because their damage type ("explosion"). But this yields a question: should we have a generic "explosion" damage type, which does not have knockback? Bearing in mind here, that only one damage type can be applied to the firing mode.

DarthFutuza commented 6 years ago

Sure, I would call it area_damage though not explosion, since you expect grenades to have knockback when they're explosion based. eg: Poison grenades should not have knockback, but plasma grenades should.

eezstreet commented 6 years ago

Just needs .wpn changes to implement it now.

Silverfang22 commented 6 years ago

Will do Soon™

eezstreet commented 6 years ago

Fixed this for most grenades. Some grenades still do have knockback. Just note that only damage areas can have the no knockback flag applied. We can tweak this for other grenades later.