Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
col_kurtz1979

Bullet range

Recommended Posts

Im new to creating config.cpp files and Im trying to create a sniper unit that will fire at the enemy from very long ranges as the default AI snipers in ofp very rarely fire at targets over 200 to 250 meters away. Whenever I try to edit the values for the following code the addon fails to load up in the game.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">minRange=1;

minRangeProbab=0.10;

midRange=200;

midRangeProbab=0.80;

maxRange=900;

maxRangeProbab=0.05;

Anyone know why this happens?

Share this post


Link to post
Share on other sites

Well then the complete config might be usefull.

BTW: those values here don't change the firing behaviour of a sniper. The only change the firing range of the bullet.

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  

×