Raycast Throwing (rcthrow) & Throwing Weapons (throw_weapons) (v0.2)

Post Reply
User avatar
runs
Member
Posts: 1802
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Raycast Throwing (rcthrow) & Throwing Weapons (throw_weapons) (v0.2)

by runs » Post

RayCast Throwing (rcthrow)

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)
Image

- 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.
Attachments
throwing_weapons.png
(4.56 KiB) Not downloaded yet
Last edited by runs on Tue Aug 04, 2020 23:14, edited 2 times in total.
Day 42 of the quarantine

User avatar
runs
Member
Posts: 1802
Joined: Sat Oct 27, 2018 08:32
GitHub: runsy

Re: Raycast Throwing (rcthrow) & Throwing Weapons (throw_weapons) (v0.1)

by runs » Post

v0.2
- Better Trowing Weapons textures.
Day 42 of the quarantine

MisterE
Member
Posts: 102
Joined: Sun Feb 16, 2020 21:06
GitHub: MisterE123
IRC: MisterE
In-game: MisterE

Re: Raycast Throwing (rcthrow) & Throwing Weapons (throw_weapons) (v0.2)

by MisterE » Post

Wow, sounds nice. I do think that the normal fighting mechanics are somewhat bland. Suggestion: Battleaxe

Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 4 guests