673f8a4db186b

673f8a4db2e00
2 Guests are here.
 

673f8a4db33f1RoSoDude

673f8a4db3460
I just finished a custom script to allow for SCP's broken QBR machine in Command A to be repairable (I have a functional respawn marker, hologram spawned, button flashing and rotation fixed, schemas set, etc.), and the only thing missing is a light fixture and some decals in the machine. However, I don't see any way for me to add lights/brushes via Squirrel Script or DML. Any ideas? I figure it's a longshot.

If there's no other way, could I request a red light in there to match the other QBRs that I can activate via script? Pretty please?  :D

EDIT: I see the RegenScreen is just an object I could spawn in. But the animated decals on the side use brushes, and I'm not sure if I can create an object with animated textures to mimic those. And the light is still a problem, of course.

673f8a4db3652voodoo47

673f8a4db36d0
technically, you could do it with dynamic lights (just give the animlight the dynamic prop as well), but this is very much in the NOT RECOMMENDED zone (though just one is not that big of a deal, so try it and see whether the result is workable). requesting (anim)lights that will be turned off by default (and then can be manipulated by dmls) is a much better option.

you can fake the animated brush textures with objects pretty easily, you just need the decal object, and set its textures up so Dark would recognize them as a sequence (tex_.png, tex_1.png, text_2.png etc). ideally, the decal should have the same shape as the texture (SCP should have a bunch of those in the obj folder - check medsci1 obj 2095).

NVscript can change brush textures btw, maybe you could use that in this situation (//no, this is not going to help, we would have to drop a few brushes there for you to take advantage of. which we could do, not a big deal).


to make it short - you could duct tape it with spawning a dynamic light and and a RegenScreen, but doing it properly will require an edit to the map.
« Last Edit: 20. August 2020, 21:35:05 by voodoo47 »

673f8a4db3a69ZylonBane

673f8a4db3ab8
I see the RegenScreen is just an object I could spawn in. But the animated decals on the side use brushes, and I'm not sure if I can create an object with animated textures to mimic those.
You might want to look a little more closely at RegenScreen's neighbors in the hierarchy.
Acknowledged by: RoSoDude

673f8a4db3bc4RoSoDude

673f8a4db3c14
The RegenScreen panels from SCP and dynamic AnimLight worked beautifully. Thanks guys.

https://vimeo.com/449929507
« Last Edit: 21. August 2020, 03:04:45 by RoSoDude »

673f8a4db3cafvoodoo47

673f8a4db3cfb
not bad. just remember, careful with those dynamic lights.
2 Guests are here.
I have a request. It's urgent. And dramatic. And stuff...
Contact SMF 2.0.19 | SMF © 2016, Simple Machines | Terms and Policies
FEEP
673f8a4db4882