Laupetin / OpenAssetTools

Open Source Modding Tools for old Call Of Duty games
https://openassettools.dev
GNU General Public License v3.0
85 stars 14 forks source link

Dump and load weapon accuracy tables #194

Closed Laupetin closed 3 months ago

Laupetin commented 4 months ago

The accuracy tables are embedded inside the weapon structs. Without them, AI cannot use a weapon.

When dumping a weapon, the weapon accuracy graph file that is embedded should be dumped as well, if it wasnt already. When loading a weapon, the accuracy graph file should be loaded as well and its data embedded in the weapon.