An API to define throwable tools (weapons).
- 'register_throw' function.
- You can set the weapon as just a throwing item, or normal weapon plus throwing.
- The strength of the throwing depends on the player health.
See the API
Source Code
Download
Throwing Weapons (throw_weapons)
- 4 Throwing Weapons: Hatchet, Dague, Spear and Trident.
- You can throw the Dague and Hatchet (use to throw) but you cannot use them as normal weapons.
- You can use the Spear and Trident as normal weapons, and also throw them (right-click). If you throw them, it will cause more damage than with a normal fighting.
- Remember that if you are injured, your will throw with a diminished strength.
- Depends: rcthrow, default
Source Code
Download
License
- Code: GPLv3.0
- Textures: CC BY-SA 4.0
To-Do
- To nail weapons on walls.
- A more accurate strength calculation (not lineal).
- Increase the strength with the player velocity.