pagliaccio
Member
Posts: 65 Joined: Tue Jul 31, 2012 07:38
Location: italy
by pagliaccio » Wed Aug 01, 2012 11:24
Post
this mod add a laser sword for now.
in the furure i will add other block or item. (my dream? laser gun)
Laser sword, use for war or harvest wood dirt or stone.
license: WTFPL
Code: Select all
input
[glass]
[mese]
[stick]
output
laser sword
download on github
https://github.com/pagliaccio/laser_mod version 0.1
todo list
add sound effect. you have laser sound?
add texture for sword off if it is droped
Last edited by
pagliaccio on Thu Aug 02, 2012 12:47, edited 1 time in total.
cactuz_pl
Member
Posts: 876 Joined: Tue Jun 05, 2012 16:34
Location: Poland
by cactuz_pl » Wed Aug 01, 2012 12:01
Post
Last edited by
cactuz_pl on Wed Aug 01, 2012 12:07, edited 1 time in total.
Nope
pagliaccio
Member
Posts: 65 Joined: Tue Jul 31, 2012 07:38
Location: italy
by pagliaccio » Wed Aug 01, 2012 12:17
Post
license for this audio? i can use?
cactuz_pl
Member
Posts: 876 Joined: Tue Jun 05, 2012 16:34
Location: Poland
by cactuz_pl » Wed Aug 01, 2012 12:29
Post
I was so excited about lightsaber vision and I forgot about licences, sorry, this what I sent probably isn't free.
Nope
pagliaccio
Member
Posts: 65 Joined: Tue Jul 31, 2012 07:38
Location: italy
by pagliaccio » Wed Aug 01, 2012 15:48
Post
good, thx very much.
i need a help with code.
Code: Select all
--sound of a sword
-- Play connected to an object, looped
minetest.sound_play("lightsaber_sound", {object = laser_mod:laser_sword, gain = 1.0, max_hear_distance = 32, loop = true, })
where i have mistake?
Last edited by
pagliaccio on Wed Aug 01, 2012 15:49, edited 1 time in total.
Topywo
Member
Posts: 1721 Joined: Fri May 18, 2012 20:27
by Topywo » Wed Aug 01, 2012 16:10
Post
Tried this?
minetest.sound_play("lightsaber_sound", {object = " laser_mod:laser_sword" , gain = 1.0, max_hear_distance = 32, loop = true, })
pagliaccio
Member
Posts: 65 Joined: Tue Jul 31, 2012 07:38
Location: italy
by pagliaccio » Wed Aug 01, 2012 18:14
Post
Topywo wrote: Tried this?
minetest.sound_play("lightsaber_sound", {object = " laser_mod:laser_sword" , gain = 1.0, max_hear_distance = 32, loop = true, })
error.
i try
Code: Select all
minetest.sound_play("lightsaber_sound", {object = minetest.get_tool("laser_mod:laser_sword"), gain = 1.0, max_hear_distance = 32, loop = true, })
error again. how i can get laser_mod:laser_sword object?
Topywo
Member
Posts: 1721 Joined: Fri May 18, 2012 20:27
by Topywo » Wed Aug 01, 2012 19:26
Post
minetest.sound_play("lightsaber_sound", {"laser_mod:laser_sword", gain = 1.0, max_hear_distance = 32, loop = true, })
Tried without the word "object"?
What error message gives debug.txt?
pagliaccio
Member
Posts: 65 Joined: Tue Jul 31, 2012 07:38
Location: italy
by pagliaccio » Wed Aug 01, 2012 19:55
Post
Topywo wrote: minetest.sound_play("lightsaber_sound", {"laser_mod:laser_sword", gain = 1.0, max_hear_distance = 32, loop = true, })
Tried without the word "object"?
What error message gives debug.txt?
now it work, but there is not sound.
VanessaE
Moderator
Posts: 4655 Joined: Sun Apr 01, 2012 12:38
GitHub:
VanessaE
IRC: VanessaE
In-game: VanessaE
Location: Western NC
Contact:
by VanessaE » Fri Dec 21, 2012 04:11
Post
If this mod is still being maintained, please note that the behavior of Mese has changed:
http://minetest.net/forum/viewtopic.php?id=4154
Suggest using the new Mese Block in your recipe in place of the old Mese object, since this sword seems like it should be expensive, and a Mese Block is the most "powerful" object in the default game (or at least, as powerful as people make it out to be :-) ).
orihara
New member
Posts: 1 Joined: Thu Jun 05, 2014 06:12
GitHub:
orihara
IRC: orihara
In-game: orihara
by orihara » Thu Jun 05, 2014 06:15
Post
Laser Sword is one of the coolest weapon in the game though there are few swords that are better than this sword.
Users browsing this forum: No registered users and 61 guests