Fxsunlight issue in ms3
by University of Central FL (#0009) · in Torque Game Engine Advanced · 05/19/2006 (8:31 pm) · 1 replies
I can not get the fxsunlight working in my build. actually im having tremendous issues with the sun itself.. I'm assuming that the TGE's Elevation and Azimuth has been scrubbed... if so could anyone help describe the process of adding effect sunlight..
Thank you.. here is my code..
Cheers
new Sun() {
direction = "1 0 -5";
elevation = "35";
color = "1 1 0.8 1";
ambient = "0.4 0.4 0.5 1";
locked = "true";
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
};
new fxSunLight(fxsun) {
position = "1140.77 667.938 271.406";
rotation = "1 0 0 0";
scale = "1 1 1";
Enable = "1";
LocalFlareBitmap = "common/lighting/corona";
RemoteFlareBitmap = "common/lighting/corona";
SunAzimuth = "0";
SunElevation = "50";
LockToRealSun = "1";
FlareTP = "1";
Colour = "1 0.4 0.7 1";
Brightness = "1";
FlareSize = "1";
LocalScale = "1";
FadeTime = "0.1";
BlendMode = "0";
AnimColour = "0";
AnimBrightness = "0";
AnimRotation = "0";
AnimSize = "0";
AnimAzimuth = "0";
AnimElevation = "0";
LerpColour = "1";
LerpBrightness = "1";
LerpRotation = "1";
LerpSize = "1";
LerpAzimuth = "1";
LerpElevation = "1";
LinkFlareSize = "0";
SingleColourKeys = "1";
MinColour = "0 0 0 1";
MaxColour = "1 1 1 1";
MinBrightness = "0";
MaxBrightness = "1";
MinRotation = "0";
MaxRotation = "359";
minSize = "0.5";
MaxSize = "1";
MinAzimuth = "0";
MaxAzimuth = "359";
MinElevation = "-30";
MaxElevation = "210";
RedKeys = "AZA";
GreenKeys = "AZA";
BlueKeys = "AZA";
BrightnessKeys = "AZA";
RotationKeys = "AZA";
SizeKeys = "AZA";
AzimuthKeys = "AZ";
ElevationKeys = "AZ";
ColourTime = "5";
BrightnessTime = "5";
RotationTime = "5";
SizeTime = "5";
AzimuthTime = "5";
ElevationTime = "5";
};
Thank you.. here is my code..
Cheers
new Sun() {
direction = "1 0 -5";
elevation = "35";
color = "1 1 0.8 1";
ambient = "0.4 0.4 0.5 1";
locked = "true";
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
};
new fxSunLight(fxsun) {
position = "1140.77 667.938 271.406";
rotation = "1 0 0 0";
scale = "1 1 1";
Enable = "1";
LocalFlareBitmap = "common/lighting/corona";
RemoteFlareBitmap = "common/lighting/corona";
SunAzimuth = "0";
SunElevation = "50";
LockToRealSun = "1";
FlareTP = "1";
Colour = "1 0.4 0.7 1";
Brightness = "1";
FlareSize = "1";
LocalScale = "1";
FadeTime = "0.1";
BlendMode = "0";
AnimColour = "0";
AnimBrightness = "0";
AnimRotation = "0";
AnimSize = "0";
AnimAzimuth = "0";
AnimElevation = "0";
LerpColour = "1";
LerpBrightness = "1";
LerpRotation = "1";
LerpSize = "1";
LerpAzimuth = "1";
LerpElevation = "1";
LinkFlareSize = "0";
SingleColourKeys = "1";
MinColour = "0 0 0 1";
MaxColour = "1 1 1 1";
MinBrightness = "0";
MaxBrightness = "1";
MinRotation = "0";
MaxRotation = "359";
minSize = "0.5";
MaxSize = "1";
MinAzimuth = "0";
MaxAzimuth = "359";
MinElevation = "-30";
MaxElevation = "210";
RedKeys = "AZA";
GreenKeys = "AZA";
BlueKeys = "AZA";
BrightnessKeys = "AZA";
RotationKeys = "AZA";
SizeKeys = "AZA";
AzimuthKeys = "AZ";
ElevationKeys = "AZ";
ColourTime = "5";
BrightnessTime = "5";
RotationTime = "5";
SizeTime = "5";
AzimuthTime = "5";
ElevationTime = "5";
};
About the author
Associate Manoel Neto
Default Studio Name