Loading...
  OR  Zero-K Name:    Password:   

Post edit history

What is impulse damage and how does it work?

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
5/3/2019 9:27:22 PMEErankAdminAnarchid before revert after revert
5/3/2019 9:26:58 PMEErankAdminAnarchid before revert after revert
5/3/2019 9:26:24 PMEErankAdminAnarchid before revert after revert
5/3/2019 9:26:04 PMEErankAdminAnarchid before revert after revert
5/3/2019 9:23:59 PMEErankAdminAnarchid before revert after revert
Before After
1 Engine has some built-in weapondef [url=https://springrts.com/wiki/Gamedev:WeaponDefs#Area_Of_Effect.2C_Impulse_.26_Cratering]parameters[/url] that control impulse. 1 Engine has some built-in weapondef [url=https://springrts.com/wiki/Gamedev:WeaponDefs#Area_Of_Effect.2C_Impulse_.26_Cratering]parameters[/url] that control impulse.
2 \n 2 \n
3 ZK then overwrites these defaults using the [url=https://springrts.com/wiki/Lua:Callins#Damage_Controllers]UnitPreDamaged[/url] in the [url=https://github.com/ZeroK-RTS/Zero-K/blob/8b8a1ce605f3a876ab3c31d1fa15fd9ecf082655/LuaRules/Gadgets/weapon_impulse.lua]weapon_impulse[/url] gadget, based on some of its own defaults, and more importantly, the [url=https://github.com/ZeroK-RTS/Zero-K/blob/f373e6a3c78e7819709aa7a1cd1d4c2500262663/units/jumpsumo.lua#L174]impulse[/url] weaponDef customParam. 3 ZK then overwrites these defaults using the [url=https://springrts.com/wiki/Lua:Callins#Damage_Controllers]UnitPreDamaged[/url] in the [url=https://github.com/ZeroK-RTS/Zero-K/blob/8b8a1ce605f3a876ab3c31d1fa15fd9ecf082655/LuaRules/Gadgets/weapon_impulse.lua]weapon_impulse[/url] gadget, based on some of its own defaults, and more importantly, the [url=https://github.com/ZeroK-RTS/Zero-K/blob/f373e6a3c78e7819709aa7a1cd1d4c2500262663/units/jumpsumo.lua#L174]impulse[/url] weaponDef customParam.
4 \n 4 \n
5 IIRC the ZK gadget also mostly reimplements impulse handling because engine has/had some weirdnesses. 5 IIRC the ZK gadget also mostly reimplements impulse handling because engine has/had some weirdnesses.
6 \n 6 \n
7 [spoiler]most of this is findable by searching for impulse in zk github and duckduckgoing for "impulse site:springrts. com/wiki", but i guess knowing where and how to search is half the answer anyway. [/spoiler] 7 [spoiler]Most of this is findable by searching for impulse in zk github and duckduckgoing for "impulse site:springrts. com/wiki", but i guess knowing where and how to search is half the answer anyway. Hence why it's included here![/spoiler]