Nastavenie Worldspawn
31.01.2007 - 17:34,
(Autor: tomoxm)
Rôzne nastavenia worldspawnu, tj. nastavenie default svetla v mape atď.

_color This is a key value for the worldspawn which sets the ambient color. Values are RGB and scale is 0 to 1.
ambient This is a key value for the worldspawn which sets ambient light level. 0 is no ambient, 1 would be fullbright ambient. (0.1 - 0.3 recommended)

diffusefraction Percentage (0 to 1) of the total sunlight which is diffuse vs direct. (0.3 - 0.7 recommended)

suncolor same as _color but for the direct sunlight

sundiffusecolor same as _color for the diffuse sunlight

sundirection yaw pitch roll. -30 160 0 would mean the sun is 30 degrees below the horizon and coming from the upper left in the 2D view in the editor (more left than upper). Apply these values to a node and observe where the arrow points. The arrow points at the sun.

sunlight Total brightness of the direct sun and the diffusesun and the ambient combined. IE increasing value of the diffusesun or the ambient will not increase the total brightness, only the amount of the total which is diffuse or ambient. The scale is 0 to 2 with 0 being total darkness and 1 being surfaces directly hit are fullbright. values above 1 increase the number of surfaces which will be fullbright. IW uses about .7 for night time and 1.3 to 2 for daytime.


Nasledujúce nastavenia sú používané v oficiálnych multiplayer mapách dodávaných s hrou :

mp_brecourt: sky/mp_brecourt
"diffusefraction" "0.6"
"sundiffusecolor" ".75 .84 1"
"sundirection" "-45 330 0"
"suncolor" "1 .73 .42"
"sunlight" "1.3"
"ambient" "0.18"
"_color" ".75 .84 1"
"northyaw" "90"


mp_carentan:
sky/mp_carentan
"minlightcolor" ".75 .84 1"
"diffusefraction" "0.45"
"sundiffusecolor" ".75 .84 1"
"sundirection" "-45 210 0"
"suncolor" "1 .73 .42"
"sunlight" "1.5"
"_color" ".75 .84 1"
"ambient" ".2"


mp_chateau:
sky/mp_chateau
"northyaw" "270"
"diffusefraction" ".4"
"sunlight" ".7"
"sundiffusecolor" "14 21 32"
"suncolor" "33 43 53"
"sundirection" "-40 5 0"
"_color" "1.000000 0.980392 0.925490"
"ambient" ".12"


mp_dawnville:
sky/mp_dawnville
"diffusefraction" "0.35"
"sundiffusecolor" ".75 .84 1"
"sundirection" "-24 45 0"
"suncolor" "1 .73 .42"
"sunlight" "2"
"ambient" ".18"
"_color" ".75 .84 1"
"northyaw" "90"


mp_depot:
sky/mp_depot
"_color" "200 200 205"
"ambient" "0.16"
"sunlight" "1"
"suncolor" "100 100 210"
"sundirection" "-45 95 0"
"sundiffusecolor" "200 200 210"
"diffusefraction" "0.6"


mp_harbor:
sky/mp_harbor
"_color" "0.95 0.95 1.000000"
"sundirection" "-35 195 0"
"suncolor" "0.99 0.98 0.86"
"sunlight" "1.6"
"ambient" ".20"
"sundiffusecolor" "0.94 0.94 1.000000"
"diffusefraction" ".55"
"northyaw" "90"


mp_hurtgen:
sky/stormy
"ambient" ".18"
"sunlight" "1"
"sundirection" "-60 95 0"
"sundiffusecolor" "0.962963 0.984127 1.000000"
"suncolor" "0.953642 0.980132 1.000000"
"diffusefraction" ".75"
"_color" ".953642 .980132 1"


mp_pavlov:
sky/mp_pavlov
"northyaw" "90"
"_color" "100 105 105"
"ambient" "0.18"
"sundirection" "-30 40 0"
"diffusefraction" "0.65"
"sundiffusecolor" "100 100 100"
"suncolor" "100 100 105"
"sunlight" "0.95"


mp_powcamp:
sky/mp_powcamp
"_color" "200 200 205"
"ambient" "0.16"
"sunlight" "1"
"suncolor" "100 100 210"
"sundirection" "-45 95 0"
"sundiffusecolor" "200 200 210"
"diffusefraction" "0.55"


mp_railyard:
sky/mp_railyard
"sundirection" "-40 225 0"
"suncolor" "100 100 105"
"sunlight" "1.3"
"sundiffusecolor" "100 100 100"
"diffusefraction" ".65"
"ambient" ".10"
"_color" "100 100 105"


mp_rocket:
sky/mp_rocket
"_color" "1 1 1"
"ambient" ".18"
"diffusefraction" ".65"
"suncolor" "0.953642 0.980132 1.000000"
"sunfiffusecolor" "0.962963 0.984127 1.000000"
"sundirection" "-65 75 0"
"sunlight" "1"


mp_ship:
sky/mp_ship
"sundirection" "-45 110 0"
"sundiffusefraction" ".6"
"sundiffusecolor" ".8 .8 .78"
"suncolor" ".9 .9 .89"
"sunlight" "1"
"ambient" "0.18"
"_color" ".9 .9 .89"


 

Napísať otázku k tutoriálu

Meno: Dátum:
Kontrolný kód : 5 + sedem =