Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, AndrewAMD, TipmyPip, Quad), 889 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 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