Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,238 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
View entity and dynamic light #66041
03/11/06 13:04
03/11/06 13:04
Joined: Feb 2003
Posts: 211
Unna
F
Freddy_dup1 Offline OP
Member
Freddy_dup1  Offline OP
Member
F

Joined: Feb 2003
Posts: 211
Unna
Hello,

this entity is getting up the light of the dynamic lights
in my level, even if the view (and the entity) is very far
away of the dynamic light.
Does someone know why and how I can stop that?
How can I get a view-entity to ignore the dynamic lights?

Code:
entity weapon1{
scale_x=0.75;
scale_y=0.75;
scale_z=0.75;
type=<gun11.mdl>;
flags= visible;
albedo=100;
ambient=0;
layer=1;
view=camera;
pan=5;
x=300;
y=-90;
z=-100;}



Last edited by Freddy; 03/11/06 15:09.
Re: View entity and dynamic light [Re: Freddy_dup1] #66042
03/14/06 14:23
03/14/06 14:23
Joined: Aug 2005
Posts: 199
houston
S
seneca Offline
Member
seneca  Offline
Member
S

Joined: Aug 2005
Posts: 199
houston
hey there, i'm not quite understanding what you are asking. If you have an entity that is picking up the dynamic light from other sources in the level you can simply write in the effected models' action: "my.unlit = on;" without the ""

entity weapon1
{
scale_x=0.75;
scale_y=0.75;
scale_z=0.75;
type=<gun11.mdl>;
flags= visible;
albedo=100;
ambient=0;
layer=1;
view=camera;
pan=5;
x=300;
y=-90;
z=-100;

my.unlit = on;
}
or entity.unlit = on;
or weapon1.unlit = on;

you can put the above function in like a main function or starter function that sets up the entity at the beginning of the game.


of course using unlit will keep the entity from pick up all light sources even from itself.

i think this is what you are talking about. no?


a8 commercial

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1