Please Help Support by Donating

  • 2021-06-18, 02:20:58
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search


Looking for VTMR Modding Tutorials? Check out the Modding Tutorials section of

Author Topic: Workable lights?  (Read 3155 times)


  • Team
  • Member
  • ******
  • Karma: 7
  • Offline Offline
  • Posts: 227
Workable lights?
« on: 2012-11-27, 06:31:10 »

I was wondering about the existance or possibility of assigning a template brush to toggle light/lightboxes on and off or anything of the sort.  I haven't seen any such feature in embrace, though I could see the possibility via script or something?
"Ordog, when I said "Give me some gold," I meant to do some cool moves; not drop a bag of gold.."


  • Horses Dick
  • Member
  • *****
  • Karma: 22
  • Offline Offline
  • Posts: 2389
Re: Workable lights?
« Reply #1 on: 2012-11-27, 11:23:37 »

I thought I had a light switch script in the open nod workspaces... looking over them, I guess not. I had a working light switch script included with the Nocturne project, but I think that's long lost, but it's a really simple... simple... simple script. hehe. Here's some things to note though about how the script should work:

-It wont synchronize with clients... unless ran as an effect (from the effects.ned scripts). This also means that a mod would be needed if you intend to run the map in multiplayer.
-The script is tied to a light style. The light style cannot be constant, but it can be anything else (torch style, pulse style, flicker style, and special styles). With that said, light switches must be limited at a location because the engine get's hanky about using more than four non-constant light styles per map.
-Tying a light switch to a constant style will result in Vertex lighting... fun. I tested this... believe me. lol

You could use a dynamic light... but that would look just as icky as turning off constant style lights. :P

This could be worth a small tutorial and added tutorial workspace script...

"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Page created in 0.031 seconds with 26 queries.