[Mod] Grenades API [grenades]
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
[Mod] Grenades API [grenades]
Grenades API
Adds an API for easily creating throwable grenades.
Downloads: Latest Stable
View: On ContentDB
View: Source Code
License: MIT
Depends: None
Optional Depends: None
Adds an API for easily creating throwable grenades.
Downloads: Latest Stable
View: On ContentDB
View: Source Code
License: MIT
Depends: None
Optional Depends: None
Last edited by Lone_Wolf on Sun Feb 09, 2020 19:26, edited 12 times in total.
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.5]
Update!
- Flashbang was nerfed
- Regular grenade was nerfed a little too much, undid this
- Added crafting recipes
- Fixed a bug with the flashbang
- Few other minor changes
- DELTA_FORCE
- Member
- Posts: 165
- Joined: Tue Oct 30, 2018 01:26
- IRC: DELTA_FORCE
- In-game: DELTA_FORCE
- Location: ee
Re: [Mod] Grenades [grenades] [v0.5]
So what exactly is in the mod? Maybe specifying what is in the mod would make it more appealing.
check me out nowhere because i never do anything
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.5]
DELTA_FORCE wrote:So what exactly is in the mod? Maybe specifying what is in the mod would make it more appealing.
Spoiler
Three place-able and throw-able grenades. And an API to add more.
Grenades
Grenades
- Regular - When it explodes it kills all players nearby.
- Flashbang - When it explodes it temporarily blinds any players looking at it
- Smoke - When it explodes it creates a cloud of swirling smoke you can't see through
- DELTA_FORCE
- Member
- Posts: 165
- Joined: Tue Oct 30, 2018 01:26
- IRC: DELTA_FORCE
- In-game: DELTA_FORCE
- Location: ee
Re: [Mod] Grenades [grenades] [v0.5]
Ok cool thanks!
check me out nowhere because i never do anything
- BrunoMine
- Member
- Posts: 1082
- Joined: Thu Apr 25, 2013 17:29
- GitHub: BrunoMine
- Location: SP-Brasil
- Contact:
Re: [Mod] Grenades [grenades] [v0.5]
I've been thinking about it for some time. Thanks for the initiative, I want to help with the API to support the future grenades I want to do.
These initiatives save a lot of development time.
I do not know if you know how to work cooperatively or if you want to get help on this project, in that case you can expect me in github.
Screenshots on the first post, please.
These initiatives save a lot of development time.
I do not know if you know how to work cooperatively or if you want to get help on this project, in that case you can expect me in github.
Screenshots on the first post, please.
Re: [Mod] Grenades [grenades] [v0.5]
An idea: how-about it someone shoots a placed grenade it sets it off? :D
Hey, what can i say? I'm the bad guy.
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.5]
That would probably be up to the mod that adds the guns. It should be pretty easy to do. If needed I could store the on_explode function in the global grenades variableStix wrote:An idea: how-about it someone shoots a placed grenade it sets it off? :D
Last edited by Lone_Wolf on Sat Nov 24, 2018 04:01, edited 1 time in total.
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.5]
Either works. Whichever is easiest for you. What grenades are you planning on doing?BrunoMine wrote:I do not know if you know how to work cooperatively or if you want to get help on this project, in that case you can expect me in github.
Done. I'll have to get some better ones soon.BrunoMine wrote:Screenshots on the first post, please.
- TumeniNodes
- Member
- Posts: 2941
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: [Mod] Grenades [grenades] [v0.5]
don't forget to add
https://en.wikipedia.org/wiki/M18_Claymore_mine
these could be tuned to work with technics
and RPGs
https://en.wikipedia.org/wiki/M18_Claymore_mine
these could be tuned to work with technics
and RPGs
A Wonderful World
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.5]
lol, tempting. Probably be laggy if it has to check for players every tenth of a second though. Might release it as an 'addon'TumeniNodes wrote:don't forget to add
https://en.wikipedia.org/wiki/M18_Claymore_mine
these could be tuned to work with technics
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.5]
Update!
- Improved API.
- Added API.md file (See original post)
- Added missing depends.txt
- Added trailing smoke particles to smoke grenade (See original post or spoiler below)
- Fixed a bug or two
- Quite a few other things I've forgotten
Spoiler
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades] [v0.8-stable]
Update!
- Added sounds (WIP)
- Improved the grenades
- New license for textures
- Minor improvements
- MCL
- Member
- Posts: 654
- Joined: Mon Aug 20, 2018 00:44
- GitHub: MCLx86
- IRC: migdyn
- In-game: singleplayer
- Contact:
Re: [Mod] Grenades [v0.8] [grenades]
Which version of CC BY?
2014-02-14 - 2024-02-14 TEN YEARS OF MCL
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [v0.8] [grenades]
4.0migdyn wrote:Which version of CC BY?
I've updated the OP. I must have forgotten to put in the version number
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades [grenades]
Update!
- Greatly improved grenade physics
- Remove backwards compat with older version
- A few small tweaks
Re: [Mod] Grenades API [grenades]
In any future will grenades hurt the enviroment and the animals?
NfAPhpmGaVphBjK8NIr9Mit5xNW2emD2
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades API [grenades]
Doesn't make sense for any but the frag grenade, but I've added plant/entity damage to my list for when I get back to my computer, which will be in two weeks.Adnunano wrote:In any future will grenades hurt the enviroment and the animals?
If you were talking about the API: It doesn't handle any of that
Re: [Mod] Grenades API [grenades]
Better than nothing.I look forward to it.Thanks for taking my suggestion.
NfAPhpmGaVphBjK8NIr9Mit5xNW2emD2
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades API [grenades]
Mobs now take damage from other entities.
Terrain damage is already supported it seems. Frag grenades will destroy flora and nodes with the dig_immediate group
Terrain damage is already supported it seems. Frag grenades will destroy flora and nodes with the dig_immediate group
Re: [Mod] Grenades API [grenades]
Astonishing.Again,thanks for making minetest more enjoyable.Now i can quickly kill the bears in the caves.Looks like Mobkit api is unsupported but mods_redo api are supported. Are you planning to add more grenade types like molotov?
NfAPhpmGaVphBjK8NIr9Mit5xNW2emD2
- Lone_Wolf
- Member
- Posts: 2578
- Joined: Sun Apr 09, 2017 05:50
- GitHub: LoneWolfHT
- IRC: LandarVargan
- In-game: LandarVargan
Re: [Mod] Grenades API [grenades]
Yep, eventually. I'll probably do a 'fire_grenades' mod if I can think of some other fire related grenades to doAdnunano wrote:Astonishing.Again,thanks for making minetest more enjoyable.Now i can quickly kill the bears in the caves.Looks like Mobkit api is unsupported but mods_redo api are supported. Are you planning to add more grenade types like molotov?
What mobkit mobs did you test this with? It should work fine with them
Re: [Mod] Grenades API [grenades]
I tested it with petz and wildlife mods.
NfAPhpmGaVphBjK8NIr9Mit5xNW2emD2
Re: [Mod] Grenades API [grenades]
Hp default was buggy so mobkit introduced it own damage system. mobkit.hurt is the function to damage.Lone_Wolf wrote:Yep, eventually. I'll probably do a 'fire_grenades' mod if I can think of some other fire related grenades to doAdnunano wrote:Astonishing.Again,thanks for making minetest more enjoyable.Now i can quickly kill the bears in the caves.Looks like Mobkit api is unsupported but mods_redo api are supported. Are you planning to add more grenade types like molotov?
What mobkit mobs did you test this with? It should work fine with them
Who is online
Users browsing this forum: Bing [Bot] and 13 guests