Difference between revisions of "M GUNEXP"
From Project X Wiki
Line 8: | Line 8: | ||
Parameters : | Parameters : | ||
− | params[0] - damage type. 1 - fire, 3 - shotgun (gotta check for more) 10 - axe (damage in percent), 0 - simple | + | 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[1] - x coordinate | ||
fparams[2] - y coordinate | fparams[2] - y coordinate | ||
Line 14: | Line 14: | ||
fparams[4] - y force | fparams[4] - y force | ||
params[5] - damage | params[5] - damage | ||
− | params[6] - | + | 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. |
Revision as of 15:58, 25 September 2013
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.