Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (dr_panther, Ayumi, 7th_zorro), 877 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
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,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
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 | 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