Posted by: purplescrin - Sunday, October 24, 2010 2:51:06 PM
How did you guys put in sky textures in C&C3? In some Forgotten campaign missions, the sky textures were seen in the cinematics. I have also seen them in some video clips as well. I want to know and mention this in the C&C3 Mod SDK FAQ thread so modders will know how to input the sky textures into the game and apply them onto maps.
Posted by: Drummin - Sunday, October 24, 2010 9:54:54 PM
Skydomes in CNC3 are objects found under "ByNativeType/Civilian/None" and "REGION/Neutral/MISC_Natural" and placed like any other object in the center of the map with the Object Tool. For most shots I used the Cine_SkyDome019 as it reflects map lighting. I also place it underground at z minus 50 through z minus 200 depending on the shot and the map. Too deep and it won't look right but you want to hide the edges if possible. Because the shell of the dome in most case is beyond the cameras normal depth range (you might get a peak of it looking straight up), you will need to adjust the depth of view using the script found under Camera/Adjust/Change the camera depth of field. For most intro shots I changed the depth of frustum to 99999. This does cause big-time game lag as the Sage engine tries to render all it can see but it does allow you to see the sky all the way to ground level across the map. When returning to normal view after the intro, be sure to change this back to 1. The problem with using skydomes in a normal game is that fog doesn't look right where it meets the sky-line and I found no script that would allow you to turn the fog on or off for cinematic intros. I guess it's like being in a plane where it's perfectly clear above the fog. Anyway, hope that helps.
Posted by: Lauren - Thursday, January 6, 2011 12:41:47 PM
Just set the depth to something reasonable and its playable. The "problem" with the fog is caused by the shader as the object doesn't use one that makes use of fog. As with other stuff in this mod: recycling is nice but it is better to be less lazy and make new & better objects. Same goes for the "forcefield" river fake. It just doesn't look good then there is a sharp cut in the texture. Just make yourself a new small object and it would look much better.