Jump to content

Custom Item with fire and light effect?


Recommended Posts

 I've been making (yet another mod, if other two were not enough)

 in this case I am trying to make that an object, in this case, custom hand-slot item to emit light, and if possible to also emit a fire particle (torch, nightlight, etc)

 

could anyone give me a tip of where to start?

Link to comment
Share on other sites

torch.lua is a tip.

(also torchfire.lua)

 

I've been looking into it and it actually does work, not only that but it does the strangest things when you set it to enable different effects, which is really interesting.

 Thanks for the tip!

Link to comment
Share on other sites

torch.lua is a tip.

(also torchfire.lua)

 

While messing around I also found something, 'weird?'

 I realized that whenever I create myself a prefab, even after copying the entire torchfire.lua and modifying its prefab name so that it is used as a custom effect, it seems to crash.

 which I am seeing right now why it causes the crash

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...