API icon indicating copy to clipboard operation
API copied to clipboard

Expand FPS weapon attachment data

Open alistair3149 opened this issue 1 year ago • 4 comments

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

alistair3149 avatar Feb 02 '24 20:02 alistair3149

SWeaponModifierComponentParams now available under the weapon_modifier key. image

octfx avatar Mar 09 '24 13:03 octfx

Is the type task still open?

octfx avatar May 03 '24 15:05 octfx

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

alistair3149 avatar May 03 '24 16:05 alistair3149

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

octfx avatar May 04 '24 16:05 octfx