Draghy Posted May 22, 2021 Share Posted May 22, 2021 Hello, I'm trying to edit MinRange/MaxRange for weapons to change how NPC's use said weapons. Now what exactly do MinRange and MaxRange affect? The distance the NPC would shoot the gun? That's what I'm trying to achieve: less pistol sniping from 50 yards and more NPC's shooting a sniper/rifle from the proper range of couple hundred yards maybe. How are the numbers calculated? How much for say 1 yard? And do I need to edit MinRange or MaxRange? Link to comment Share on other sites More sharing options...
dubiousintent Posted May 22, 2021 Share Posted May 22, 2021 See the Nukepedia article. Basically if the bullet hits outside of the min/max range value, the damage is modified. There is no mention of an affect upon accuracy. To affect that you need to adjust the "weapon spread" value. -Dubious- Link to comment Share on other sites More sharing options...
Draghy Posted May 23, 2021 Author Share Posted May 23, 2021 See the Nukepedia article. Basically if the bullet hits outside of the min/max range value, the damage is modified. There is no mention of an affect upon accuracy. To affect that you need to adjust the "weapon spread" value. -Dubious-There's no FNV or FO3 mentioned in that article, I'm pretty sure it does a very different thing in those games, closer to what I described. Link to comment Share on other sites More sharing options...
Draghy Posted May 23, 2021 Author Share Posted May 23, 2021 (edited) From what I could found, the weapon range is multiplied by the Combat Style range's multipliers depending on NPC. Most NPC's use the DefaultCombatStyle, which has a 1 multiplier. Translating game units into actual distance, for your average NPC, using default values, you'd get the following maximum shooting ranges:Hunting Rifle - 31 yards10mm SMG and Pistol - 12 yardsSawed-off Shotgun - 8 yardsSniper Rifle - 55 yardsVarmint Rifle - 46 yardsRiot Shotgun & Hungting Shotgun - 9.3 yardsLever-Action Shotgun - 24 yardsHunting Revolver - 23 yards.44 Magnum Revolver - 23 yards.356 Magnum Revolver - 12 yards9mm SMG - 16 yards9mm Pistol - 12 yardsCowboy Repeater - 23 yardsAnti-Materiel Rifle - 55 yardsAssault Carbine - 16 yardsLight Machine Gun - 16 yardsTrail Carbine - 23 yardsCaravan Shotgun - 9.3 yardsService Rifle - 55 yards Now those are some wild numbers if I'm right, and quite inconsistent on the developer's part. Realism isn't really at play here at all. A cell has 64 yards so most of the guns aren't even shot by NPC's from further away than 1 cell. The NPC's using DefaultSniperStyle get a x3 range multiplier so they'd be the only ones to pull this off. Edited May 23, 2021 by Draghy Link to comment Share on other sites More sharing options...
Draghy Posted May 23, 2021 Author Share Posted May 23, 2021 UPDATE: I just done some tests in the TestWeapon cell and I found out some surprising results. The measurement isn't exactly made in GameUnits. While a 64 GameUnits = 1 yard, for weapon MaxRange, the actual value for 64 is 10 yards! So MaxRange = 64 would mean the NPC gets in the 10 yard range and then shoots the weapon. Link to comment Share on other sites More sharing options...
Recommended Posts