Call of Duty 4: .vision file: Difference between revisions

From COD Modding & Mapping Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Call of Duty 4]]
[[Category:Modtools]]
[[Category:Radiant]]
[[Category:Advanced Editing]]
[[Image:Nutshell.png]] Vision Files are new to the COD Serie and they bring another dimension to the way we look at the game. It is used to alter R G B but also Darkness/Brightness and Glow.
----




Create a new file in '[root]/raw/vision/' (create the 'vision' directory if it doesn't yet exists) called [mapname].vision, ignore any warnings that may come up when you save it with an unknown extension.
Create a new file in '[root]/raw/vision/' (create the 'vision' directory if it doesn't yet exists) called [mapname].vision, ignore any warnings that may come up when you save it with an unknown extension.


Open the .vision file you just created using Notepad, and [[Call of Duty 4: Stock .vision files|copy-paste one of these]] and modify it to your needs.
The vision file is composed of 2 sections, '''r_glow''' and '''r_film'''.
 
[[Image:warning.png]] Below is an attempt at describing each line, this is not 100% accurate!
 
<pre>
r_glow "1" // do we want to enable the following 4 lines? / 0 or 1
r_glowRadius0 "X" // radius
r_glowBloomCutoff "X" // has to do with the radius
r_glowBloomDesaturation "X" // de-colourisation of the bloom effect
r_glowBloomIntensity0 "X" // intensity of the bloom effect
 
r_filmEnable "1" // do we want to enable the following 6 lines? / 0 or 1
r_filmContrast "X" // contrast level
r_filmBrightness "X" // brightness level
r_filmDesaturation "X" // de-colourisation level
r_filmInvert "0" // inverted colours / 0 or 1
r_filmLightTint "R G B" // colour that light places get
r_filmDarkTint "R G B" // colour that dark places get</pre>


Save it, and [[Call of Duty 4: Update Zone File|update your zone file]] with the following line:
[[Image:warning.png]] The values R G B represent Red Green Blue and should be entered as their value from 0-255/255
 
*If you want different colours for your map, the last 2 lines should be changed.
Easiest it to combine glow and film settings stock maps use though.
 
*Open the .vision file you just created using Notepad, and [[Call of Duty 4: Stock .vision files|copy-paste one of these]] and modify it to your needs.
 
*Save it, and [[Call of Duty 4: Update Zone File|update your zone file]] with the following line:
<pre>rawfile,vision/[mapname].vision</pre>
<pre>rawfile,vision/[mapname].vision</pre>


The vision file should now be in effect.
* The vision file should now be in effect.
 
----


[[Image:Data.png]] You can find a copy of all stock vision file [http://www.zeroy.com/br/other/cod4/misc/vision_rip.zip Here]
[[Image:Data.png]] You can find a copy of all stock vision file [http://www.zeroy.com/br/other/cod4/misc/vision_rip.zip Here]
''Made by Daevius''
--[[User:Zeroy|Zeroy.]] 17:59, 17 October 2008 (UTC)

Latest revision as of 23:33, 17 October 2008

Vision Files are new to the COD Serie and they bring another dimension to the way we look at the game. It is used to alter R G B but also Darkness/Brightness and Glow.



Create a new file in '[root]/raw/vision/' (create the 'vision' directory if it doesn't yet exists) called [mapname].vision, ignore any warnings that may come up when you save it with an unknown extension.

The vision file is composed of 2 sections, r_glow and r_film.

 Below is an attempt at describing each line, this is not 100% accurate!
r_glow "1" // do we want to enable the following 4 lines? / 0 or 1
r_glowRadius0 "X" // radius
r_glowBloomCutoff "X" // has to do with the radius
r_glowBloomDesaturation "X" // de-colourisation of the bloom effect
r_glowBloomIntensity0 "X" // intensity of the bloom effect

r_filmEnable "1" // do we want to enable the following 6 lines? / 0 or 1
r_filmContrast "X" // contrast level
r_filmBrightness "X" // brightness level
r_filmDesaturation "X" // de-colourisation level
r_filmInvert "0" // inverted colours / 0 or 1
r_filmLightTint "R G B" // colour that light places get
r_filmDarkTint "R G B" // colour that dark places get
 The values R G B represent Red Green Blue and should be entered as their value from 0-255/255
  • If you want different colours for your map, the last 2 lines should be changed.

Easiest it to combine glow and film settings stock maps use though.

rawfile,vision/[mapname].vision
  • The vision file should now be in effect.

You can find a copy of all stock vision file Here

Made by Daevius


--Zeroy. 17:59, 17 October 2008 (UTC)