Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,038 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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