[Mod] Throwing [0.13] [throwing]
[Mod] Throwing [0.13] [throwing]
Hey!
This mod adds simple bows and arrows to minetest.
There is no good texture for them yet... Send in yours if you want to and I'll add them to my mod.
Crafting Recipes:
And some screenshots...
You can use the code to add your own throwable things...
What about TNT/Grenades/whatever?
I think the scriptapi should have a possibility to get the name of an object, this gave me the possibility to make arrows disappear when they hit a mob. Would be nice if someone added that.
There still seems to be a bug: The bow sometimes disappears when shooting, especially when a game has just started, but this doesn't seem to be a mod issue.
Works from minetest 20111228 and better - you may have to compile this from github!
Download
V 0.1 as .tar.gz
V 0.11 as .tar.gz
V 0.12 as .tar.gz
V 0.13 as .tar.gz
Latest git as .zip
Latest git as .tar.gz
Dependencies: none
Cheers,
Jeija
License: WTFPL
This mod adds simple bows and arrows to minetest.
There is no good texture for them yet... Send in yours if you want to and I'll add them to my mod.
Crafting Recipes:
And some screenshots...
You can use the code to add your own throwable things...
What about TNT/Grenades/whatever?
I think the scriptapi should have a possibility to get the name of an object, this gave me the possibility to make arrows disappear when they hit a mob. Would be nice if someone added that.
There still seems to be a bug: The bow sometimes disappears when shooting, especially when a game has just started, but this doesn't seem to be a mod issue.
Works from minetest 20111228 and better - you may have to compile this from github!
Download
V 0.1 as .tar.gz
V 0.11 as .tar.gz
V 0.12 as .tar.gz
V 0.13 as .tar.gz
Latest git as .zip
Latest git as .tar.gz
Dependencies: none
Cheers,
Jeija
License: WTFPL
Last edited by Jeija on Sun Jan 27, 2013 19:02, edited 1 time in total.
- jordan4ibanez
- Member
- Posts: 1923
- Joined: Tue Sep 27, 2011 18:44
- GitHub: jordan4ibanez
- IRC: jordan4ibanez
- In-game: jordan4ibanez
I ever so slightly altered the textures they might look a bit better
https://www.sugarsync.com/pf/D6068353_8269537_298551
https://www.sugarsync.com/pf/D6068353_8269537_298551
Zen S.D.
The next generation of tranquility!malheureusement mon français n'est pas bon :<
Owner of the Zelo's
In game name: MuadTralk, spdtainted, sdzen, sd zen, sdzeno
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
Jeija, you can get strings from RTMMP's version of ROPE mod. RTMMP's ROPE mod depends on RTMMP's FLOWERS mod.
My game: RTMG
GENTOO USER
GENTOO USER
-
- Member
- Posts: 180
- Joined: Tue Nov 01, 2011 18:53
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
Are you idiot?sfan5 wrote:It's 75% the best possible realizationHackeridze wrote:Bad realization.
Code: Select all
local objs = minetest.env:get_objects_inside_radius({x=playerpos.x,y=playerpos.y,z=playerpos.z}, 2)
minetest.env:add_entity() should return objref to added entity. Just simple patch.
My game: RTMG
GENTOO USER
GENTOO USER
I agree with that, would need it in animals mod toominetest.env:add_entity() should return objref to added entity. Just simple patch.
But i don't agree with those insultings, don't we all want to improove minetest? It would be strange if we all had the same opinion how to do that.
DON'T mention coding style!
(c) sapier all rights reserved
(c) sapier all rights reserved
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
So you just mistaken in suggestion about code-quality?sfan5 wrote:NoHackeridze wrote:Are you idiot?sfan5 wrote: It's 75% the best possible realization
My game: RTMG
GENTOO USER
GENTOO USER
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
And how does code-quality associated with calling sombody an idiot? And, it's really looks like good realisation, without modification of actual C++ code.So you just mistaken in suggestion about code-quality?
Who I call an idiot?
Вот из-за таких мудрецов как ты, русских и считают упоротыми бананами 95% иностранцев.Are you idiot?
Sorry for my bad English and Russian, lol.
If you don't like the mod, Hackeridze, just ignore it!
It was, as sfan said, the 75% best possible solution without changing the minetest c++ source.
I don't want to have any dependencies for my mods, that's why I didn't use any other mods or create a custom minetest version...
RTMMMP's things can be added when creating a mod-pack.
And as I already said, there should also be a way to get the name of an object when you have the objref.
@sdzen: Gonna implement your textures. Thx!!
It was, as sfan said, the 75% best possible solution without changing the minetest c++ source.
I don't want to have any dependencies for my mods, that's why I didn't use any other mods or create a custom minetest version...
RTMMMP's things can be added when creating a mod-pack.
I agreeOkay, we need a patch:
minetest.env:add_entity() should return objref to added entity.
And as I already said, there should also be a way to get the name of an object when you have the objref.
@sdzen: Gonna implement your textures. Thx!!
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
People in your country are wrong.sapier wrote:I appologize if I did translate it wrong but in my country asking this question is almost exactly the same as calling.Are you idiot?
Im just find bad code and say it for you, so now you know how to fix your mistakes.sapier wrote:If you don't like the mod, Hackeridze, just ignore it!
He said:sapier wrote:It was, as sfan said, the 75% best possible solution without changing the minetest c++ source.
sfan5 wrote:It's 75% the best possible realization
It will added then minetest.env:add_entity() will return objref of added entity.sapier wrote:RTMMMP's things can be added when creating a mod-pack.
Tsumiman, тебя никто не спрашивал. Я же не говорю, кем считаю их?
Because we can forgive idiot's mistakes.Tsumiman wrote:And how does code-quality associated with calling sombody an idiot?
My game: RTMG
GENTOO USER
GENTOO USER
- Hackeridze
- Member
- Posts: 310
- Joined: Thu Nov 03, 2011 13:35
/facepalmsapier wrote:<ironic> Yes, I think we can do that</ironic>Because we can forgive idiot's mistakes.
My game: RTMG
GENTOO USER
GENTOO USER
"possible realization" means realization without changing C++ code, that's quite obviously. If minetest.env:add_entity() behavior would be changed, then there will be better realization.It's 75% the best possible realization
Also, I should admit, that asking if somebody is an idiot only shows that you are a moron, who don't know how to lead a discussion. In any language and country.
Last edited by Tsumiman on Sun Jan 01, 2012 21:16, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 4 guests