PDA

View Full Version : Anyone know how to do this?


Finity
12-22-2005, 02:00 AM
I'v been trying so hard to figure out how to edit the accuracy of a weapon (I only use my edited files to play singleplayer I switch back to the orginal file when playing multiplayer) using the .tweak file. Can anyone out there properly explain what to edit to increase the accuracy of a weapon. BTW I'm gonna change the accuracy of the M249SAW because in real life it's nearly as accurate as the M16 but it's recoil is higher and more rapid. I don't care if it's going to rape everything in sight, I just want it to be realistic. :)

wolfi
12-22-2005, 06:37 AM
Go for these lines (its M249) :

rem ---BeginComp:SoldierDeviationComp ---
ObjectTemplate.createComponent SoldierDeviationComp
ObjectTemplate.deviation.setFireDev 1.2 0.4 0.02
ObjectTemplate.deviation.minDev 0.8
ObjectTemplate.deviation.setTurnDev 0 0 0 0
ObjectTemplate.deviation.setSpeedDev 4 0.6 0.6 0.1
ObjectTemplate.deviation.setMiscDev 3 3 0.1
ObjectTemplate.deviation.devModStand 2
ObjectTemplate.deviation.devModCrouch 1.5
ObjectTemplate.deviation.devModLie 0.8
ObjectTemplate.deviation.devModZoom 0.8
rem ---EndComp ---

I dont know what to change, just play around a bit, here are the M16 values:

rem ---BeginComp:SoldierDeviationComp ---
ObjectTemplate.createComponent SoldierDeviationComp
ObjectTemplate.deviation.setFireDev 2 0.2 0.05
ObjectTemplate.deviation.minDev 0.3
ObjectTemplate.deviation.setTurnDev 0 0 0 0
ObjectTemplate.deviation.setSpeedDev 1 0.2 0.2 0.1
ObjectTemplate.deviation.setMiscDev 3 1.5 0.05
ObjectTemplate.deviation.devModStand 1.5
ObjectTemplate.deviation.devModCrouch 1.3
ObjectTemplate.deviation.devModZoom 0.8
rem ---EndComp ---

Good luck;)

jdrou
12-22-2005, 09:52 PM
I'd suggest downloading the Project Reality mod and looking at their .tweak files as a first step. Even if you don't use the whole mod their damage and accuracy changes should be an improvement.