Page 1 of 3
[Mod] Throwing, PilzAdam version [throwing]

Posted:
Fri Aug 17, 2012 14:51
by PilzAdam
I've improved the
throwing mod by Jeija.
Changes:
- The arrow is 3D.
- The bow wears out when you shoot.
- The bow is crafted with the strings of my farming mod.
- Stone and steel bow (more uses).
- Fire arrows.
- Teleport arrows.
- Dig arrows (dig the node that they hit).
- Build arrows (places the node that you have in your inventory at the first slot).
Depends:License: WTFPL
GitHub: https://github.com/PilzAdam/throwingDownload: https://github.com/PilzAdam/throwing/zipball/masterOld versions:

Posted:
Fri Aug 17, 2012 14:57
by cornernote
very cool, +1
look forward to seeing uses for this tool

Posted:
Fri Aug 17, 2012 15:09
by Jeija
Good :D
Could you upload some screenshots?

Posted:
Fri Aug 17, 2012 15:41
by PilzAdam
Jeija wrote:Good :D
Could you upload some screenshots?
It looks same as your mod.

Posted:
Fri Aug 17, 2012 16:00
by Belgac
Oh i love the idea of the teleport arrow :)

Posted:
Fri Aug 17, 2012 20:24
by leo_rockway
One quick question: how does the bow pick which type of arrow to shoot?
Keep up the good work! I really like your mods =]

Posted:
Fri Aug 17, 2012 20:26
by InfinityProject
Dang man one amazing mod after another! Absolutely amazing.

Posted:
Fri Aug 17, 2012 21:09
by RealBadAngel
leo_rockway wrote:One quick question: how does the bow pick which type of arrow to shoot?
Keep up the good work! I really like your mods =]
from what i see in the code first found in the inventory

Posted:
Sat Aug 18, 2012 02:57
by mrtux
Nice mod PilzAdam. Now you need to add TNT arrows! :P

Posted:
Sat Aug 18, 2012 10:49
by PilzAdam
RealBadAngel wrote:leo_rockway wrote:One quick question: how does the bow pick which type of arrow to shoot?
Keep up the good work! I really like your mods =]
from what i see in the code first found in the inventory
Thats right. It checkes every slot of the inventory and takes the first arrow.

Posted:
Sat Aug 18, 2012 21:16
by leo_rockway
PilzAdam wrote:RealBadAngel wrote:leo_rockway wrote:One quick question: how does the bow pick which type of arrow to shoot?
Keep up the good work! I really like your mods =]
from what i see in the code first found in the inventory
Thats right. It checkes every slot of the inventory and takes the first arrow.
Thank you for your answers. I should've checked the code, but I felt lazy o.o
I just tried the transport arrow; I like the concept, hehe.

Posted:
Mon Aug 20, 2012 01:24
by InfinityProject
Some arrow ideas:
Lava arrow (adds lava_source on block which it lands)
Water arrow (same as lava but water)
Explosive arrow (the name says it all)
Mob arrow (spawns a mob)
Shadow arrow? (leaves a huge shadow in are of landing... Could this be possible?
Reverse teleport arrow (teleports player or mob or item to you)
Multi arrow (fires multiple arrows at once)
Tree arrow (grows tree instantly on contact with node)
Those are just some ideas.

Posted:
Mon Aug 20, 2012 02:50
by Gambit
Someone needs to make a Molotov cocktail mod so it can be thrown now.

Posted:
Wed Oct 03, 2012 15:42
by alexcraft
how do i craft it ???????????????

Posted:
Wed Oct 03, 2012 15:50
by PilzAdam
alexcraft wrote:how do i craft it ???????????????
bow:
string wood
string wood
string wood
Arrow
stick stick iron

Posted:
Thu Oct 04, 2012 01:13
by cornernote
deploy_nodes adds a new arrow for each deploy type:
sphere arrow
spiral arrow
building arrow
maze arrow
pyramid arrow
etc...

Posted:
Sat Oct 13, 2012 16:34
by PilzAdam
Little update:
The arrow in the inventory at the right of the bow is taken instead of the first arrow in the inventory. So you can have more bows that shoot different arrows without open the inventory.

Posted:
Sat Oct 13, 2012 16:41
by Temperest
Good idea! I'd like to see it documented in the README though, along with the arrow types and what they do.

Posted:
Sat Oct 13, 2012 16:52
by PilzAdam
Temperest wrote:Good idea! I'd like to see it documented in the README though, along with the arrow types and what they do.
This goes directly into my TODO list.

Posted:
Mon Oct 15, 2012 09:41
by CaKeSs
Problem here! It crashes mintest. I still like it.

Posted:
Mon Oct 15, 2012 14:41
by PilzAdam
CaKeSs wrote:It crashes mintest.
Can you give more information?

Posted:
Mon Nov 12, 2012 01:24
by Nubelite
When you hit another player the game crashes with the following error.
error_message = ServerError: LuaError: error running function 'on_step': attempt to index a number value
It appears to be the damage the arrow causes.
maybe using
obj:set_hp(obj:get_hp() - ArrowDamage)
might work
or having a function be called to figure out the damage based on the players armor value, so this can work well with the armor mod.

Posted:
Mon Nov 12, 2012 15:32
by PilzAdam
Nubelite wrote:When you hit another player the game crashes with the following error.
error_message = ServerError: LuaError: error running function 'on_step': attempt to index a number value
It appears to be the damage the arrow causes.
maybe using
obj:set_hp(obj:get_hp() - ArrowDamage)
might work
or having a function be called to figure out the damage based on the players armor value, so this can work well with the armor mod.
This error only appears in 0.4.3 stable. It is fixed in the current development version.

Posted:
Tue Nov 13, 2012 16:59
by Inocudom
What is the current development version? This mod has potential.

Posted:
Fri Nov 16, 2012 16:07
by Vent EXZX
IT DOES NOT WORK ON MY MINE TEST
IT GOES: throw/init.lua

Posted:
Fri Nov 16, 2012 17:44
by PilzAdam
Vent EXZX wrote:IT DOES NOT WORK ON MY MINE TEST
IT GOES: throw/init.lua
Sorry, Mr. Capslock, but this mod does not work with 0.4.3 stable. You can try it with sfan5's windows builds.

Posted:
Sat Nov 17, 2012 17:04
by iPlay
PilzAdam wrote:Vent EXZX wrote:IT DOES NOT WORK ON MY MINE TEST
IT GOES: throw/init.lua
Sorry, Mr. Capslock, but this mod does not work with 0.4.3 stable. You can try it with sfan5's windows builds.
if you whant to use the mode without reinstalling minetest, try a old version

Posted:
Sat Nov 17, 2012 17:07
by iPlay
iPlay wrote:PilzAdam wrote:Vent EXZX wrote:IT DOES NOT WORK ON MY MINE TEST
IT GOES: throw/init.lua
Sorry, Mr. Capslock, but this mod does not work with 0.4.3 stable. You can try it with sfan5's windows builds.
if you whant to use the mode without reinstalling minetest, try a old version
but the funny fact is that youd better get jeija`s throwing, because it is realistic, cause in this mode, when you shot a arrow to a block, it doesnt gets stuck on the wall, and you can get it back and use it, in jeija`s, it stops in the block, and i think that jeija`s mod looks better

Posted:
Sat Feb 02, 2013 12:23
by Mito551

Posted:
Sat Feb 02, 2013 12:24
by Calinou
Mito551 wrote:I made some textures for this:
-snip-
Looks good. :)