I still have to test more, but it seems in the third file, the first number (3600) after the weapon ID number is damage, and the rest correspond to other weapon values. The reason you would do this, is that weapons use ammo broadly, ex, sniper rifle ammo vs assault rifle ammo. For realism, there is a gun, I think it's called the UN ARC, which is a 7.62 rifle that uses "assault" ammo, and should do comparable damage to the sniper rifles (a bit less since it has a shorter barrel). As it is, it behaves exactly like a 5.56 assault rifle, which is nonsense.laszers wrote:I figured as much that those numbers correlated to a specific weapon or form of attack. My only problem at this point, is there a way to find out the correlation by using something other than mag size? as that is very limiting. If not I may just change each weapons mag size 1 - whatever and and take down which is which for a chart. Also what is the difference in all of the numbers for damage? If I can edit DAM_SOURCE's two numbers, and get the desire damage, why change the others? Are they all added together?chiconspiracy wrote:
I found how to edit specific weapons. Each weapon has a designated number which can be used to find them. There are three files we are interested in, using the dragunov like gun "60203" in the files below:
1. 39375763ab913: This file shows the magazine size and total ammo size, and can be used to find certain weapons. I knew the dragunov copy had 8 rounds in the magazine, so it was easy to find: {TppEquip.EQP_AM_60203,8,121,TppEquip.BL_Rf762mmSniperMag} *note, i changed the total ammo size after the magazine size here
2. 213fd1c038491: This file shows the components of the weapons, what kind of barrel they have, optics, and what I think are recoil and force values. I haven't messed with this too much yet, but found "{TppEquip.RC_60203,TppDamage.ATK_60203,72,79,53,25}", one of many references to "60203"
3. 2f343d3e6eea4: This lua file has the specific weapon damage. I only had time to test a few, but I changed the gun that looks like a dragunov sniper rifle to have increased damage in the following line: {TppDamage.ATK_60203,3600,3000,500,0,0,2100,2100,TppDamage.INJ_TYPE_BULLET,TppDamage.INJ_PART_ALL,100,40,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,TppDamage.DAM_SOURCE_Sniper,3600,0,1200}
Edit* I'm also trying to confirm which the "impact force" is since it's stupidly high on sniper rifles. They seem to be of the opinion that a bullet doesn't cut through people, but acts like a hammer. Also, further testing is needed to figure out what the "TppDamage.IN_Part_ALL" does exactly.