Author Topic: How do I change the sun flare?  (Read 1232 times)

I checked the add-ons folder, I didn't see it there.
« Last Edit: August 12, 2012, 12:43:06 PM by Quick Brick »


Blockland\base\lighting


Now I need to figure out how to change the sun flare...

Actually I don't think you can. I've tried and failed. I would like to know if you can do this too. Can you change the thread title to "How to change sun flare?" so we get more people in here?

What, you mean outside of the GUI?
Do /envGui_setVar SunFlareTopIdx filepath and /envGui_setVar SunFlareBottomIdx filepath

do /envGui_setVar SunFlareTopIdx filepath and /envGui_setVar SunFlareBottomIdx filepath

I'm not quite sure what that means...

I suspect you'll have to edit the file path inside the atmosphere file like this:

Code: [Select]
$Sky::sunFlareTopTexture base/lighting/corona2.png
$Sky::sunFlareBottomTexture base/lighting/corona2.png


to

Code: [Select]
$Sky::sunFlareTopTexture add-ons/youraddon/yourcustomflare1.png
$Sky::sunFlareBottomTexture add-ons/youraddon/yourcustomflare2.png


Seem you can make a SunFlare_YOURFLARE addon and sunflare file that controls the flares.

Save the file as: YOURFLARE.sunflare with notepad like such:

Code: [Select]
$Sky::sunFlareTopTexture Add-Ons/SunFlare_youraddon/flare.png
$Sky::sunFlareBottomTexture Add-Ons/SunFlare_youraddon/flare.png
$Sky::sunational socialistmuth 167.51
$Sky::sunElevation 145.918
$Sky::sunFlareColor 1.000000 1.000000 1.000000 1.000000
$Sky::sunFlareSize 1.0
SunFlareTopIdx 5
SunFlareBottomIdx 3

Seem you can make a SunFlare_YOURFLARE addon and sunflare file that controls the flares.

Save the file as: YOURFLARE.sunflare with notepad like such:

Code: [Select]
$Sky::sunFlareTopTexture Add-Ons/SunFlare_youraddon/flare.png
$Sky::sunFlareBottomTexture Add-Ons/SunFlare_youraddon/flare.png
$Sky::sunational socialistmuth 167.51
$Sky::sunElevation 145.918
$Sky::sunFlareColor 1.000000 1.000000 1.000000 1.000000
$Sky::sunFlareSize 1.0
SunFlareTopIdx 5
SunFlareBottomIdx 3
;)
Yes, that was my script and I figure it out and successful!

Any ideas what these do? I have no idea where you for them since I can't find them anywhere.
SunFlareTopIdx
SunFlareBottomIdx
« Last Edit: August 20, 2012, 04:59:29 AM by Demian »

No clue. I tried messing around with the numbers and couldn't see any differences.

Any ideas what these do? I have no idea where you for them since I can't find them anywhere.
SunFlareTopIdx
SunFlareBottomIdx
That for the sun textures top and bottom something, maybe size.