[Mod] Fireworks [3.0] [fireworks]

Post Reply
User avatar
crazyginger72
Member
Posts: 69
Joined: Wed Jan 01, 2014 07:57
GitHub: crazyginger72
IRC: cg72
In-game: crazyginger72
Location: gone to lunch

[Mod] Fireworks [3.0] [fireworks]

by crazyginger72 » Post

ver 3.0

Image
Image

This is a fireworks mod, it adds real fireworks in 7 colours to the game!!

I used particle effects for realism so you must have particles enabled to use this mod!!!

the launchers/firewrks are mesecon compatable!! :D

also remember to have your viewing range set to over 100 nodes or to full range to see all the show!!!

!!!if you are on a laggy server or slow machine the mod still works but it will be noticeable in the lighting effects!!!

fireworks 3.0 by crazyginger72
Minetest 0.4.9 +
Depends: default
Licenses: code and textures WTFPL


DOWNLOAD

GITHUB
Last edited by crazyginger72 on Fri Sep 05, 2014 22:45, edited 1 time in total.

deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

Re: [MOD] FIREWORKS!!! [ver 3.0] fireworks

by deivan » Post

Nice idea. :D

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

Re: [MOD] FIREWORKS!!! [ver 3.0] fireworks

by philipbenr » Post

Particles are cool things, and they make good smoke and explosions...

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

Re: [Mod] Fireworks [3.0] [fireworks]

by ExeterDad » Post

well done.

mojuave
Member
Posts: 51
Joined: Wed Aug 13, 2014 16:43

Re: [Mod] Fireworks [3.0] [fireworks]

by mojuave » Post

how to enable particles?

mojuave
Member
Posts: 51
Joined: Wed Aug 13, 2014 16:43

Re: [Mod] Fireworks [3.0] [fireworks]

by mojuave » Post

I got it to work and that was just awesome. I am trying to use delayers from mescons but it still goes fast. Maybe a design of a controller to set the delay in seconds piling up multiple delays was ok but still not good. BTW I am a pyro lol and this is as I said awesome but I really want to set a display and need some kind of sequencer or programmable delay LOL if at all possible but if no still an awesome job

User avatar
crazyginger72
Member
Posts: 69
Joined: Wed Jan 01, 2014 07:57
GitHub: crazyginger72
IRC: cg72
In-game: crazyginger72
Location: gone to lunch

Re: [Mod] Fireworks [3.0] [fireworks]

by crazyginger72 » Post

have you tried putting a mesecon or mese block between the firework and the delayer?

mojuave
Member
Posts: 51
Joined: Wed Aug 13, 2014 16:43

Re: [Mod] Fireworks [3.0] [fireworks]

by mojuave » Post

crazyginger72 wrote:have you tried putting a mesecon or mese block between the firework and the delayer?
No I have not I am still fairly new only few months so I have a big learning curve. So a mese block will slow down the signal?

But I have put up to 6 delayers back to back

User avatar
crazyginger72
Member
Posts: 69
Joined: Wed Jan 01, 2014 07:57
GitHub: crazyginger72
IRC: cg72
In-game: crazyginger72
Location: gone to lunch

Re: [Mod] Fireworks [3.0] [fireworks]

by crazyginger72 » Post

im not 100% sure as i cant get the delayer to work the way yours does on my world but it may just need the block to stop it from picking up the signil wrong

User avatar
Wuzzy
Member
Posts: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Mod] Fireworks [3.0] [fireworks]

by Wuzzy » Post

This mod is broken on Minetest 0.4.10.

After rightclicking a firework, I got this crash:

Code: Select all

11:05:52: ERROR[main]: ServerError: .../wuzzy/.minetest/games/weird/mods/fireworks/init.lua:157: bad argument #2 to 'random' (interval is empty)
11:05:52: ERROR[main]: stack traceback:
11:05:52: ERROR[main]: 	[C]: in function 'random'
11:05:52: ERROR[main]: 	.../wuzzy/.minetest/games/weird/mods/fireworks/init.lua:157: in function 'fireworks_activate'
11:05:52: ERROR[main]: 	.../wuzzy/.minetest/games/weird/mods/fireworks/init.lua:64: in function 'on_rightclick'
11:05:52: ERROR[main]: 	/usr/share/minetest/builtin/game/item.lua:326: in function </usr/share/minetest/builtin/game/item.lua:319>
11:05:52: ERROR[main]: 	(tail call): ?
The crafting recipe for the purple firework is broken. There is no dye “dye:purple”. The closest dye would be “dye:violet”, I guess.

The image “fireworks_rainbow.png” is missing.

This mod depends on dye, but depends.txt doesn’t list it (but should).

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Fireworks [3.0] [fireworks]

by Hybrid Dog » Post

try my version of a copy of another fireworks mod
https://github.com/HybridDog/fireworks

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

User avatar
crazyginger72
Member
Posts: 69
Joined: Wed Jan 01, 2014 07:57
GitHub: crazyginger72
IRC: cg72
In-game: crazyginger72
Location: gone to lunch

