Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by jcl. 04/24/26 17:48
ZorroGPT
by TipmyPip. 04/23/26 14:23
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (VoroneTZ, kiamonster, Grant, 1 invisible), 3,511 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem with SUN_COLOR #321346
04/28/10 14:25
04/28/10 14:25
Joined: Jun 2004
Posts: 94
P
pyramide Offline OP
Junior Member
pyramide  Offline OP
Junior Member
P

Joined: Jun 2004
Posts: 94
I maked my LEVEL with blocks and I using SUN_COLOR to get a effect of transition DAY/SUNSET/NIGHT. but the static shadows in the LEVEL BLOCK dont show up anymore because I have to set the to "FILE/MAP PROPERTIES/SUN = 0,0,0" (if change this number the sun_color dont work).

there´s a way to make the shadows appears in my level ?

THANKS...

Re: Problem with SUN_COLOR [Re: pyramide] #321351
04/28/10 15:11
04/28/10 15:11
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Well don't set the sun to 0 when you want shadows from the sun.

sun_color is a script variable and works always, just set it after level loading.

Re: Problem with SUN_COLOR [Re: Tobias] #321353
04/28/10 16:09
04/28/10 16:09
Joined: Jun 2004
Posts: 94
P
pyramide Offline OP
Junior Member
pyramide  Offline OP
Junior Member
P

Joined: Jun 2004
Posts: 94
thanks , but I tryed that and still not working...

I changed to 5,5,5 , 10,10,10 and others but the SUN_COLOR dont work anymore... works only with my models...

Re: Problem with SUN_COLOR [Re: pyramide] #321355
04/28/10 16:23
04/28/10 16:23
Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,141
Baunatal, Germany
Maybe the sun_color variable does not affect blocks, only models.

For day_night I would not use sun_color anyway, but directly change the default block materials, mat_flat and mat_shaded. You have much more control over the lighting this way.

Re: Problem with SUN_COLOR [Re: Tobias] #321359
04/28/10 16:48
04/28/10 16:48
Joined: Jun 2004
Posts: 94
P
pyramide Offline OP
Junior Member
pyramide  Offline OP
Junior Member
P

Joined: Jun 2004
Posts: 94
"Maybe the sun_color variable does not affect blocks"

I disagree...

I tested without the shadows and works perfectly...

The LEVEL change the colors in real time. The only problem is the absence of the static shadows.

I tryed to add a "MYLEVEL.WMB" (map entity) with shadows and dont work either.


Moderated by  HeelX, rvL_eXile 

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