2021-03-13 22:40:46 -06:00
|
|
|
# Bow and Arrows [x_bows]
|
2021-03-13 20:39:42 -06:00
|
|
|
|
2021-03-13 22:40:46 -06:00
|
|
|
Adds bow and arrows to Minetest.
|
|
|
|
|
2021-03-14 09:19:45 -05:00
|
|
|
![screenshot](screenshot.png)
|
2021-03-13 22:40:46 -06:00
|
|
|
|
2021-03-20 21:18:54 -05:00
|
|
|
Video: https://youtu.be/pItpltmUoa8
|
|
|
|
|
2021-03-13 22:40:46 -06:00
|
|
|
## Features
|
|
|
|
|
2021-03-14 09:30:53 -05:00
|
|
|
* bow will force you sneak when loaded (optional dep. playerphysics)
|
2021-03-14 09:19:45 -05:00
|
|
|
* loaded bow will slightly adjust the player FOV
|
|
|
|
* bow uses minetest tool capabilities - if the bow is not loaded for long enough (time from last puch) the arrow will fly shorter range
|
|
|
|
* arrow uses raycast
|
|
|
|
* arrow has chance of critical shots/hits (only on full punch interval)
|
|
|
|
* arrow uses minetest damage calculation (including 3d_armor) for making damage (no hardcoded values)
|
|
|
|
* arrows stick to nodes, players and entitites
|
|
|
|
* arrows remove them self from the world after some time
|
|
|
|
* arrows remove them self if there are already too many arrows attached to node, player, entity
|
|
|
|
* arrow continues to fly downwards when attached node is dug
|
|
|
|
* arrow flies under water for short period of time and then sinks
|
|
|
|
* arrows adjusts pitch when flying
|
2021-03-14 09:30:53 -05:00
|
|
|
* arrows can be picked up again after stuck in solid nodes
|
2021-03-14 09:19:45 -05:00
|
|
|
* registers only one entity reused for all arrows
|
|
|
|
* (experimental) poison arrow - dealing damage for 5s but will not kill the target
|
2021-03-21 13:39:02 -05:00
|
|
|
* target block reduces fall damage by -30
|
2021-03-13 22:40:46 -06:00
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
- none
|
|
|
|
|
|
|
|
## Optional Dependencies
|
|
|
|
|
2021-03-28 10:50:59 -05:00
|
|
|
- default (recipes)
|
2021-03-14 09:30:53 -05:00
|
|
|
- farming (bow and target recipes)
|
|
|
|
- 3d_armor (calculates damage including the armor)
|
|
|
|
- hbhunger (changes hudbar when poisoned)
|
|
|
|
- mesecons (target can be used to trigger mesecon signal)
|
|
|
|
- playerphysics (force sneak when holding charged bow)
|
2021-03-13 22:40:46 -06:00
|
|
|
|
|
|
|
## License:
|
|
|
|
|
|
|
|
### Code
|
|
|
|
|
|
|
|
GNU Lesser General Public License v2.1 or later (see included LICENSE file)
|
|
|
|
|
|
|
|
### Textures
|
|
|
|
|
|
|
|
**CC BY-SA 4.0, Pixel Perfection by XSSheep**, https://minecraft.curseforge.com/projects/pixel-perfection-freshly-updated
|
|
|
|
|
|
|
|
- x_bows_bow_wood.png
|
|
|
|
- x_bows_bow_wood_charged.png
|
|
|
|
- x_bows_arrow_wood.png
|
|
|
|
- x_bows_arrow_tile_point_top.png
|
|
|
|
- x_bows_arrow_tile_point_right.png
|
|
|
|
- x_bows_arrow_tile_point_bottom.png
|
|
|
|
- x_bows_arrow_tile_point_left.png
|
|
|
|
- x_bows_arrow_tile_tail.png
|
|
|
|
- x_bows_arrow_particle.png
|
|
|
|
- x_bows_arrow_tipped_particle.png
|
|
|
|
- x_bows_bubble.png
|
|
|
|
- x_bows_target.png
|
|
|
|
|
|
|
|
Modified by SaKeL:
|
|
|
|
|
|
|
|
- x_bows_arrow_stone.png
|
|
|
|
- x_bows_arrow_bronze.png
|
|
|
|
- x_bows_arrow_steel.png
|
|
|
|
- x_bows_arrow_mese.png
|
|
|
|
- x_bows_arrow_diamond.png
|
|
|
|
- x_bows_arrow_diamond_poison.png
|
|
|
|
|
|
|
|
### Sounds
|
|
|
|
|
|
|
|
**Creative Commons License, EminYILDIRIM**, https://freesound.org
|
|
|
|
|
|
|
|
- x_bows_bow_load.1.ogg
|
|
|
|
- x_bows_bow_load.2.ogg
|
|
|
|
- x_bows_bow_load.3.ogg
|
|
|
|
|
|
|
|
**Creative Commons License, bay_area_bob**, https://freesound.org
|
|
|
|
|
|
|
|
- x_bows_bow_loaded.ogg
|
|
|
|
|
|
|
|
**Creative Commons License**, https://freesound.org
|
|
|
|
|
|
|
|
- x_bows_bow_shoot_crit.ogg
|
|
|
|
|
|
|
|
**Creative Commons License, robinhood76**, https://freesound.org
|
|
|
|
|
|
|
|
- x_bows_arrow_hit.1.ogg
|
|
|
|
- x_bows_arrow_hit.2.ogg
|
|
|
|
- x_bows_arrow_hit.3.ogg
|
|
|
|
|
2021-03-14 09:19:45 -05:00
|
|
|
**Creative Commons License, brendan89**, https://freesound.org
|
|
|
|
|
|
|
|
- x_bows_bow_shoot.1.ogg
|
2021-03-13 22:40:46 -06:00
|
|
|
|
|
|
|
**Creative Commons License, natty23**, https://freesound.org
|
|
|
|
|
|
|
|
- x_bows_arrow_successful_hit.ogg
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
see: http://wiki.minetest.com/wiki/Installing_Mods
|