[Mod] Chakram 3.4 (throw & hurt/pick up stuff) [chakram]

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

[Mod] Chakram 3.4 (throw & hurt/pick up stuff) [chakram]

by AiTechEye » Wed Dec 16, 2015 19:51

Image


The tool is a weapon at same time
Throw it and it will always return as long there still is velocity/power left
It can pick up stuff that is breakable by hand (like no use by tools) and mobs/drops that have 10hp or less.
Players (or mobs that have more then 10 hp) will be hurted.

+ Mese can break more stuff, more times at same throw, and can break stuff like stone / ores, makes a flash when hit something (usefull in darknes / caves)

- Wood cant pick up stuff, hurt less, it fail if it hit hard block.

Licenses: code LGPL 2.1 media CC BY-SA 3.0
Depends: none
Attachments
ByUjEdwinV3_4--chakram.zip
(54.65 KiB) Downloaded 164 times
log2.jpg
log2.jpg (279.59 KiB) Viewed 1982 times
Last edited by AiTechEye on Mon May 09, 2016 14:38, edited 25 times in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: [Mod] chakram (throw & get stuff back)

by benrob0329 » Wed Dec 16, 2015 19:53

Looks neat, I'll have to try this layer.
 

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

Re: [Mod] chakram (throw & get stuff back)

by mahmutelmas06 » Wed Dec 16, 2015 21:31

+1
My Mods:

Beverage
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] chakram 3 (throw & hurt / pick up stuff)

by AiTechEye » Fri Dec 18, 2015 18:02

Version 3: fixed bugs and crashes (hard tested)
Version 3.1 fixed the last crash (when the chakram is moving to the owner, and the owner in somehow leaving the game at same time)
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Mod] chakram 3.1 (throw & hurt / pick up stuff)

by izzyb » Sun Dec 20, 2015 06:30

Great Mod! :)

Think I found a bug - and the fix.

It causes the server to crashes with the mese, and wood chakram. Looks like the same typo in both files. I'm assuming np should be pos in both files based on line 122 of steel.lua . The following warnings are produced just before the crash.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
WARNING: Undeclared global variable "np" accessed at /usr/share/games/minetest/mods/chakram/wood.lua:98

and
 
WARNING: Undeclared global variable "np" accessed at /usr/share/games/minetest/mods/chakram/mese.lua:93
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] chakram 3.1 (throw & hurt / pick up stuff)

by AiTechEye » Sun Dec 20, 2015 12:20

Thanks for reporting, it was 2 old variables that i forgot to change :-)
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
Excalibur Zero
Member
 
Posts: 142
Joined: Tue Apr 02, 2013 19:45
GitHub: ExcaliburZero

Re: [Mod] chakram 3.3 (throw & hurt / pick up stuff)

by Excalibur Zero » Mon Feb 08, 2016 20:32

Can you put this up on GitHub? That way other people can make contributions to it.
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] chakram 3.3 (throw & hurt / pick up stuff)

by AiTechEye » Mon Feb 08, 2016 21:26

i have tryed that 3 times, but just messup, there is a lot of other people that can do it for us, :-)
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
Excalibur Zero
Member
 
Posts: 142
Joined: Tue Apr 02, 2013 19:45
GitHub: ExcaliburZero

Re: [Mod] chakram 3.3 (throw & hurt / pick up stuff)

by Excalibur Zero » Mon Feb 08, 2016 22:09

UjEdwin wrote:i have tryed that 3 times, but just messup, there is a lot of other people that can do it for us, :-)

If you need help putting it up on Github and using Git, I can help you out with that. I have a good bit of experience working with Git and GitHub.
 

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

Re: [Mod] chakram 3.3 (throw & hurt / pick up stuff)

by mahmutelmas06 » Tue Feb 09, 2016 01:42

I have pushed for u to github.
Just fork it

https://github.com/mahmutelmas06/chakram
My Mods:

Beverage
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] chakram 3.3 (throw & hurt / pick up stuff)

by azekill_DIABLO » Fri Feb 12, 2016 14:49

i looks exelent and useful! good job guy! +1
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] chakram 3.3 (throw & hurt / pick up stuff)

by azekill_DIABLO » Wed Feb 24, 2016 17:48

i added it to my subgame!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 47 guests

cron