Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
There are two ways people usually go about it, if just reducing the spread you can edit either the def file or the script file, but if you also want to adjust the amount of projectiles to compensate, only editing the script file is simpler than editing both the def and script.
Def Method:
In the base folder, create a new folder called "def", then open "pak000.pk4" with something like 7zip, open the def folder and drag "weapon_shotgun.def" into your new folder. Open that file with a text editor and go to line 91 or search for the keyword "spread". Change "22" to whatever you like and enjoy your new spread size.
For example:
default:
"spread" "22"
modified:
"spread" "11"
Script Method:
In the base folder, create a new folder called "script", then open "pak006.pk4" with something like 7zip, open the def folder and drag "weapon_shotgun.script" into your new folder. Open that file with a text editor and go to line 136 or search for the keyword "launchProjectiles". Change the word "spread" to a number lower than the default of 22 and enjoy your new spread size.
For example:
default:
launchProjectiles( SHOTGUN_NUMPROJECTILES, spread, 0, 1.0, 1.0 );
modified:
launchProjectiles( SHOTGUN_NUMPROJECTILES, 11, 0, 1.0, 1.0 );
You can also change the amount of projectiles shot at once on line 10 of the script file by changing "#define SHOTGUN_NUMPROJECTILES" from 13 to whatever number you wish. You can also change nearly any and every value if you really want to experiment. You can learn a lot just by poking around the files.
If you want to pack your changes up nicely, you can highlight the folders containing your modifications, save as a zip file and change the extension to pk4, or copy and paste an existing pk4, delete its contents and replace it with your folders. Name the file something that starts with a later letter of the alphabet, as Doom 3 reads files alphanumerically, so something like "z_reduced_shotgun_spread" or even "pak009".
Avoid editing the pk4 files that came with the game and create patches instead, or you'll have to reinstall the game if you want to revert to the defaults which will also cause you to lose any changes you've made. Enhanced Edition doesn't do anything to the shotgun, so there won't be any conflicts or overriding.