Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (kzhao, AndrewAMD, bigsmack), 824 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
"Dynamic" checkbox for a light? #229288
09/26/08 07:06
09/26/08 07:06
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
I am a bit discouraged to post this in the bugs section. Maybe also this is a feature, and not a bug.

When you insert a light in your level you can check a "Dynamic" checkbox. With this method created dynamic lights doesn't act as dynamic light though. They still act as static light.

I am told that i have to create the light with code, and not in the WED. But what is the "Dynamic" checkbox in the properties of the light good for then?

Just in case, i still use A 7.10

Last edited by Tiles; 09/26/08 07:08.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: "Dynamic" checkbox for a light? [Re: Tiles] #229290
09/26/08 08:02
09/26/08 08:02
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
This checkbox is supposed to place a light that's static and dynamic at the same time, i.e. it casts dynamic shadows and lights the diffuse part of a material.

You say they don't act this way? Do you have a level where this happens?

Re: "Dynamic" checkbox for a light? [Re: jcl] #229297
09/26/08 08:38
09/26/08 08:38
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Thanks JCL.

Hmm, works in none of my levels. It's always the standard lighting. So i thought it's me doing something wrong. Am still at battling with the basics. But now i am told that the light really doesn't work, but should. That's why i ask. It`s about this case here:

http://www.coniserver.net/ubb7/ubbthreads.php?ubb=showflat&Number=229182#Post229182

I am still unsure if it is not me doing something very wrong.



Last edited by Tiles; 09/26/08 08:40.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: "Dynamic" checkbox for a light? [Re: jcl] #229298
09/26/08 08:38
09/26/08 08:38
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I just found that there's indeed something wrong in certain levels with dynamic lights placed in WED. This will be fixed. Until then, please place your lights through script.

You can place a dynamic light with this code, f.i. in the main function after loading the level:

ENTITY* light = ent_create(NULL,vector(x,y,z),NULL);
light.red = r;
light.green = g;
light.blue = b;
light.lightrange = radius;

where x,y,z,r,g,b,radius are the position, color, and range of the light.

Re: "Dynamic" checkbox for a light? [Re: jcl] #229299
09/26/08 08:41
09/26/08 08:41
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
WEEHA laugh

Vielen Dank smile


trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de

Moderated by  old_bill, Tobias 

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