Jump to content
Sign in to follow this  
bobby budnick

Changing M256 specs - autoFire change works but maxRange does not

Recommended Posts

This is my config.cpp file. This used to work for me back during the alpha. Now the maxRange setting does not take, as verfied in the in-game config viewer. What could be the problem?

class CfgPatches
{
class FO_MUNITIONS
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 1;
	requiredAddons[] = {};
};
};

class CfgWeapons
{
class CannonCore;	// External class reference

class M256 : CannonCore
{

	maxRange = 3250;
	autoFire = 1;

};


};

Share this post


Link to post
Share on other sites

maximum range is determined by the ammunition and the magazine (initspeed), not by the gun... if it is still used at all, it would be a value for AI logic.

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  

×