-
Notifications
You must be signed in to change notification settings - Fork 7
Weapon Structure Definition
zeroKilo edited this page Apr 22, 2020
·
16 revisions
- For the 3 classes up to 3 weapons are defined over the packet
GetAllDefaultLoadoutKitsinInventoryService - Weapons in game are defined over the packet
GetTemplateWeaponMapsinWeaponService
- in the packet for the weapon definitions are 4 std::maps with mapkeys
-
TemplateWeaponListcontaining information about the weapon itself (TWL) -
WeaponCompatibilityBridgecontaining list of DWORD ids (WCB) -
TemplateComponentListscontaining list of map keys (TCL) -
Componentscontaining information about components of a weapon
Is a bitfield. For now, all bone structure parameters are set to 255 except the weaponbody where its set to 8
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 0
- from this components the key member is used to load the GAO
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 4
- from this components the key member is used to load the GAO
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 20 to refer to the GripAndBarrel Component
- from the components the modefierlistid is used to select a modefierlist
- 2 skill modefiers should exist there with modtype 2 and proptype 105 (WCPT_Package_RDVForeGripID_I) & 106 (WCPT_Package_RDVBarrelID_I)
- their methodvalue selects components again by mapkey
- these components should have type 5 (WCMT_ForeGrip) & 6 (WCMT_Barrel)
- from these components the key member is used to load the GAOs
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 8
- from this components the key member is used to load the GAO
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 9
- from this components the key member is used to load the GAO
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 10
- from this components the key member is used to load the GAO
- TCL should contain 1 item with key of weapon and as value the key of 1 component
- this component should have type = 12
- from this components the key member is used to load the GAO
- 0xAD102B48
- 0x14803873
- 0x14803878
- 0xF7700653
- 0xAD102AA2
- 0x8206E00D
- 0x001045BE
- 0x14802EBA