Gamestudio Links
Zorro Links
Newest Posts
Respect History setting for Z systems
by AndrewAMD. 10/02/26 15:43
Purchase A8 full licence version
by ukgamer. 10/02/26 01:31
A3 projects
by Yopachi. 09/28/26 17:04
Parent/child object
by rayp. 09/27/26 14:43
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Ayumi, 1 invisible), 8,981 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
julienp, julienper, KelleyAbbey, Yopachi, Knull
19245 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 | 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