private [ "_bluforcount, _ratio" ];

_ratio = 1.0;

if ( GRLIB_adaptive_opfor ) then {

	_bluforcount = 0.2 * ( GRLIB_side_friendly countSide allUnits );
	_bluforcount = _bluforcount + (count allPlayers);

	_ratio = 0.5 + (_bluforcount / 25.0);

	if ( _ratio > 1.0 ) then {
		_ratio = 1.0;
	};

};

_ratio