[Mod] Bows with arrows V2 [bows]

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

[Mod] Bows with arrows V2 [bows]

by AiTechEye » Post

Image


Licenses: code: LGPL-2.1, media: CC BY-SA-4.0
Depends: none / tnt
Supported mods: mesecons
Source
Download




A easy bow mod with arrows


versions stuff
+ Spoiler

The target gives a mesecon signal when an arrow hits it.

Load a bow:
place a arrow left of the bow + use it

Bows / levels:
Wooded
Stone
Steel
Steel Triple (shoots 3 arrows in 1 load)
Bronze
Osidian
Mese
Mese Quintuple (shoots 5 arrows in 1 load)
Diamond
Rainbow
Admin: (bows:bow_admin) (unlimited + very high level)
Admin: Hail (bows:bow_hail_admin) (shoots 34 arrows in 1 load)

Arrows / level:
Wooded
Steel
Gold
Rainbow
Diamond
Dig: digs the block it hits.
Fire: spawning fire on the block or object it hits
Build: placing a block from the right stack of the bow.
Toxic: keep hurting after it hits.
Tetanus: makes you cant move (will not work with other arrows)
Nitrogen freeze
TNT: explosion
Nitrogen TNT freeze explosion
Admin: bows:arrow_admin (always kill when hits)
TNT cluser (spawns 5 tnt arrows)
Radioactive: makes everything around the hit radioactive in a unlimited range as long there are something more to affect
Nuke: massive explosion

Thanks to: (advices)
TenPlus1 (found important errors in the damage system)
mahmutelmas06
benrob0329
Dragonop


Image
Attachments
screenshot_20170121_171055.jpg
(222.73 KiB) Not downloaded yet
SDFFF.jpg
(378.59 KiB) Not downloaded yet
Last edited by AiTechEye on Mon Dec 31, 2018 07:38, edited 65 times in total.

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Bows 0.1 [bows]

by azekill_DIABLO » Post

cool mod, nice textures

User avatar
benrob0329
Member
Posts: 1337
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Mod] Bows 0.1 [bows]

by benrob0329 » Post

Do the arrows stick to blocks?
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows 0.05 [bows]

by AiTechEye » Post

not yet, but there is plans for it, and on players / mobs (if its not too much mess)

I fixed a error that made the bows have infer uses,and added a few other arrows,

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [Mod] Bows 0.05 [bows]

by ExeterDad » Post

UjEdwin wrote:not yet, but there is plans for it, and on players / mobs (if its not too much mess)
Okay now this is getting really exciting! Can't wait to see what becomes of this mod.

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Bows 0.05 [bows]

by mahmutelmas06 » Post

My Mods:

Beverage

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows 0.6 [bows]

by AiTechEye » Post

EDIT: updates under
Last edited by AiTechEye on Thu Apr 07, 2016 21:10, edited 1 time in total.

User avatar
benrob0329
Member
Posts: 1337
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Mod] Bows 0.6 [bows]

by benrob0329 » Post

I vote keep, as it can be improved over time if there is a base to work with.
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA

Dragonop
Member
Posts: 1194
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop
Location: Argentina

Re: [Mod] Bows 0.6 [bows]

by Dragonop » Post

Keep the collision-glitched arrows, they look good.
Make the entity only a cube at the tip of the arrow, so it will only collide with that part. Maybe that will help

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows 0.65 [bows]

by AiTechEye » Post

I was shore it would not work at all on objects, but looks like it works really good on players
Last edited by AiTechEye on Fri Apr 08, 2016 11:42, edited 1 time in total.

User avatar
benrob0329
Member
Posts: 1337
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Mod] Bows 0.65 [bows]

by benrob0329 » Post

It'd be cool if you had to pull the arrow out before you could move, and then you'd be poisoned (to simulate the wound) for a time.

(Though that looks more like a kill shot)
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows 0.65 [bows]

by AiTechEye » Post

i had an idea of a toxic arrow too,
will add tomorrow:

toxic arrow (craft with papyrus)
tetanus arrow (craft with ?)

...
cotton / jungle grass can be really hard to find and takes long time to grow, but gravel and wood is everywhere, use leaves or saplings instead of cotton? until there would be added feathers for some reason.

