Sperry on 14/11/2020 at 13:51
I'm using light objects with joints to create a particular aesthetic effect. I need a switch activate the joints of these light objects, without changing the state of the animlight (random but coherent). So far, if I have the animlight script on these objects, the light turns off when I from the lever linked to it, which is NOT what I want.
So basically, I want these animlights objects to remain on and flickering, even when their joints are activated or turned off via a control device link by a lever (for example), and I want these animlights to turn off only with a water arrow, without there being any incident to the joint tweq state.
Basically, I need the Tweq and animlight aspects of a single object to be independently manipulable from one another.
So far, the solution I found is using two separate objects (the jointed object and an animlight point), but I was wondering if there would be a method more economical for object count. Is there a particular script I can use for this effect? Or another method to make animlight not react to CD links, and only to S&Rs, independently from the tweq state?
R Soul on 14/11/2020 at 17:12
I think AnimLight/CD link (i.e. TurnOn/TurnOff messages) is the only way to change the light in game, but S&R can be used to affect the joints:
Add two receptrons both with the effect 'Tweq Control'.
Edit effect:
Type: TweqJoints
Action: DoHalt/DoContinue depending on which recptron is being edited.
The easiest way to send stims is to install NVScript and use NVRelayTrap.
Design note example:
NVRelayTrapTOn="[5.00]SomeStim"; NVRelayTrapTOff="[5.00]SomeOtherStim"
CD link to the light/joint object (since TOn and TOff messages are different it won't affect the light status).
Nameless Voice on 14/11/2020 at 17:45
You might be able to achieve something useful via the NVTweqDevice script, using custom messages instead of the standard TurnOff/TurnOn.
Sperry on 14/11/2020 at 18:21
Thanks for the feedback. I'm looking into both of your suggestions.
Quote Posted by R Soul
I think AnimLight/CD link (i.e. TurnOn/TurnOff messages) is the only way to change the light in game, but S&R can be used to affect the joints
Just my luck, I need the exact opposite of this: a CD link to manipulate joints, and S&R to affect animlight.
So far, I successfully created the joint tweq effect using S&Rs, which send "forward" and "reverse" signals to the jointed lights. So this allows the joints to be manipulated independently from the animlight.
Now for the anim light, I was experimenting with the "extinguishable" and "controlwindowshade" scripts, without any luck.
trefoilknot on 14/11/2020 at 19:47
Anything that can be done with CD can, in principle, be done with S/R. You can have S/R which frobs a switch that is CD linked to the light.
Sperry on 15/11/2020 at 13:25
Ok problem solved! I've been able to create a system where the joints are controlled by a lever through S&Rs, and the animlight are controlled by a different lever/s&r circuit. I can manipulate both tweq and animlight independently. I needed to implement two different control circuits, with a few switch/relay/inverter objects; overall there are no more objects involved than with a standard torch. If anyone is interested, just ask and I'll detail exactly how I did this. Thanks for everyone's help.