I'm wanting to do some stuff with glowmaps, how can I rout a custom value in? Can I make my own electrics.value to use? And can I assign more than the 3 states of "off" "on" and "on_intense"? I'd like to be able to set my own integers of "on" states. Is this possible? also what are "animFlags"? I see it as a line in the jato shock diamond code, but I can't find information on it
You can use your own electrics.values, but it will always only work with 3 states, you can bypass it by making the off state invisible and having multiple meshes overlayed with different materials
oh the multiple mesh thing would be easy, and cycle through them. I wouldn't have come up with that on my own! how about the animflags thing?
Yes. I think it's missing an "E". Don't ask me what it's for but, I think it's an in-joke of some sort.
Defines type of animation: 1=scroll, 2=rotate, 4=wave, 8=scale, 16=sequence. Each flag then allows different animation options. Worth checking lua\ge\extensions\editor\materialEditor.lua to see what they are exactly.
ah I see it now, but woof that's a lot of stuff that's going over my head, so I'll leave animflags alone for now, though "sequence" does seem like I could find uses for. I wonder if I could use a live input one day and a camera, so you'd have a security camera type thing... but there's probably an easier way. This can be marked as solved