[Mod]Archer[Archer]

saavedra29
Member
 
Posts: 10
Joined: Mon Mar 06, 2017 00:19
GitHub: saavedra29

[Mod]Archer[Archer]

by saavedra29 » Fri Mar 17, 2017 02:10

This is my first attempt on modding. I took the code from https://forum.minetest.net/viewtopic.php?f=11&t=2805 (many thanks to the author!) and did several changes that focus on realism.

Changes:

  • Non realistic arrows removed
  • Every different bow type has different velocity that comes from a formula containing:
    1.bow's velocity factor
    2.player's hitpoint at the specific time
    This works exponentially although a little smoothed. So the less hitpoints the player has the less the velocity of the arrow.
  • Arrows disappear after use even on non creative mode
  • Minor changes about deprecation
  • Landing arrow sound changed
  • Comments added

TODO:
Create interval between uses of the bow. For example shoot only after 2 seconds have passed before previous shooting.

Depends: Default, farming
License: WTFPL
Github: https://github.com/saavedra29/archer
Download: https://github.com/saavedra29/archer/releases/download/1.0/archer_master.zip
 

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 7 guests

cron