-
Notifications
You must be signed in to change notification settings - Fork 92
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
Poisonous grenade #1091
Poisonous grenade #1091
Conversation
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.
lol. My apologies! Perhaps I'm too much in a hurry or perhaps I'm overloading myself.
Well I did |
Ready for another review |
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.
Nice, it worked.
There should be no nodes/abms involved in this.
Get the poison grenade explosion pos and check it against the position of all online players in a minetest.after(1) loop that stops when the smoke does
May I ask why? |
ABMs are terribly inefficient, and temporary nodes like your poison one should be avoided whenever possible, since they rely on the explosion area meeting certain conditions (like not being underwater or containing nodes with non-default collisionboxes), and there are usually faster solutions |
I'm stuck here. See my latest commit. |
You got quite far, nice work |
It's working now \o/ |
Co-authored-by: LoneWolfHT <[email protected]>
Co-authored-by: LoneWolfHT <[email protected]>
Co-authored-by: LoneWolfHT <[email protected]>
I don't check Discord anymore. Please let me know regarding the test session(when and where). |
It'll probably take a while. I need to finish working on something else that I want to test |
You want to test this and that together? |
@farooqkz What timezone are you in, and what would an ideal testing time be? |
The ideal time window for me would be about 12-18(UTC) |
@LoneWolfHT When is the testing session? or perhaps yet undecided? |
14:30 UTC on February 27 |
The time seems okay for me. But I won't be able to log into Discord anytime soon. |
How about IRC/Matrix? |
I am available on them. |
|
…e grenades near flags
Regarding kill log, I need some hints. And what do you mean the colour must be stronger? |
It should be less grey/have more color to it You can change the kill log image in this function: https://github.com/MT-CTF/capturetheflag/blob/master/mods/ctf/ctf_modebase/features.lua#L23-L46 |
Added the TODO list to the main post |
@LoneWolfHT ready for review |
Co-authored-by: LoneWolfHT <[email protected]>
…le for poison grenade) Co-authored-by: LoneWolfHT <[email protected]>
This wasn't fixed. I've done so in f4a8d72 |
This PR adds poisonous grenade to the game which poison enemy team members when inside or very close to the smoke.
The poison will never damage the thrower or thrower team. It won't damage the thrower even if they change team.