M_GUNEXP

From Project X Wiki
Revision as of 15:59, 25 September 2013 by Zed (talk | contribs)
Jump to: navigation, search
Up one category:
EMType

Applies damage and force to object.

This message is synchronized between the machines.

Parameters :

params[0] - damage type. 1 - fire, 3 - shotgun (gotta check for more) 10 - axe (damage in percent), 0 - simple, 8 - firepunch
fparams[1] - x coordinate
fparams[2] - y coordinate
fparams[3] - x force
fparams[4] - y force
params[5] - damage
params[6] - attacker team (0 - don't care)
Firepunch tests, to the right:
8 - damage type
42041344 - x coordinate should be divided or wat?
35274095
245737 - i have no idea
-425670
30 - damage
2 - thats actually damage dealer's team.