MODSon[line.com] Wiki - Beta 1.0
Call of Duty 4: Worldspawn Settings
From MODSonline Wiki
List of worldspawn settings (all stock CoD4 maps).
[edit] How to add worldspawn settings
You can add these values using the Entity Editor of Radiant or use a text editor for a direct manipulation of your .map file.
Method 1:
Make sure nothing is selected in Radiant - press Esc to deselect everyting, maybe twice. Press N on your keyboard and the Entity Editor will show up with worldspawn selected. Type key and value (without quote marks). Confirm with return key.
Method 2:
Make a backup of your .map file (just in case). Load your map into a text editor, Notepad or Wordpad for example. Alternatively you could use one of those (free) enhanced version: Notepad++ / Notepad2 / Programmer's Notepad.
At the top, add the worldspawn values using copy and paste (have a look at the screenshot below). Save changes and load your map in Radiant again. Keep an eye on the brackets, don't mess up your map file!
[edit] Multiplayer Maps
[edit] mp_backlot "Backlot"
"radiosityScale" "1.8" "contrastGain" "0.425" "diffusefraction" "0.5" "_color" ".8 .9 1" "sunlight" "1.30" "sundirection" "-43.5 25.11 0" "sundiffusecolor" ".9 0.88 .75" "suncolor" "1 0.92 0.88" "ambient" ".15"
[edit] mp_bloc "Bloc"
"radiosityScale" "1" "contrastGain" "0.15" "diffusefraction" "0.25" "_color" "0.90 0.90 1" "sunlight" ".9" "sundirection" "-120 -50 0" "sundiffusecolor" ".9 .92 1" "suncolor" ".9 .98 1" "ambient" "0"
[edit] mp_cargoship "Wetwork"
"RadiosityScale" "2" "contrastGain" "0.15" "diffusefraction" "0.15" "_color" "0.5 0.5 0.7" "sunlight" "1.3" "sundirection" "-25 315 0" "sundiffusecolor" "0.5 0.5 0.7" "suncolor" "0.5 0.6 1.000000" "ambient" ".1"
[edit] mp_citystreets "District"
"radiosityScale" "2.5" "diffusefraction" "0.5" "_color" ".74 .68 56" "sunlight" ".78" "sundirection" "-67 97 0" "sundiffusecolor" "1 .89 .74" "suncolor" "1 0.92 0.88" "ambient" ".2"
[edit] mp_convoy "Ambush"
"diffusefraction" "0.1" "sundiffusecolor" ".75 .84 1" "sundirection" "-30 -340 0" "suncolor" ".85 .76 .53" "sunlight" "1.6" "ambient" "0.3" "_color" ".75 .84 1"
[edit] mp_countdown "Countdown"
"brightness" "0.1" "reflection_color_correction" "launchfacility_a" "diffusefraction" "0.2" "_color" "0.02 0.02 .05" "sunlight" "1.5" "sundirection" "-30 0 0" "sundiffusecolor" "0.717647 0.776471 1.000000" "suncolor" "1 .8 .6" "ambient" "0.2"
[edit] mp_crash "Crash"
"radiosityScale" "1.5" "contrastGain" "0.425" "diffusefraction" "0.5" "_color" ".8 .9 1" "sunlight" "1.3" "sundirection" "-50 240 0" "sundiffusecolor" ".9 0.88 .75" "suncolor" "1 0.92 0.88" "ambient" ".02"
[edit] mp_crossfire "Crossfire"
"contrastGain" "0.425" "diffusefraction" "0.5" "_color" ".8 .9 1" "sunlight" "1" "sundirection" "-50 136 0" "sundiffusecolor" ".9 0.88 .75" "suncolor" "1 0.92 0.88" "ambient" ".1"
[edit] mp_farm "Downpour"
"reflection_color_correction" "mp_farm" "diffusefraction" "0.25" "_color" "0.90 0.90 1" "sunlight" "1" "sundirection" "-40 225 0" "sundiffusecolor" ".9 .92 1" "suncolor" ".9 .98 1" "ambient" "0"
[edit] mp_overgrown "Overgrown"
"radiosityScale" "2" "diffusefraction" "0.25" "_color" "0.46 0.64 0.61" "sunlight" "1.1" "sundirection" "-147 119 0" "sundiffusecolor" "0.80 0.88 0.94" "suncolor" "0.84 0.81 0.58" "ambient" ".10"
[edit] mp_pipeline "Pipeline"
"radiosityScale" "2.5" "diffusefraction" "0.25" "_color" "0.90 0.90 1" "sunlight" "1.15" "sundirection" "-44 220 0" "sundiffusecolor" "0.80 0.88 0.94" "suncolor" ".9 .98 1" "ambient" ".15"
[edit] mp_shipment "Shipment"
"radiosityScale" "1.2" "diffusefraction" "0.2" "_color" ".8 .9 1" "sunlight" "1.3" "sundirection" "-43 51.5 0" "sundiffusecolor" ".9 1 .75" "suncolor" "1 1 0.95" "ambient" ".1"
[edit] mp_showdown "Showdown"
"sunlight" "1.6" "sundirection" "-33.34 117.76 -78.14" "suncolor" ".85 .76 .53" "sundiffusecolor" ".75 .84 1" "diffusefraction" "0.1" "_color" "0.46 0.64 0.61" "ambient" ".02"
[edit] mp_strike "Strike"
"contrastGain" "0.425" "diffusefraction" "0.5" "_color" ".8 .9 1" "sunlight" "1" "sundirection" "-45 -144 0" "sundiffusecolor" ".9 0.88 .75" "suncolor" "1 0.94 0.80" "ambient" ".02"
[edit] mp_vacent "Vacant"
"radiosityScale" "1.7" "diffusefraction" "0.25" "_color" "0.46 0.64 0.61" "sunlight" "1.3" "sundirection" "-45 25 0" "sundiffusecolor" "0.80 0.88 0.94" "suncolor" "0.84 0.81 0.58" "ambient" ".15"
[edit] Singleplayer Maps
[edit] Aftermath "Aftermath"
"contrastGain" "0.15" "diffusefraction" "0.45" "_color" "0.90 0.90 1" "sunlight" "1" "sundirection" "-35 150 0" "sundiffusecolor" "1 1 1" "suncolor" "1 1 1" "ambient" ".15" "reflection_color_correction" "aftermath"
[edit] Airlift "Shock and Awe"
"radiosityScale" "1.2" "contrastGain" "0.425" "diffusefraction" "0.25" "_color" ".8 .9 1" "sunlight" "1.5" "sundirection" "-17 56.333 0" "sundiffusecolor" ".9 0.75 .88" "suncolor" "1 0.92 0.88" "ambient" ".05"
[edit] Airplane
"reflection_color_correction" "airplane" "_color" ".6 .6 .6" "ambient" ".03" "sunlight" "1.5" "suncolor" ".9 .9 1" "sundirection" "-18 100 0" "sundiffusecolor" "0.015 0.015 0.013"
[edit] Ambush "The Sins of the Father"
"reflection_color_correction" "ambush" "radiosityScale" "1" "contrastGain" "0.15" "diffusefraction" "0.05" "_color" "0.90 0.90 1" "sunlight" "1.5" "sundirection" "-146 -34 0" "sundiffusecolor" ".43 .39 1" "suncolor" ".9 .98 1" "ambient" ".1"
[edit] Armada "Charlie Dont Surf"
"diffusefraction" "0.1" "sundiffusecolor" ".75 .84 1" "sundirection" "-30 -340 0" "suncolor" ".85 .76 .53" "sunlight" "1.4" "ambient" "0" "_color" ".75 .84 1"
[edit] Blackout "Blackout"
"contrastGain" ".25" "sunlight" ".6" "sundirection" "-30 42 0" "sundiffusecolor" "0.5 0.6 1" "suncolor" "0.75 0.9 1" "diffusefraction" "0.35" "ambient" "0.1" "_color" "0.6 0.7 1.000000" "reflection_color_correction" "hunted"
[edit] bog_a "The Bog"
"sunlight" "0.5" "sundirection" "-22 247 0" "sundiffusecolor" "0.717647 0.776471 1.000000" "suncolor" ".68 .72 .76" "diffusefraction" ".4" "ambient" "0.125" "_color" ".67 .72 .94" "radiosityScale" "1.8"
[edit] bog_b "War Pig"
"contrastGain" "0.425" "diffusefraction" "0.5" "_color" ".8 .9 1" "sunlight" "1" "sundirection" "-50 136 0" "sundiffusecolor" ".9 0.88 .75" "suncolor" "1 0.92 0.88" "ambient" ".1"
[edit] Cargoship "Crew Expendable"
"reflection_color_correction" "cargoship" "RadiosityScale" "2" "contrastGain" "0.15" "diffusefraction" "0.15" "_color" "0.5 0.5 0.7" "sunlight" "1" "sundirection" "-25 315 0" "sundiffusecolor" "0.5 0.5 0.7" "suncolor" "0.5 0.6 1.000000" "ambient" ".1"
[edit] Coup "The Coup"
"reflection_color_correction" "coup" "sunlight" "1.1" "sundirection" "-40 72 0" "suncolor" "1 1 .85" "sundiffusecolor" "1 .95 .8" "diffusefraction" "0.2" "_color" "0 1 .5" "ambient" ".02" "radiosity" "1"
[edit] Hunted "Hunted"
"contrastGain" ".25" "sunlight" "0.6" "sundiffusecolor" ".5 .6 1" "suncolor" ".75 .9 1" "diffusefraction" ".35" "ambient" "0.2" "reflection_color_correction" "hunted" "_color" "0.6 0.7 1" "sundirection" "-40 49 0"
[edit] ICBM "Ultimatum"
"contrastGain" ".5" "brightness" "0.1" "sunlight" "1" "sundirection" "-32.5 -4 0" "sundiffusecolor" "1 1 1" "suncolor" "1 1 1" "diffusefraction" "0.6" "ambient" "0.1" "_color" "1 1 1"
[edit] Jeepride "All In (part 3)"
"reflection_color_correction" "jeepride" "sunlight" "1.7" "sundirection" "-25 231 0" "sundiffusecolor" "0.717647 0.776471 1.000000" "suncolor" "0.996078 0.96 0.88" "northyaw" "90" "diffusefraction" ".1" "ambient" "0.1" "_color" "0.717647 0.776471 1.000000"
[edit] Killhouse "F.N.G."
"sunlight" "1.5" "sundirection" "-40 290 0" "sundiffusecolor" ".8 .85 1" "suncolor" "1 .95 0.8" "northyaw" "90" "diffusefraction" ".35" "ambient" "0.1" "_color" ".85 .9 1" "reflection_color_correction" "daylight"
[edit] Launchfacility_a "All In (part 1)"
"radiosityScale" "1.2" "brightness" "0.1" "reflection_color_correction" "launchfacility_a" "diffusefraction" "0.4" "_color" "0.02 0.02 .05" "sunlight" "1.5" "sundirection" "-30 0 0" "sundiffusecolor" "0.717647 0.776471 1.000000" "suncolor" "1 .8 .6" "ambient" "0.2"
[edit] Launchfacility_b "All In (part 2)
"sunIsPrimaryLight" "0" "reflection_color_correction" "launchfacility_b" "radiosityScale" "1" "contrastGain" "0.5" "diffusefraction" "0.2" "_color" "1 1 1" "sunlight" "0.8" "sundirection" "-35 290 0" "sundiffusecolor" "1 1 1" "suncolor" "0.95 0.85 0.65" "ambient" "0.1"
[edit] scoutsniper "All Ghillied Up"
"radiosityScale" "1.8" "northyaw" "144" "ambient" ".2" "_color" "0.466667 0.525490 0.658824" "diffuseFraction" ".08" "sunDiffuseColor" "0.466667 0.525490 0.658824" "sunlight" "1.7" "sundirection" "-30 -56 0" "suncolor" "1.000000 0.976471 0.874510"
[edit] sniperescape "One Shot, One Kill"
"radiosityScale" "1" "contrastGain" "0.15" "diffusefraction" "0.25" "_color" "0.90 0.90 1" "sunlight" ".9" "sundirection" "-155 -50 0" "sundiffusecolor" ".9 .92 1" "suncolor" ".9 .98 1" "ambient" "0"
[edit] village_assault "Safehouse"
"sunIsPrimaryLight" "0" "contrastGain" ".5" "brightness" ".1" "sunlight" ".8" "sundirection" "-30 91 0" "sundiffusecolor" "0.4 0.6 1" "suncolor" "0.8 0.9 1" "diffusefraction" "0.6" "ambient" "0.1" "_color" "0.717647 0.776471 1.000000"
[edit] village_defend "Heat"
"radiosityScale" "1.5" "sunlight" "1.6" "sundirection" "-40 225 0" "sundiffusecolor" "0.717647 0.776471 1.000000" "suncolor" "0.996078 0.921569 0.9" "diffusefraction" ".2" "ambient" "0.04" "_color" "0.717647 0.776471 .9" "reflection_color_correction" "village_daylight"
[edit] Sun Flare effect
To add a Sun Flare effect to the map, create a text file under the following path:
./raw/sun
and name it after your map. Change the extension to .sun. Add the following lines to the file:
r_sunsprite_shader "sun" r_sunsprite_size "28.8433" r_sunflare_shader "sun_flare_icbm" r_sunflare_min_size "237.8" r_sunflare_min_angle "40.869" r_sunflare_max_size "669.9" r_sunflare_max_angle "2.14669" r_sunflare_max_alpha "0.62536" r_sunflare_fadein "0.2604" r_sunflare_fadeout "0.2992" r_sunblind_min_angle "33.9543" r_sunblind_max_angle "9.9647" r_sunblind_max_darken "0.20934" r_sunblind_fadein "0.5" r_sunblind_fadeout "1" r_sunglare_min_angle "10.6101" r_sunglare_max_angle "48.2526" r_sunglare_max_lighten "0.21569" r_sunglare_fadein "2.263" r_sunglare_fadeout "3" r_sun_fx_position "X Y Z"
Change the r_sun_fx_position "X Y Z" to match the "sundirection" "X Y Z" of your .map file.
Thanks to the tutorial found on the raidermerciless forum


