[MOD] Minecraft-like Bows!!! [2.0][bow]

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

[MOD] Minecraft-like Bows!!! [2.0][bow]

by Arcelmi » Wed Aug 16, 2017 13:04

Descripton:


This mod adds bows. To charge the bow you have to hold the RMB. If the bow is full charged the arrow makes more damage and the arrow is much faster than a low charged bow. To shoot the arrow you have to release the RMB.

+ Screenshots


Download Information


Latest Version: 2.0
Download
+ Older versions

GitHub
License: GNU Lesser General Public License v3.0

Dependencies:


  • default mod (found in minetest_game)
  • farming (found in minetest_game)
  • controls

This Mod works with Mobs Redo!

+ Changelog


+ Todo-List
Last edited by Arcelmi on Wed Jun 06, 2018 18:52, edited 13 times in total.
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Stix
Member
 
Posts: 852
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix_ + Demolisher_
In-game: [CTF] Demolisher

Re: [MOD] Minecraft-like Bows!!! [bow]

by Stix » Wed Aug 16, 2017 16:58

OMG OMG!!!!! I have been looking for a bow mod like this for ages!!! +10000
Video-games are the only escape from the harsh reality of some peoples lives. #Hi-five for no good reason --Caleb
Need to know something? "Google it" --GreenDimond
Want to know whats gonna be in the next release of your favorite game? "Bugfixes" --Wuzzy
The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

User avatar
azekill_DIABLO
Member
 
Posts: 7342
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [MOD] Minecraft-like Bows!!! [bow]

by azekill_DIABLO » Wed Aug 16, 2017 17:14

+100000ooooooo¤¤¤¤¤¤¤......
【Voxellar 2.0】 ; 【MILA】 update ; 【Rec_a_MT】 ; 【BB,HD】 update ; 【▶ Youtube】 This person worked too hard to be forgotten: Feedback me!
 

User avatar
Lord_Vlad
Member
 
Posts: 81
Joined: Thu Jul 20, 2017 07:58

Re: [MOD] Minecraft-like Bows!!! [bow]

by Lord_Vlad » Wed Aug 16, 2017 18:15

Same here, I like it very much. I'll try it !
 

User avatar
Andrey01
Member
 
Posts: 1912
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [MOD] Minecraft-like Bows!!! [bow]

by Andrey01 » Wed Aug 16, 2017 19:31

I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [bow]

by Arcelmi » Wed Aug 16, 2017 19:35

But I think it's also more realistic then the other bow mods.
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [bow]

by Arcelmi » Wed Aug 16, 2017 19:36

All people who downloaded this mod before this reply please update the mod with the latest version. There was a bug that the game crashed when rejoining in a world with arrows!
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [bow]

by Arcelmi » Wed Aug 16, 2017 19:40

Andrey01 wrote:I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?

Minetest itself is a clone of MC...
Last edited by Arcelmi on Thu Aug 17, 2017 06:59, edited 1 time in total.
I don't speak very good English... | My mods

I've got a signature!
 

sofar
Developer
 
Posts: 1632
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: [MOD] Minecraft-like Bows!!! [bow]

by sofar » Wed Aug 16, 2017 20:48

Arcelmi wrote:
Andrey01 wrote:I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?

Minetest itself is a copy of MC...


Well, that's a horrible generalization.

Copying a copyrighted work is a violation of copyright, and this would never be the basis of a good functional open source project.

In reality, even MC copied *ideas* and concepts from other games that existed before MC did (infiniminer, etc.). So taking ideas from MC and applying them is perfectly fine (and legal) as long as no code or artwork is copied.

You didn't copy any textures, right? ;)
 

User avatar
Stix
Member
 
Posts: 852
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix_ + Demolisher_
In-game: [CTF] Demolisher

Re: [MOD] Minecraft-like Bows!!! [bow]

by Stix » Wed Aug 16, 2017 20:55

Andrey01 wrote:I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?

@Andrey01 just because MC has something doesn't mean MT cant have it too, IMO the way MC's bows are is the best way to do it.
Video-games are the only escape from the harsh reality of some peoples lives. #Hi-five for no good reason --Caleb
Need to know something? "Google it" --GreenDimond
Want to know whats gonna be in the next release of your favorite game? "Bugfixes" --Wuzzy
The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

User avatar
Wuzzy
Member
 
