Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 236 Guests
Online:

LATEST FORUM THREADS

»
New BF2 Mod
BF2 General

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)

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»