Please Help Support E-Mods.net by Donating

e-mods.net

  • 2017-09-20, 07:47:51
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search

News:

Looking for VTMR Modding Tutorials? Check out the Open Nod Development section of e-mods.net.

Author Topic: Workable lights?  (Read 1113 times)

Mort

  • Team
  • Member
  • ******
  • Karma: 7
  • Offline Offline
  • Posts: 226
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?
Logged
"Ordog, when I said "Give me some gold," I meant to do some cool moves; not drop a bag of gold.."

Javokis

  • Horses Dick
  • Member
  • *****
  • Karma: 21
  • Offline Offline
  • Posts: 2362
    • E-Mods.net
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...

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

Page created in 0.058 seconds with 19 queries.