Posts: 3069
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [MOD] Minecraft-like Bows!!! [bow]

by Wuzzy » Thu Aug 17, 2017 04:55

Interesting how you did it. You just permanently query the right mouse button of all players. Damn, why didn't I have this idea earlier? xD
Still, I think in the long run an engine change is inevitable to keep the complexity outside of Lua: https://github.com/minetest/minetest/issues/5212

But thanks for finding this little trick. It seems to work just fine.

The mod still needs some work IMO.
The arrow physics feel very wrong. The arrow just flies very slowly, compared to other bow mods.
Another problem with this mod is that it touches the player physics directly which automatically makes this mod incompatible with all mods which also alter player physics.

This looks like just what I needed for MCL2. I will probably not use this mod verbatim, but I might eventually just adapt your rightclick trick.

And here I give my standard request to write a few help texts for the items, using the mod doc_items from the Help modpack. Here's the doc_items API documentation (the quick start is enough): http://repo.or.cz/minetest_doc_items.gi ... AD:/API.md

PS: Just because some idea is from another game doesn't mean it's a bad idea. The fact that it's from MC should NOT matter at all, the only thing which matters is whether you consider it a good gameplay mechanic (or not).
I think fluid charging is generally a much needed feature in MT. In fact, that's the whole point of having a bow in the first place! Almost all past bow mods just had a single fixed bow strength which is definitely not something to be proud of.
My projects: MineClone 2. Hades Revisited. Help modpack. A ton of other mods, see here.
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [bow]

by Arcelmi » Thu Aug 17, 2017 07:01

sofar wrote:
Arcelmi wrote:
Andrey01 wrote:I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?

Minetest itself is a clone of MC...


Well, that's a horrible generalization.

Copying a copyrighted work is a violation of copyright, and this would never be the basis of a good functional open source project.

In reality, even MC copied *ideas* and concepts from other games that existed before MC did (infiniminer, etc.). So taking ideas from MC and applying them is perfectly fine (and legal) as long as no code or artwork is copied.

You didn't copy any textures, right? ;)


Sorry, I corrected my reply...
I didn't mean it like this...
Last edited by Arcelmi on Thu Aug 17, 2017 07:04, edited 2 times in total.
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Andrey01
Member
 
Posts: 1912
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [MOD] Minecraft-like Bows!!! [bow]

by Andrey01 » Thu Aug 17, 2017 07:01

Stix wrote:
Andrey01 wrote:I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?

@Andrey01 just because MC has something doesn't mean MT cant have it too, IMO the way MC's bows are is the best way to do it.

Well ok, this mod is good (i agree with it). Bt i think we should invent as more things as it is possible, i mean mods. Maybe we could increase number of people in Minetest as these mods nowhere exist in other games except Minetest itself. That`s why many people don`t want to play here because too many ideas taken from Minecraft. What do you think?
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [bow]

by Arcelmi » Thu Aug 17, 2017 07:10

Wuzzy wrote:[...]
Another problem with this mod is that it touches the player physics directly which automatically makes this mod incompatible with all mods which also alter player physics.
[...]


This is a big problem I also had... But I don't know a other way to do it...
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by Arcelmi » Thu Aug 17, 2017 08:55

Fixed arrow physics:
    -Arrows fall with an acceleration of 9.81m/s²
    -If the bow is full charged arrows have a speed of ~195km/h
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
azekill_DIABLO
Member
 
Posts: 7342
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by azekill_DIABLO » Thu Aug 17, 2017 09:02

Arcelmi wrote:~195km/h[/list]

Image
【Voxellar 2.0】 ; 【MILA】 update ; 【Rec_a_MT】 ; 【BB,HD】 update ; 【▶ Youtube】 This person worked too hard to be forgotten: Feedback me!
 

User avatar
DS-minetest
Member
 
Posts: 969
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by DS-minetest » Thu Aug 17, 2017 11:41

Arcelmi wrote:Arrows fall with an acceleration of 9.81m/s²

You should get the value from the setting "movement_gravity".

I'll test this mod.
Edit: Done.
  • Sounds would be nice.
  • Shooting on unknown nodes crashes the game.
  • The bow charging is a bit slow.
  • The arrow's pitch isn't changed. (To do this you can add a bone to the model and set the bone position.)
  • Maybe add an attached particle spawner to the arrow.
  • You don't need the dropped_bow item. Just drop the uncharged bow.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7342
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by azekill_DIABLO » Thu Aug 17, 2017 13:35

