I'm working with DMND as a base for a shield that is activated for a second or two, and then disappears.
tpt.el.dmnd.name= 'PSHD'
tpt.el.dmnd.description= 'Power shield; short-lasting, but nearly indestructible.'
elements.property(elements.DEFAULT_PT_DMND, "Properties", elements.PROP_LIFE_DEC)
elements.property(elements.DEFAULT_PT_DMND, "Properties", elements.PROP_LIFE_KILL)
It would work, however DMND has a life of zero to start with.
I've looked around quite a bit, but I can't figure out how to change DMND's life.
Any help would be much appreciated, thanks!
I would do that, but the shield is for a moving, controllable particle.
I'm doing a large, landscape simulation, and the controllable particle represents a combat mech.
It works just fine, moves with arrow keys, drops bombs when I press "x", and when I press "c", it generates a small square of diamond around itself. However, since I don't want tiny diamond squares cluttering up my sim, I wanted to make diamond disappear after a couple seconds. If it's possible to add a script to the autorun.lua that does such a thing, that'd be awesome :D
Thanks so much!
I'll give it a go tomorrow morning, will post results.
I love your mod, by the way, I use it all the time :D
I tried it out, but I couldn't quite make it work.
However, I probably messed something up.
Any ideas?
You could use a bot like china-richways, add filt with the cray, would the filt push with it? Then you could add the dlay circuit...a bit complicated, but you can do it!
Anyways, when you do the lua, for us to simulate it don't we have to insert the code too?
Isn't that a little.....inconvenient? Feel free to correct me if I'm wrong.
I ended up just using BRAY as the shield thing.
It's primarily cosmetic anyway, since I realized that the diamond shields hardly protected it.