Jump to content


Torches in sconces don't cast light

mesh torch 3d sconce angle position light activator rigging nifskope

  • Please log in to reply
No replies to this topic




  • Premium Member
  • 2,617 posts

While working on an update for Interactive Torch Sconces, I found that sometimes torches in sconces don't cast light.


Looking through RemovableTorchSconce01SCRIPT.psc, I discovered that while Torch01 (a usable torch) is removed from your inventory when you use a torch sconce, the script actually places RemovableTorch01 (an activator) in the sconce. Unfortunately, RemovableTorch01 has no way to cast light itself.


I tried changing RemovableTorch01 to Torch01, which works to a degree. The torch in the sconce casts light (!) because it is an actual torch. (Without BlockActivation(), you could even pick up the torch directly out fo the sconce without activating the sconce, and you can see the weight and value of the torch by looking at it.) Unfortunately again, Torch01 isn't placed IN the sconce but rather at an angle.


Because of the way PlaceAtMe() works, carefully positioning Torch01 into the sconce with SetAngle() and SetPosition() is not a solution because while I could get the torch positioned correctly in one sconce, the torch would not be positioned correctly in other sconces.


I considered attaching an effect to RemovableTorch01 that simulates torch light, but then there'd be awful compatibility issues with lighting mods because those mods would change Torch01 and not the effect attached to RemovableTorch01.


I also considered changing the object bounds of Torch01 to match RemovableTorch01, but I'm not sure if that would a) have any effect or b) screw up Torch01 placements everywhere.


So, I'm out of ideas.


Can anyone help solve this problem?




An empty torch sconce in Solitude



A torch sconce in Solitude with RemovableTorch01 and no light emission (default)



A torch sconce in Solitude with Torch01 and light emission (modified)



RemovableTorch01 in NifSkope (looks like the anchors for sconces are built into the mesh)


Edited by fireundubh, 12 April 2014 - 04:18 AM.

Also tagged with one or more of these keywords: mesh, torch, 3d, sconce, angle, position, light, activator, rigging, nifskope

Page loaded in: 1.059 seconds