laszers wrote:chiconspiracy wrote:laszers wrote:So while im not new to modding, I am 100% new to the metal gear scene. Would someone be kind enough to point me in the direction of weapon damage parameters?
Thanks in advance.
Ok, I didn't have much time today, but I found what looks like a start in data1.dat, in the lua files. However, the weapon parameters are hard to guess at, as the file names are still messed up after unpacking with the QAR tool (make sure to use the -r parameter). I opened all of the LUA files with Notepad ++, and searched all windows to find what look like ammo counts for magazines and total ammo available for carrying by a number that appears to designate a specific weapon. When you actually put in a weapon's name as shown in game, nothing comes up however.
There are some other numbers which might indicate damage, but will require testing.
I have kind of found the files that relate to damage a few days ago, but no one responded so I figured no one really cared.
if you want just straight damage, if you go into data1 you can find the lua file called 2f343d3e6eea4 this you can go change the DAM_SOURCE_Sniper (or any other gun type) and change it for each weapon. I got results, it does work, but you cant tell which weapon is which or if the DAM_SOURCE_Sniper, even with multiple entries, isnt specific to each different sniper just because we cant tell which in-game sniper or other gun is which. I guess we could find through trial and error, but that would take allot of time. If you find anything else please let me know, im interested in pursuing this further.
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}