zeroKilo / GROBackendWV

Ghost Recon Online Backend by Warranty Voider
47 stars 7 forks source link

barrel component customization #7

Closed michal-kapala closed 3 months ago

michal-kapala commented 3 months ago

To enable barrel customization, weapons need to include WCMT_ForeGripAndBarrel (type 20) rather than separate WCMT_ForeGrip and WCMT_Barrel components (type 5 and 6, see component types).

image

This is GR5_Component::GetAttachableCompType (0x10121A30, AI.dll) that maps the component types to component customization grid UI:

func