User avatar
benrob0329
Member
Posts: 1337
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [Mod] Bows 0.65 [bows]

by benrob0329 » Post

From Wikipedia:
Tetanus is caused by an infection with the bacterium Clostridium tetani,[1] which is commonly found in soil, dust and manure.[3] The bacteria generally enter through a break in the skin such as a cut or puncture wound by a contaminated object.
(https://en.wikipedia.org/wiki/Tetanus)


So, an iron arrow mixed with a bucket of water to create a rusty arrow, with a 40% chance of infection?

I think that a leaf block would make more sense for the basic arrows than cotton, and perhaps move to wood/iron/diamond fins for more expensive arrows?

EDIT: The shooter mod has some really nice arrow movement, perhaps you could borrow some code from that?
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows 0.7 [bows]

by AiTechEye » Post

added toxic / tetanus arrows

The toxic one will hurt randomly until it disappears,
and the tetanus makes you cant move, if you not punching it away (can stick for a while (at least 4 seconds))

Objects models will randomly disappears when they are detached (mt core bug)

Arrows will be move to the edge of the blocks without node box.
Last edited by AiTechEye on Fri Apr 08, 2016 19:16, edited 1 time in total.

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Bows 0.7 [bows]

by azekill_DIABLO » Post

wow you've done a nice job!!!

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows V2 [bows]

by AiTechEye » Post

For you that using this mod, there is an update.

Added: craft gravel to flint
Fixed: crash with fire arrow
Changed: arrow crafts: toxic, fire, tetanus
Added: admin bow/arrow
Added: bows: osidian/rainbow
Added: tnt arrow

Martno
Member
Posts: 78
Joined: Thu May 28, 2015 07:09
Location: Hungary

Re: [Mod] Bows V2 [bows]

by Martno » Post

Awesome mod!
I tested it, and it's great, but arrows dont't hurt the dungeonmaster and the mese monster from mobs redo. Is it tested with mobs?
Other monsters and animals are ok.

User avatar
AiTechEye
Member
Posts: 859
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Re: [Mod] Bows V2 [bows]

by AiTechEye » Post

I testing the mostly mods i making (currently 36) with the mobs redo, and its easy to see the results, but i have no idea why the mese/don react like that.

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Bows V2 [bows]

by azekill_DIABLO » Post

+1000

User avatar
Milan*
Member
Posts: 252
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [Mod] Bows V2.1 [bows]

by Milan* » Post

to see it on some git would be awesome :)
Illuna Minetestservers | Mastodon | [ matrix ] | I may host you a Minetestserver, just contact me.

User avatar
philipbenr
Member
Posts: 1704
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Bows V2.1 [bows]

by philipbenr » Post

Milan* wrote:to see it on some git would be awesome :)
+1

User avatar
rpgsniper2452
New member
Posts: 8
Joined: Mon May 16, 2016 15:04
GitHub: rpgsniper2452
IRC: rpgsniper2452
In-game: rpgsniper2452

Re: [Mod] Bows V2.1 [bows]

by rpgsniper2452 » Post

Neat little mod!

User avatar
nanotime
New member
Posts: 4
Joined: Sat Apr 20, 2013 00:31

Re: [Mod] Bows V2.2 [bows]

by nanotime » Post

Hey! eh... where i can find the recipes? I maded a bow but don't know how to craft arrows :(

User avatar
Krock
Developer
Posts: 4571
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Mod] Bows V2.2 [bows]

by Krock » Post

nanotime wrote:Hey! eh... where i can find the recipes? I maded a bow but don't know how to craft arrows :(
If you don't have a crafting guide, you can take the recipe out of the source code.
Source: bows/items.lua, Line 155 and 173

Code: Select all

8x Wooden arrow:
 flint, [any stick], [any leaves]

8x Steel arrow:
 [any arrow], [any arrow], [any arrow]
 [any arrow], steel ingot, [any arrow]
 [any arrow], [any arrow], [any arrow]
Replace the steel ingot with gold, mese crystal or a diamond for different arrows.
Arrows with fire are crafted with: [any arrow], torch
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [Mod] Bows V2.2 [bows]

by mahmutelmas06 » Post

You can make some rainbow arrows if you wish to add more :)

viewtopic.php?t=3473
viewtopic.php?t=10046
My Mods:

Beverage

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests