sunlight lighting

sunlight lighting

Postby unixfreak » 22 Apr 2013, 03:23

Hi all.
Noticed yesterday that the 1.4 release has commands; sunlight / sunlightyaw / sunlightpitch / sunlightscale (that also appeared in the latest sauerbraten). Question is, why can't i get any lighting from it with RE?

Am i missing something?
eg;
{l Code}: {l Select All Code}
/sunlight 120 180 150
/sunlightpitch 70


The above doesn't seem to add any lightmaps. :oops:
User avatar
unixfreak
 
Posts: 82
Joined: 02 Feb 2012, 11:54
Location: Bristol, England

Re: sunlight lighting

Postby qreeves » 22 Apr 2013, 03:40

These commands/variables are only for use when importing a map from Sauerbraten. When the map is first loaded it turns these variables into the appropriate sunlight entity in the world space. Try: /newent sunlight 0 70 120 180 150
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: sunlight lighting

Postby unixfreak » 22 Apr 2013, 04:02

Ah i see. That makes perfect sense thanks.
User avatar
unixfreak
 
Posts: 82
Joined: 02 Feb 2012, 11:54
Location: Bristol, England

Who is online

Users browsing this forum: No registered users and 1 guest