DS-minetest wrote:
  • The arrow's pitch isn't changed.


Add this line to arrow entity definition and play around with the value to be sure it faces the good direction
Code: Select all
automatic_face_movement_dir = 90.0,
【Voxellar 2.0】 ; 【MILA】 update ; 【Rec_a_MT】 ; 【BB,HD】 update ; 【▶ Youtube】 This person worked too hard to be forgotten: Feedback me!
 

User avatar
DS-minetest
Member
 
Posts: 969
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by DS-minetest » Thu Aug 17, 2017 15:03

azekill_DIABLO wrote:
DS-minetest wrote:
  • The arrow's pitch isn't changed.


Add this line to arrow entity definition and play around with the value to be sure it faces the good direction
Code: Select all
automatic_face_movement_dir = 90.0,

Afaik this is only for yaw.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
Andrey01
Member
 
Posts: 1912
Joined: Wed Oct 19, 2016 15:18
Location: Russia, Moscow
GitHub: Andrey2470T
In-game: Andrey01

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by Andrey01 » Thu Aug 17, 2017 16:56

Oh, people upload here so many mods i even don`t have a time to test all they uploaded!
DL9Eh7xVBw7DXwLAMX1lStE21bSD2XUQ
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by Arcelmi » Fri Aug 18, 2017 07:12

DS-minetest wrote:[...]
  • You don't need the dropped_bow item. Just drop the uncharged bow.


When I drop the uncharged bow the dropped item is very big and the half of it is in the ground, because of the wield scale.
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by Arcelmi » Fri Aug 18, 2017 07:15

I'll change the other things.
Thank you for all the hints!
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
Arcelmi
Member
 
Posts: 68
Joined: Mon Dec 28, 2015 16:24
Location: Germany
GitHub: Arcelmi
IRC: Arcelmi
In-game: Arcelmi

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by Arcelmi » Fri Aug 18, 2017 08:27

DS-minetest wrote:You should get the value from the setting "movement_gravity".

Done

DS-minetest wrote:Shooting on unknown nodes crashes the game.

Done

DS-minetest wrote:The bow charging is a bit slow.

You can now set the speed yourself in minetest.conf
I don't speak very good English... | My mods

I've got a signature!
 

User avatar
azekill_DIABLO
Member
 
Posts: 7342
Joined: Wed Oct 29, 2014 20:05
Location: Under my desk (but I can't see my monitor now X'[ )
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [MOD] Minecraft-like Bows!!! [1.1][bow]

by azekill_DIABLO » Fri Aug 18, 2017 10:01

DS-minetest wrote:Afaik this is only for yaw.

IDK, with upright sprites, it make them face the way they move, it's weird...
【Voxellar 2.0】 ; 【MILA】 update ; 【Rec_a_MT】 ; 【BB,HD】 update ; 【▶ Youtube】 This person worked too hard to be forgotten: Feedback me!
 

User avatar
Stix
Member
 
Posts: 852
Joined: Fri Aug 04, 2017 14:19
Location: USA
IRC: Stix_ + Demolisher_
In-game: [CTF] Demolisher

Re: [MOD] Minecraft-like Bows!!! [bow]

by Stix » Sat Aug 19, 2017 00:23

Andrey01 wrote:
Stix wrote:
Andrey01 wrote:I have already been tired from seeing copies of ideas from MC by other people. Maybe should you invent something by yourself?

@Andrey01 just because MC has something doesn't mean MT cant have it too, IMO the way MC's bows are is the best way to do it.

Well ok, this mod is good (i agree with it). Bt i think we should invent as more things as it is possible, i mean mods. Maybe we could increase number of people in Minetest as these mods nowhere exist in other games except Minetest itself. That`s why many people don`t want to play here because too many ideas taken from Minecraft. What do you think?

Yes, it is nice for MT to have fresh and new ideas, but there is nothing wrong with borrowing ideas from MC, and sometimes MC gets something so perfect that there is no better way to-do it.
Video-games are the only escape from the harsh reality of some peoples lives. #Hi-five for no good reason --Caleb
Need to know something? "Google it" --GreenDimond
Want to know whats gonna be in the next release of your favorite game? "Bugfixes" --Wuzzy
The new Minetest-offtopic can be found here: https://minetestoftopic.createaforum.com/index.php
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 8 guests