API
API copied to clipboard
Expand FPS weapon attachment data
Weapon attachments apply various modifiers to the equipped weapon. It would be helpful to include those data:
- [x]
SWeaponZeroingParams
for optics attachments (1180f00) - [ ] Add type (e.g. laser pointer) for underbarrel attachments
- [x] Add data from
SWeaponModifierComponentParams
for all attachments
SWeaponModifierComponentParams now available under the weapon_modifier
key.
Is the type task still open?
Yes it is still open. The same information is available under description data but I am not sure if there is a more accurate data source other than relying on localization
I've checked the xml files, there does not seem to be a dedicated attribute marking laser pointers as such.
For now I'd argue that the description data is as good as it gets