Raised This Month: $ Target: $400
 0% 

Use lights code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kevin14144
Member
Join Date: Jul 2007
Old 02-02-2009 , 21:29   Use lights code
Reply With Quote #1

How can use lights(black) code and no change sky light ?

Last edited by kevin14144; 02-02-2009 at 21:34.
kevin14144 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-02-2009 , 21:56   Re: Use lights code
Reply With Quote #2

Code:
#include <engine> // Usage: set_lights("z");

Code:
#include <fakemeta> #define fm_set_lights(%1) engfunc(EngFunc_LightStyle, 0, %1) // Usage: fm_set_lights("z");
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kevin14144
Member
Join Date: Jul 2007
Old 02-02-2009 , 22:21   Re: Use lights code
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
Code:
#include <engine></p><p>&nbsp;</p><p>// Usage:</p><p>set_lights("z");




Code:
#include <fakemeta></p><p>&nbsp;</p><p>#define fm_set_lights(%1) engfunc(EngFunc_LightStyle, 0, %1)</p><p>&nbsp;</p><p>// Usage:</p><p>fm_set_lights("z");
THX

THX

It work
By the way what is "fm_set_lights(%1) engfunc(EngFunc_LightStyle, 0, %1)".


It mean fm_set_lights(%1) = engfunc(EngFunc_LightStyle, 0, %1) ?


And have other style(0) ?
kevin14144 is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-02-2009 , 22:44   Re: Use lights code
Reply With Quote #4

In other words:

Engine:
set_lights("z");

Fakemeta:
engfunc(EngFunc_LightStyle, 0, "z");
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kevin14144
Member
Join Date: Jul 2007
Old 02-02-2009 , 22:50   Re: Use lights code
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
In other words:

Engine:
set_lights("z");

Fakemeta:
engfunc(EngFunc_LightStyle, 0, "z");


Oh , i know thx
kevin14144 is offline
kevin14144
Member
Join Date: Jul 2007
Old 02-02-2009 , 23:05   Re: Use lights code
Reply With Quote #6

I am stupid . Ha!


New question about set person light


How ?
kevin14144 is offline
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 02-02-2009 , 23:06   Re: Use lights code
Reply With Quote #7

Not possible.
__________________
Join US - custom Zombie Server - Custom Addons:



Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 02-03-2009 , 07:55   Re: Use lights code
Reply With Quote #8

Umm... Let's say you set light in server. Then a player reconnects. He sees default light. So maybe it's possible somehow to set light for a single player? For now I'd suggest using ScreenFade.
__________________
hleV is offline
Speed!
BANNED
Join Date: Jan 2009
Old 02-03-2009 , 12:01   Re: Use lights code
Reply With Quote #9

Quote:
Originally Posted by hleV View Post
Umm... Let's say you set light in server. Then a player reconnects. He sees default light. So maybe it's possible somehow to set light for a single player? For now I'd suggest using ScreenFade.
use T_DLIGHT
Speed! is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-05-2009 , 02:20   Re: Use lights code
Reply With Quote #10

Quote:
Originally Posted by hleV View Post
Umm... Let's say you set light in server. Then a player reconnects. He sees default light.
It's true when you don't fully convert set_lights, and sometime he doen't see default light, but strange lightning
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply


Thread Tools
Display Modes

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 01:40.


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