Gamestudio Links
Zorro Links
Newest Posts
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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 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
display00 #96190
10/27/06 05:30
10/27/06 05:30
Joined: Jun 2003
Posts: 261
Broken Arrow ,OK
BERG Offline OP
Member
BERG  Offline OP
Member

Joined: Jun 2003
Posts: 261
Broken Arrow ,OK
when i put a terrian in my level and added a new template a6 script to it, and ran the engine, the terrain had no shading at all. so i went to the sun angle and light in the map properties box and changes some values, and still nothing. so i did some investigating and found on the display00 code "var sunlight=1;" and commented it out. it worked! my terrian was shaded (although rather bright). so what is that variable?

thx,

Alex

Re: display00 [Re: BERG] #96191
10/27/06 08:16
10/27/06 08:16
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
that variable determines whether or not models should treat the sun as a dynamic light source.

good job figuring that out!

julz


Formerly known as JulzMighty.
I made KarBOOM!
Re: display00 [Re: JibbSmart] #96192
10/27/06 14:26
10/27/06 14:26
Joined: Jun 2003
Posts: 261
Broken Arrow ,OK
BERG Offline OP
Member
BERG  Offline OP
Member

Joined: Jun 2003
Posts: 261
Broken Arrow ,OK
but why is everything dulled out when its on?
thx tho

Re: display00 [Re: BERG] #96193
10/28/06 08:02
10/28/06 08:02
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
hmm... in my version of the manual it seems to be undocumented. a bit more research revealed the variable that i was referring to is actually called sun_light which, if set to anything other than zero, places a dynamic light at the sun position. maybe the templates use "var sunlight" to in a function to determine certain settings?

julz


Formerly known as JulzMighty.
I made KarBOOM!

Moderated by  HeelX, Spirit 

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