Art of War Central
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
The next MODSonair show will air LIVE on:
03/14/2010 12:03 EST

Time remaining:
We Dontated to PixelEquity
"Mod or modification is a term generally applied to PC games, especially first-person shooters, RPGs and real-time strategy games." 2
 
Site News   |   Aggregated News   |   Forums   |   Tutorials   |   Downloads   |   Projects   |   Weblinks
Latest Forum Threads 
MODSonline.. Posts: (7) Views: (39) by DemonSeed
CoD4 Map + Mod R.. Posts: (6) Views: (67) by Rasta
CoDWW MP Mapping.. Posts: (5) Views: (82) by dundy
Software Help.. Posts: (4) Views: (34) by techno2sl
CoD4 MP Mapping.. Posts: (18) Views: (122) by Larrabee
CoD4 SP Mapping.. Posts: (2) Views: (24) by voidsource
CoDUO Mapping.. Posts: (5) Views: (76) by =S-V=OVERKILL
General.. Posts: (10) Views: (137) by vT-Ownage
CoDUO Mapping.. Posts: (3) Views: (49) by =S-V=OVERKILL
CoD4 MP Mapping.. Posts: (3) Views: (62) by paulb39
Back to Home Page
MODSCON 2010 L4D2 Contest
Dr. Nano Free for the iPhone and iPod Touch
Register/Login to Add a Tutorial
Tutorials
SOF1 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Worldspawn
Versions: You must be logged in to view history.
This is the defining entity for your map. It sets the scene and mood for the entire level.

This is the defining entity for your map. It sets the scene and mood for the entire level.

Although, the below fields are the o­nly o­nes listed in the entity editor, there are others available. The worldspawn entity also controls the lighting of the overall map.

Some of these missing fields are as follows:

_sun_light controls the brightness of the sun. It is the light produced from the sky* (see note). The value can range any where from 0 o­n up.
_sun_angle sets the angle from which the sun is shining down. It has two numbers that reflect the yaw and pitch respectively. Yaw is the direction it is heading such as 0 is East and 90 is North. Pitch is the downward (or upward) angle of the light whereas 0 is horizontal, -90 is straight down and 90 is straight up.
_sun_color is the color of the light. Is is represented as the vector RGB color (1 0 0 = red).
_sun_ambient is the amount of light received by the shadows that have been cast from the sun. It is like the lighting that is reflected into the areas that do not receive direct sun light. It's value is anywhere from 0 to the _sun_light value.
_sun_diffuse is the strength of the shadow lines. The higher the diffuse, the softer the shadow edges appear. This can be any value between 0 and the _sun_light value.


The figures I tend to use in my maps, as a reference for you, are as follows:
_sun_light 112
_sun_angle 45 -45
_sun_color .78 .58 .55
_sun_ambient 10
_sun_diffuse 20
NOTE: I have found that in some cases the sky lighting does not work right away. I do not know if this is the fault of the editor or engine or even me, but I have found a way around this. Select all of the sky textures and go to the texture editor. Check the box for light then enter a value of 10 in the value box. This seems to have to solved my problem. (Thanks to The Jeep)