Weapon range - how do I extend it?
I have this idea to snipe people in my server from distances out of the main gameplay area, but on some maps when I use my wa2000, it will not reach them because I am that far out of the map. I even asked one of my friends to stand still and let me shoot at him, but no success. Is there a way in a code to multiply weapon range?
Example: weaponRangeMultiplier = 100000;
I tried to snipe people off the statue on favela.
it would be so funny sniping puny ants running around and making them confused in killcam.
I am not a coder, and I can't do that,
Legit it's not possible.
im talking about with a mod
fmj extends range with WA2000 not sure about other guns
^yeh
and the little bit extra damage applies when you shoot through objects
man that doesnt exit does it?
thats FMJ, it's an attachment you use for the gun.
Nooooooo i mean the extended range..lol not FMJ, who doesnt know what that is :P
i can code, i have been coding in C# anc C++ for a while.
where can I get the file (extracted) m21_fmj_mp from? I can't find it anywhere and I don't know where it is located.
this is in it:
maxDamageRange\####\
minDamageRange\####\
or maybe i can do something like:
currentWeapon = self getCurrentWeapon();
if ( currentWeapon == "m21_fmj_mp" )
{
self setWeaponMaxRange( currentWeapon, 10000 );
self setWeaponMinRange( currentWeapon, 10000 );
}
damn, the cod4 dvar which I would have used (oh SOOOO close) gives me an unknown function error in warfare 2.
WeaponMaxDist("m21_fmj_mp") = 10000;