Jump to content
Sign in to follow this  
evilnate

Bullet ballistics change with variable scopes

Recommended Posts

I'm wondering if this is a feature or bug...

When using a rifle with variable scope (i.e. DMR) if I fire at a object about 300M away without zooming the bullet drops a good foot. When I zoom in and fire at the same exact spot the bullet only drops a inch or so.

So.. this either means that elevation is adjusted automatically when zooming in or it's a bug. Anyone else notice this?

Share this post


Link to post
Share on other sites

It adjusts the zero automatically in relation to the zoom-level, which many find quite inconvenient. It was the first thing I fixed in my own game, and easy to do:

class CfgPatches
{
class rifles_zerofix
{
	units[] = { };
	weapons[] = { };
	requiredVersion = 1.02;
	requiredAddons[] = {"CAweapons", "CAweapons2"};
};
};

class cfgWeapons {
class Default;
class Riflecore;
class Rifle;
       class M107: Rifle
{
	distanceZoomMin = 500;
	distanceZoomMax = 500;
};
class M24: Rifle
{
	distanceZoomMin = 300;
	distanceZoomMax = 300;
};
class M40 : M24 {}; //Inherits from M24
class huntingrifle: M24
{
	distanceZoomMin = 150;
	distanceZoomMax = 150;
};
class DMR : Rifle
{
	distanceZoomMin = 300;
	distanceZoomMax = 300;
};
class SVD : Rifle
{
	distanceZoomMin = 300;
	distanceZoomMax = 300;
};
class SVD_CAMO : SVD {}; //Inherits from SVD
class ksvk : Rifle
{
	distanceZoomMin = 500;
	distanceZoomMax = 500;
};
};

Save as config.cpp in a folder called "rifles_zerofix", pbo the folder and enable as a mod.

Can't test it right now, but there shouldn't be any big errors. The distance you can of course set to whatever you wish, but those above should be a good starting point.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×