Raised This Month: $ Target: $400
 0% 

Triggered light question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 07-27-2014 , 21:28   Triggered light question
Reply With Quote #1

Hi Alliedmodders!

What if i delete light entity what has target name and what can be turned on/off, can i recreate that light entity what turns that light source on/off?
What i wish to do is remove all entity lights to gave more entity slots and play with one light to turn on/off light sources.
I'll be running maps what have so many light entities
( they are for costom entity, for example spot light what can be break )

Using dynamic light message is really bad idea because of the lag.
Basically if we find the way how to have only one light entity then i can basically replace
zp nightvision with no lag one.

I know that the light source is build inside the bsp and can not be moved, it can be only turned on/off and thats fine too.

Edit:
To be honest, i already know that this what im trying to do is possible.
Since the light entities are only in server side, server must be sending to client a index of some sort what lets engine know, which
light source will be switched.

What happens when light entity get triggered?
Is there any source code in sdk what would lead me to right way?

Thank you for your attention!

Last edited by .Dare Devil.; 07-27-2014 at 21:41.
.Dare Devil. is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode