Mapping CoD4 ( tuto )
100 - Worldspawn (cod4)
Worldspawn : paramètres de luminosité, contraste...
Ce passage est obligé, sinon votre map serait dans le noir...
[size=14pt]1ère solution : avec Radiant[/size]
Dans Radiant, lorsque vous avez ouvert votre map, appuyez sur la touche N, la fenêtre "Entity" va s'ouvrir :
Séléctionnez la ligne "worldspawn", et vous devez entrer des paramètres tel que : la couleur d'ambiance, le contraste, etc..
le format des données ("key" "value")
Dans l'exemple ci-dessus :
key = sunlight
value=1.8
un paramètre est une clé (key) et une valeur (value), pour valider faites "Entrée", creez autant de clés que nécessaire
[size=14pt]2ème solution , avec un éditeur de texte[/size]
vous ouvrez le fichier.map avec un éditeur de texte :
[size=14pt]Liste des paramètres Worldspawn des maps multi en stock[/size]
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
mp_vacant "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"
mp_broadcast
"radiosityScale" "1"
"sunRadiosity" "1"
"contrastGain" "0.15"
"diffusefraction" "0.2"
"_color" "1 .8 .8"
"sunlight" "1.4"
"sundirection" "-20 -280 0"
"sundiffusecolor" "0.87 0.77 .65"
"suncolor" "1 .85 .67"
"ambient" ".07"
"bouncefraction" ".2"
mp_creek
"radiosityScale" "2"
"sunlight" "1.5"
"sundirection" "-55 225 0"
"sundiffusecolor" "0.69 0.79 1.000000"
"suncolor" "0.92 0.921569 0.9"
"northyaw" "90"
"diffusefraction" ".2"
"ambient" "0.04"
"_color" "0.717647 0.776471 .9"
"reflection_color_correction" "village_daylight"
mp_carentan "Chinatown"
"sunIsPrimaryLight" "1"
"contrastGain" ".25"
"sunRadiosity" "1"
"sunlight" ".75"
"sundirection" "-31 4.04 0"
"sundiffusecolor" ".98 .95 1"
"suncolor" "0.8 0.9 1"
"diffusefraction" "0.7"
"ambient" "0.1"
"_color" "0.6 0.7 1.000000"
mp_crash_snow
"radiosityScale" "1"
"sunRadiosity" "2"
"contrastGain" "0.15"
"diffusefraction" ".95"
"_color" ".65 .7 1"
"sunlight" ".25"
"sundirection" "-120 -50 0"
"sundiffusecolor" ".65 .7 1"
"suncolor" ".65 .7 1"
"ambient" ".1"
"bouncefraction" ".2"