-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frag cleanup #874
Frag cleanup #874
Conversation
*Moved GVAR(enabled) into ACE_Settings.hpp *Replaced BIS_fnc_magnitude with vectorMagnitude *Renamed Nou_GBU12 *Added G_40mm_HE config data
We should also disable the firedEH if the projectile does not inherit from GrenadeBase. |
Why would we disable the firedEH for that? Tons of other things that cause frag inherit from stuff other than GrenadeBase.... |
#include "script_component.hpp" | ||
private ["_round"]; | ||
_round = _this select 0; | ||
GVAR(blackList) set[(count GVAR(blackList)), _round]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we removing the blacklist? This function might actually be useful to keep around. Though we do need to adjust it to a pushback.
Makes sense.
No, the blacklist is still in place, but the addBlackList function was never called, so I removed it for now. |
But we could use it for access by third parties. That way we do not have to expose the variable, but only the function. ref: #820 |
Agreed: 3c92cab |
* Added missing privates * Removed unused privates * Replaced some old vector calculations with new vector commands
@NouberNou, can we merge it? |
Lets do #342 in this branch too first, and then merge. |
Ok |
By just simply looking I assume GBU12 will spawn loads of shrapnels? Will it impact framerate? |
Well you shouldn't be dropping 50 GBU's all at the same time, so no :p |
Those are done:
|
I will merge this tomorrow, if there are no objections. |
Fixes: #824
Review needed.