[Mod] Throwing, PilzAdam version [throwing]

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

[Mod] Throwing, PilzAdam version [throwing]

by PilzAdam » Fri Aug 17, 2012 14:51

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:
  • default
  • bucket
  • fire
  • farming

License: WTFPL

GitHub: https://github.com/PilzAdam/throwing

Download: https://github.com/PilzAdam/throwing/zipball/master

Old versions:
Last edited by PilzAdam on Tue May 21, 2013 13:59, edited 1 time in total.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Fri Aug 17, 2012 14:57

very cool, +1

look forward to seeing uses for this tool
 

User avatar
Jeija
Member
 
Posts: 686
Joined: Fri Dec 23, 2011 21:46

by Jeija » Fri Aug 17, 2012 15:09

Good :D
Could you upload some screenshots?
Redstone for minetest: Mesecons (mesecons.net)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Aug 17, 2012 15:41

Jeija wrote:Good :D
Could you upload some screenshots?

It looks same as your mod.
 

Belgac
Member
 
Posts: 57
Joined: Wed Aug 08, 2012 15:27

by Belgac » Fri Aug 17, 2012 16:00

Oh i love the idea of the teleport arrow :)
Contributor: Plant aging library
Creator: (soon)
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Fri Aug 17, 2012 20:24

One quick question: how does the bow pick which type of arrow to shoot?

Keep up the good work! I really like your mods =]
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Fri Aug 17, 2012 20:26

Dang man one amazing mod after another! Absolutely amazing.
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Fri Aug 17, 2012 21:09

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
Last edited by RealBadAngel on Fri Aug 17, 2012 21:09, edited 1 time in total.
 

User avatar
mrtux
Member
 
Posts: 141
Joined: Mon Jun 25, 2012 02:41

by mrtux » Sat Aug 18, 2012 02:57

Nice mod PilzAdam. Now you need to add TNT arrows! :P
thanks doge
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Aug 18, 2012 10:49

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.
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Sat Aug 18, 2012 21:16

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.
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52

by InfinityProject » Mon Aug 20, 2012 01:24

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.
 

User avatar
Gambit
Member
 
Posts: 452
Joined: Sat Oct 29, 2011 19:31

by Gambit » Mon Aug 20, 2012 02:50

Someone needs to make a Molotov cocktail mod so it can be thrown now.
Current Projects: MineToon | PixelBOX
Gambit's Checkmate Server - 43.65.296.232 - port: 30001
 

User avatar
alexcraft
Member
 
Posts: 66
Joined: Thu Sep 06, 2012 13:12

by alexcraft » Wed Oct 03, 2012 15:42

how do i craft it ???????????????
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Oct 03, 2012 15:50

alexcraft wrote:how do i craft it ???????????????

bow:
string wood
string wood
string wood
Arrow
stick stick iron
Last edited by PilzAdam on Wed Oct 03, 2012 15:51, edited 1 time in total.
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Thu Oct 04, 2012 01:13

deploy_nodes adds a new arrow for each deploy type:
sphere arrow
spiral arrow
building arrow
maze arrow
pyramid arrow
etc...
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Oct 13, 2012 16:34

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.
 

Temperest
Member
 
Posts: 651
Joined: Tue Nov 15, 2011 23:13
GitHub: Uberi

by Temperest » Sat Oct 13, 2012 16:41

Good idea! I'd like to see it documented in the README though, along with the arrow types and what they do.
WorldEdit 1.0 released

The Mesecons Laboratory - the art of Mesecons circuitry
Latest article: Mesecons Basics.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Oct 13, 2012 16:52

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.
 

User avatar
CaKeSs
Member
 
Posts: 48
Joined: Sat Oct 13, 2012 02:48

by CaKeSs » Mon Oct 15, 2012 09:41

Problem here! It crashes mintest. I still like it.
lalalalala, Hit, dig, break, collect! -JusticeV before he fell in lava.
|Youtube||Unrealsoftware Account|Granite Mod|
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Oct 15, 2012 14:41

CaKeSs wrote:It crashes mintest.

Can you give more information?
 

Nubelite
Member
 
Posts: 161
Joined: Mon Jul 16, 2012 23:10

by Nubelite » Mon Nov 12, 2012 01:24

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.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon Nov 12, 2012 15:32

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.
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Tue Nov 13, 2012 16:59

What is the current development version? This mod has potential.
 

Vent EXZX
New member
 
Posts: 9
Joined: Sun Oct 28, 2012 14:24

by Vent EXZX » Fri Nov 16, 2012 16:07

IT DOES NOT WORK ON MY MINE TEST
IT GOES: throw/init.lua
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Nov 16, 2012 17:44

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.
 

User avatar
iPlay
New member
 
Posts: 9
Joined: Fri Nov 09, 2012 17:20

by iPlay » Sat Nov 17, 2012 17:04

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
Give me your fireball!!!
 

User avatar
iPlay
New member
 
Posts: 9
Joined: Fri Nov 09, 2012 17:20

by iPlay » Sat Nov 17, 2012 17:07

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
Give me your fireball!!!
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sat Feb 02, 2013 12:23

I made some textures for this:

Image
Image
Image
Image
Image
Image
Image
Image
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Feb 02, 2013 12:24

Mito551 wrote:I made some textures for this:
-snip-


Looks good. :)
Last edited by Calinou on Sat Feb 02, 2013 12:25, edited 1 time in total.
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 40 guests

cron