This is a guide on how to use vision files, and a brief explanation of the vision settings available in CoD5.
NOTE: Before reading this guide, determine where your World at War root directory is located.
Non-Steam Install: C:\Program Files (x86)\Activision\Call of Duty World at War\
Steam Install: C:\Program Files (x86)\Steam\steamapps\common\Call of Duty World at War\
For the rest of this guide, it will be assumed that the word "root" refers to the appropriate installation path shown above.
Say 'Yes to all' if Windows asks you about replacing files when dragging files into your root directory.
WARNING: If after following this guide precisely your vision is not working, it is most likely because you are using Sniperbolt's base scripts (or you used a script placer) which sets your vision to "zombie_factory" be default. If this is the case for you, see below:
Find this line and delete this line:
Guide starts here:
Create a new file with any Text Editor you prefer most. Create a new text file containing this code:
Those are the default vision settings for mp_airfield. Save the file as <mapname>.vision, where <mapname> represents the map you want to use the vision for. This is not required, but is suggested.
Save your vision file in Root/raw/vision.
To enable your vision in a map, first you must add the .vision to your map's assets.
1.4 Map: Open Root/zone_source/<mapname>_patch.csv
1.1 Map: Open Root/zone_source/<mapname>.csv
Add this line to the top of the file:
Save and close the file.
Now it is time to actually set the .vision file to be used in your map.
Open Root/raw/maps/<mapname>.gsc in a text editor.
so that it looks like:
Where <visionfilename> is the file name of the vision file you created, without the .vision extension. Example: "ugx_cabin.vision" would be entered as "ugx_cabin".
to the end of the main() function of your Root/raw/maps/<mapname>.gsc.
You are almost finished. To see your changes, you need to:
1.4 Map: Compile your map once now, so that your changes to Root/raw/maps/<mapname>.gsc will take effect, then compile <mapname>_patch once now, and again every time you make a change to the .vision file.
1.1 Map: Compile your map once now, and again every time you make a change to the .vision file.
All values can only be from 0 to 1 unless otherwise noted.
You can view pictures of what each setting does below the table.
Note: Value can only be 0 or 1. This enables (0) and disables (1) the effects of the r_film settings in this file.
Note: Values can be from 0 to 4. This increases the contrast of the vision. If you don't know what contrast is, look it up on Google. Basically a higher value will increase the dramatic difference between light and dark.
This controls the white balance of your vision. Full brightness = white-tinted vision.
This controls the desaturation level of the vision. Full desaturation = greyscale vision. Anything less than 1 will decrease the greyscale effect, letting some color through.
This inverts the color spectrum. White becomes black, black becomes white, and everything in between.
This amplifies all white/specular color in the map. For example, when you have a subway light can model, full lighttint will make the inside of the can a blinding white, while the lowest lighttint will make it dull and grey
Note: setting this to (0 0 0) will cause your vision to be a solid color. Must be above 0 in order to work properly. This setting is similar to the black level on your TV. The lower this value is, the blacker your vision is and the harder it is to see.