|
2 registered members (TipmyPip, 1 invisible),
18,731
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Lightning on a local model
[Re: OptimuS]
#55023
09/16/05 16:16
09/16/05 16:16
|
Joined: Jun 2005
Posts: 16
RcSepp
OP
Newbie
|
OP
Newbie
Joined: Jun 2005
Posts: 16
|
Quote:
In AUM there is a script that checks how bright is where your model is(the player) like for hiding in the shadows , use this with setting brightness of the weapon maby ?
THATS EXACTLY WHAT I WANTED TO HERE I just hadn't found the right syntax until now, but it works as you said.
For all, who have the same problem. Here is the code:
vec_set (temp, my.x); temp.z -= 1000; c_trace(my.x,temp,ignore_me + ignore_passable + scan_texture); local_weapon.red = tex_light; local_weapon.green = tex_light; local_weapon.blue = tex_light;
|
|
|
|
|
|