Modification to the SunLight entity
Posted: Tue Dec 19, 2006 4:08 pm
I would like to perform an alteration to either the SkyDome entity or the SunLight entity to have a dynamic sunlight effect.
How difficult would it be to add the functionality of the SunLight entity into the SkyDome entity and be able to use the skydome script files to control the SunLight portion (such as matching twilight coloring, and an overcast effect when the DisableSun flag is set, etc,). Also, using the SkyDome scripts would eliminate the need to tamper with the editors' entity definition file.
If that isn't possible, I have another approach;
Would it be possible to add a field to the SunLight entity (useSkyDomeAngle(flag)) that replaces the angle field with a the angle of the SkyDome entity's origin and sun position?
Personally, I prefer the second option.
How would I go about achieving either of these two effects (locations of the SkyDome and SunLight entities' source, recommendations, etc,)? I have taken classes in C++ and I'm not afraid of coding projects like this. I've also successfully compiled RF in the past.
If I can successfully get this done, I will submit the changes to the RF team for everyone to use; no point in keeping something so cool to myself
Any and all help would be greatly appreciated.
How difficult would it be to add the functionality of the SunLight entity into the SkyDome entity and be able to use the skydome script files to control the SunLight portion (such as matching twilight coloring, and an overcast effect when the DisableSun flag is set, etc,). Also, using the SkyDome scripts would eliminate the need to tamper with the editors' entity definition file.
If that isn't possible, I have another approach;
Would it be possible to add a field to the SunLight entity (useSkyDomeAngle(flag)) that replaces the angle field with a the angle of the SkyDome entity's origin and sun position?
Personally, I prefer the second option.
How would I go about achieving either of these two effects (locations of the SkyDome and SunLight entities' source, recommendations, etc,)? I have taken classes in C++ and I'm not afraid of coding projects like this. I've also successfully compiled RF in the past.
If I can successfully get this done, I will submit the changes to the RF team for everyone to use; no point in keeping something so cool to myself
Any and all help would be greatly appreciated.