Re: [Mod] Fireworks [3.0] [fireworks]

by crazyginger72 » Post

wuzzy i will look into that as i wasnt aware that it had anny isssues with 0.4.10 and thank you for letting me know :)
and dye will be readded to dependiencies as it was on there lol .

User avatar
mtmodder148
Member
Posts: 132
Joined: Wed May 14, 2014 13:44
GitHub: MT-Modder
In-game: mtmodder148

Re: [Mod] Fireworks [3.0] [fireworks]

by mtmodder148 » Post

I love this mod but I was getting an error for a missing texture: fireworks_rainbow.png
I went onto github and opened a new issue a few days ago.

I went through the code and found this:

Code: Select all

minetest.register_node("fireworks:"..colour, {
	drawtype = "plantlike",
	description = desc,
	tiles = {"fireworks_"..colour..".png"},
	light_source = 14,
	sunlight_propagates = true,
	walkable = false,
	is_ground_content = true,
	pointable = false,
	groups = {cracky=3,not_in_creative_inventory=1},--, hot=1, igniter=3}, --<<<<to enable fire
	sounds = default.node_sound_stone_defaults(),
})
So I changed it to this and the error went away:

Code: Select all

if colour ~= "rainbow" then
	minetest.register_node("fireworks:"..colour, {
		drawtype = "plantlike",
		description = desc,
		tiles = {"fireworks_"..colour..".png"},
		light_source = 14,
		sunlight_propagates = true,
		walkable = false,
		is_ground_content = true,
		pointable = false,
		groups = {cracky=3,not_in_creative_inventory=1},--, hot=1, igniter=3}, --<<<<to enable fire
		sounds = default.node_sound_stone_defaults(),
	})
end

rommiekerova
Member
Posts: 93
Joined: Thu Nov 21, 2013 10:59
In-game: Andromeda
Location: United Kingdom

Re: [Mod] Fireworks [3.0] [fireworks]

by rommiekerova » Post

I've installed this. I LOVE it. Sound is a bit loud so I'll be changing that later but I haven't had any problems on it. I use 0.4.10.
My Mods: Kerova - viewtopic.php?id=8054
My Server: Kalisae - viewtopic.php?id=9040 <--CLOSED UNTIL FURTHER NOTICE!

User avatar
Death Dealer
Member
Posts: 1379
Joined: Wed Feb 15, 2012 18:46
Location: Limbo
Contact:

Re: [Mod] Fireworks [3.0] [fireworks]

by Death Dealer » Post

Awesome mod^_^

MrFunProRoblox
New member
Posts: 4
Joined: Sat Dec 06, 2014 14:13
In-game: MrFunProMinetest

Re: [Mod] Fireworks [3.0] [fireworks]

by MrFunProRoblox » Post

awesome mod i like it that mod :D :O

tbillion
Member
Posts: 190
Joined: Wed Apr 03, 2013 16:07
Location: 38381, US, TN, Toone
Contact:

Re: [Mod] Fireworks [3.0] [fireworks]

by tbillion » Post

Code: Select all

2015-11-22 07:20:20: ERROR[Main]: ServerError: Runtime error from mod 'mesecons' in callback environment_Step(): ...loads/minetest-master/bin/../mods/fireworks/init.lua:146: bad argument #2 to 'random' (interval is empty)
2015-11-22 07:20:20: ERROR[Main]: stack traceback:
2015-11-22 07:20:20: ERROR[Main]:       [C]: in function 'random'
2015-11-22 07:20:20: ERROR[Main]:       ...loads/minetest-master/bin/../mods/fireworks/init.lua:146: in function 'fireworks_activate'
2015-11-22 07:20:20: ERROR[Main]:       ...loads/minetest-master/bin/../mods/fireworks/init.lua:60: in function 'action_on'
2015-11-22 07:20:20: ERROR[Main]:       ...st-master/bin/../mods/mesecons/mesecons/internal.lua:189: in function '?'
2015-11-22 07:20:20: ERROR[Main]:       ...master/bin/../mods/mesecons/mesecons/actionqueue.lua:90: in function 'execute'
2015-11-22 07:20:20: ERROR[Main]:       ...master/bin/../mods/mesecons/mesecons/actionqueue.lua:84: in function '?'
2015-11-22 07:20:20: ERROR[Main]:       ...ads/minetest-master/bin/../builtin/game/register.lua:355: in function <...ads/minetest-master/bin/../builtin/game/register.lua:335>
2015-11-22 07:20:20: WARNING[Server]: Assignment to undeclared global "player_name" inside a function at ...oads/minetest-master/bin/../mods/lightsaber/init.lua:15.
poof... broken

User avatar
Hybrid Dog
Member
Posts: 2828
Joined: Thu Nov 01, 2012 12:46
GitHub: HybridDog

Re: [Mod] Fireworks [3.0] [fireworks]

by Hybrid Dog » Post

There's another fireworks mod https://github.com/HybridDog/fireworks

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests