Meta information for making a weapon useable while driving a motorcycle?

Does anyone know the information that needs to be edited for a melee weapon to be useable on a motorcycle?

I’ve looked at the meta information and I can tell that you need to have certain flags set like “CanLockonInVehicle” and “CanUseInVehMelee”:

However, it seems like there’s some other information that needs to be edited to make them usable while on a motorcycle.

Would this be editing animations for the weapon? What specifically is needed to make an addon weapon functional?

Here’s what I could find for the wrench in mpbiker files, which can be used while riding a motorcycle:

Weaponsanimations.meta for wrench:

       </Item>
        <Item key="WEAPON_WRENCH">
          <CoverMovementClipSetHash />
          <CoverMovementExtraClipSetHash />
          <CoverAlternateMovementClipSetHash />
          <CoverWeaponClipSetHash>Cover_Wpn_Melee1h</CoverWeaponClipSetHash>
          <MotionClipSetHash>weapons@melee_1h</MotionClipSetHash>
          <MotionFilterHash>BothArms_filter</MotionFilterHash>
          <MotionCrouchClipSetHash />
          <MotionStrafingClipSetHash>move_strafe_melee_unarmed</MotionStrafingClipSetHash>
          <MotionStrafingStealthClipSetHash>move_ped_strafing_stealth</MotionStrafingStealthClipSetHash>
          <MotionStrafingUpperBodyClipSetHash>move_strafe@melee_small_weapon</MotionStrafingUpperBodyClipSetHash>
          <WeaponClipSetHash>melee@holster</WeaponClipSetHash>
          <WeaponClipSetStreamedHash />
          <WeaponClipSetHashInjured />
          <WeaponClipSetHashStealth />
          <WeaponClipSetHashHiCover />
          <AlternativeClipSetWhenBlocked />
          <ScopeWeaponClipSet />
          <AlternateAimingStandingClipSetHash />
          <AlternateAimingCrouchingClipSetHash />
          <FiringVariationsStandingClipSetHash />
          <FiringVariationsCrouchingClipSetHash />
          <AimTurnStandingClipSetHash />
          <AimTurnCrouchingClipSetHash />
          <MeleeClipSetHash>melee@small_wpn@streamed_core</MeleeClipSetHash>
          <MeleeVariationClipSetHash>melee@small_wpn@streamed_variations</MeleeVariationClipSetHash>
          <MeleeTauntClipSetHash />
          <MeleeSupportTauntClipSetHash />
          <MeleeStealthClipSetHash />
          <ShellShockedClipSetHash>reaction@shellshock@unarmed</ShellShockedClipSetHash>
          <JumpUpperbodyClipSetHash>MOVE_JUMP@WEAPONS@1H_MELEE@CROWBAR</JumpUpperbodyClipSetHash>
          <FallUpperbodyClipSetHash />
          <FromStrafeTransitionUpperBodyClipSetHash />
          <SwapWeaponFilterHash>RightArm_NoSpine_filter</SwapWeaponFilterHash>
          <SwapWeaponInLowCoverFilterHash>RightArm_NoSpine_filter</SwapWeaponInLowCoverFilterHash>
          <AnimFireRateModifier value="0.000000" />
          <AnimBlindFireRateModifier value="0.000000" />
          <AnimWantingToShootFireRateModifier value="-1.000000" />
          <UseFromStrafeUpperBodyAimNetwork value="false" />
          <AimingDownTheBarrel value="true" />
          <WeaponSwapData ref="SWAP_DEFAULT" />
          <AimGrenadeThrowNormalClipsetHash />
          <AimGrenadeThrowAlternateClipsetHash />         
        </Item>
      </WeaponAnimations>
    </Item>

weaponarchetypes.meta

        <!-- Wrench -->
        <Item>
          <modelName>w_me_wrench</modelName>
          <txdName>w_me_wrench</txdName>
          <ptfxAssetName>NULL</ptfxAssetName>
          <lodDist value="50"/>
        </Item>

pedpersonality.meta (a bunch of references to WEAPON_WRENCH:

  <Name>MP_FEMALE_ACTION</Name>
            <MovementModes>
                <Item>
                    <Item>
                        <Weapons>
                            <Item>WEAPON_BATTLEAXE</Item>
                            <Item>WEAPON_PIPEBOMB</Item>
                            <Item>WEAPON_WRENCH</Item>
                        </Weapons>
                        <ClipSets>
                            <Item>
                                <MovementClipSetId>MOVE_ACTION@MP_FEMALE@UNARMED@CORE</MovementClipSetId>
                                <WeaponClipSetId />
                                <WeaponClipFilterId />
                                <UpperBodyShadowExpressionEnabled value="false" />
                                <UpperBodyFeatheredLeanEnabled value="false" />
                                <UseWeaponAnimsForGrip value="true" />
                                <UseLeftHandIk value="false" />
                                <IdleTransitionBlendOutTime value="0.500000" />
                                <IdleTransitions>
                                    <Item>MOVE_ACTION@MP_FEMALE@UNARMED@TRANS@</Item>
                                </IdleTransitions>
                                <UnholsterClipSetId>MOVE_ACTION@P_M_ZERO@HOLSTER</UnholsterClipSetId>
                                <UnholsterClipData>UNHOLSTER_UNARMED</UnholsterClipData>
                            </Item>
                        </ClipSets>

weaponwrench.meta

<?xml version="1.0" encoding="UTF-8"?>

<CWeaponInfoBlob>
  <SlotNavigateOrder>
    <Item>
      <WeaponSlots>
        <Item>
          <OrderNumber value="90" />
          <Entry>SLOT_WRENCH</Entry>
        </Item>
      </WeaponSlots>
    </Item>
    <Item>
      <WeaponSlots>
        <Item>
          <OrderNumber value="90" />
          <Entry>SLOT_WRENCH</Entry>
        </Item>
      </WeaponSlots>
    </Item>
  </SlotNavigateOrder>
  <SlotBestOrder>
    <WeaponSlots>
      <Item>
        <OrderNumber value="341" />
        <Entry>SLOT_WRENCH</Entry>
      </Item>
    </WeaponSlots>
  </SlotBestOrder>
  <TintSpecValues />
  <FiringPatternAliases />
  <UpperBodyFixupExpressionData />
  <AimingInfos />
  <Infos>
    <Item>
      <Infos />
    </Item>
    <Item>
      <Infos>
        <Item type="CWeaponInfo">
          <Name>WEAPON_WRENCH</Name>
          <Model>w_me_wrench</Model>
          <Audio />
          <Slot>SLOT_WRENCH</Slot>
          <DamageType>MELEE</DamageType>
          <Explosion>
            <Default>DONTCARE</Default>
            <HitCar>DONTCARE</HitCar>
            <HitTruck>DONTCARE</HitTruck>
            <HitBike>DONTCARE</HitBike>
            <HitBoat>DONTCARE</HitBoat>
            <HitPlane>DONTCARE</HitPlane>
          </Explosion>
          <FireType>MELEE</FireType>
          <WheelSlot>WHEEL_UNARMED_MELEE</WheelSlot>
          <Group>GROUP_MELEE</Group>
          <AmmoInfo ref="NULL" />
          <AimingInfo ref="UNARMED_TARGETING_RESTRAINTS" />
          <ClipSize value="0" />
          <AccuracySpread value="0.000000" />
          <AccurateModeAccuracyModifier value="0.500000" />
          <RunAndGunAccuracyModifier value="2.000000" />
          <RunAndGunAccuracyMinOverride value="-1.000000" />
          <RecoilAccuracyMax value="1.000000" />
          <RecoilErrorTime value="0.000000" />
          <RecoilRecoveryRate value="1.000000" />
          <RecoilAccuracyToAllowHeadShotAI value="1000.000000" />
          <MinHeadShotDistanceAI value="1000.000000" />
          <MaxHeadShotDistanceAI value="1000.000000" />
          <HeadShotDamageModifierAI value="1000.000000" />
          <RecoilAccuracyToAllowHeadShotPlayer value="0.175000" />
          <MinHeadShotDistancePlayer value="5.000000" />
          <MaxHeadShotDistancePlayer value="40.000000" />
          <HeadShotDamageModifierPlayer value="18.000000" />
          <Damage value="0.000000" />
          <DamageTime value="0.000000" />
          <DamageTimeInVehicle value="0.000000" />
          <DamageTimeInVehicleHeadShot value="0.000000" />
          <HitLimbsDamageModifier value="0.500000" />
          <NetworkHitLimbsDamageModifier value="0.800000" />
          <LightlyArmouredDamageModifier value="0.750000" />
          <Force value="0.000000" />
          <ForceHitPed value="115.000000" />
          <ForceHitVehicle value="0.000000" />
          <ForceHitFlyingHeli value="0.000000" />
          <OverrideForces>
            <Item>
              <BoneTag>BONETAG_HEAD</BoneTag>
              <ForceFront value="75.000000" />
              <ForceBack value="85.000000" />
            </Item>
            <Item>
              <BoneTag>BONETAG_NECK</BoneTag>
              <ForceFront value="60.000000" />
              <ForceBack value="60.000000" />
            </Item>
            <Item>
              <BoneTag>BONETAG_R_CLAVICLE</BoneTag>
              <ForceFront value="90.000000" />
              <ForceBack value="100.000000" />
            </Item>
            <Item>
              <BoneTag>BONETAG_L_CLAVICLE</BoneTag>
              <ForceFront value="90.000000" />
              <ForceBack value="100.000000" />
            </Item>
            <Item>
              <BoneTag>BONETAG_SPINE3</BoneTag>
              <ForceFront value="75.000000" />
              <ForceBack value="90.000000" />
            </Item>
          </OverrideForces>
          <ForceMaxStrengthMult value="1.300000" />
          <ForceFalloffRangeStart value="0.000000" />
          <ForceFalloffRangeEnd value="50.000000" />
          <ForceFalloffMin value="1.000000" />
          <ProjectileForce value="0.000000" />
          <FragImpulse value="2250.000000" />
          <Penetration value="0.000000" />
          <VerticalLaunchAdjustment value="0.000000" />
          <DropForwardVelocity value="0.000000" />
          <Speed value="2000.000000" />
          <BulletsInBatch value="1" />
          <BatchSpread value="0.000000" />
          <ReloadTimeMP value="-1.000000" />
          <ReloadTimeSP value="-1.000000" />
          <VehicleReloadTime value="-1.000000" />
          <AnimReloadRate value="1.000000" />
          <BulletsPerAnimLoop value="1" />
          <TimeBetweenShots value="0.000000" />
          <TimeLeftBetweenShotsWhereShouldFireIsCached value="-1.000000" />
          <SpinUpTime value="0.000000" />
          <SpinTime value="0.000000" />
          <SpinDownTime value="0.000000" />
          <AlternateWaitTime value="-1.000000" />
          <BulletBendingNearRadius value="0.000000" />
          <BulletBendingFarRadius value="0.000000" />
          <BulletBendingZoomedRadius value="0.000000" />
          <Fx>
            <EffectGroup>WEAPON_EFFECT_GROUP_MELEE_METAL</EffectGroup>
            <FlashFx />
            <FlashFxAlt />
            <MuzzleSmokeFx />
            <MuzzleSmokeFxMinLevel value="0.000000" />
            <MuzzleSmokeFxIncPerShot value="0.000000" />
            <MuzzleSmokeFxDecPerSec value="0.000000" />
            <ShellFx />
            <TracerFx />
            <PedDamageHash />
            <TracerFxChanceSP value="0.000000" />
            <TracerFxChanceMP value="0.000000" />
            <FlashFxChanceSP value="0.000000" />
            <FlashFxChanceMP value="0.000000" />
            <FlashFxAltChance value="0.000000" />
            <FlashFxScale value="1.000000" />
            <FlashFxLightEnabled value="false" />
            <FlashFxLightCastsShadows value="false" />
            <FlashFxLightOffsetDist value="0.000000" />
            <FlashFxLightRGBAMin x="0.000000" y="0.000000" z="0.000000" />
            <FlashFxLightRGBAMax x="0.000000" y="0.000000" z="0.000000" />
            <FlashFxLightIntensityMinMax x="0.000000" y="0.000000" />
            <FlashFxLightRangeMinMax x="0.000000" y="0.000000" />
            <FlashFxLightFalloffMinMax x="0.000000" y="0.000000" />
            <GroundDisturbFxEnabled value="false" />
            <GroundDisturbFxDist value="5.000000" />
            <GroundDisturbFxNameDefault />
            <GroundDisturbFxNameSand />
            <GroundDisturbFxNameDirt />
            <GroundDisturbFxNameWater />
            <GroundDisturbFxNameFoliage />
          </Fx>
          <InitialRumbleDuration value="0" />
          <InitialRumbleIntensity value="0.000000" />
          <InitialRumbleIntensityTrigger value="0.000000" />
          <RumbleDuration value="0" />
          <RumbleIntensity value="0.000000" />
          <RumbleIntensityTrigger value="0.000000" />
          <RumbleDamageIntensity value="1.000000" />
          <NetworkPlayerDamageModifier value="1.000000" />
          <NetworkPedDamageModifier value="1.000000" />
          <NetworkHeadShotPlayerDamageModifier value="1.000000" />
          <LockOnRange value="10.000000" />
          <WeaponRange value="1.600000" />
          <BulletDirectionOffsetInDegrees value="0.000000" />
          <AiSoundRange value="-1.000000" />
          <AiPotentialBlastEventRange value="-1.000000" />
          <DamageFallOffRangeMin value="1.600000" />
          <DamageFallOffRangeMax value="1.600000" />
          <DamageFallOffModifier value="0.300000" />
          <VehicleWeaponHash />
          <DefaultCameraHash>MELEE_AIM_CAMERA</DefaultCameraHash>
          <CoverCameraHash>MELEE_AIM_IN_COVER_CAMERA</CoverCameraHash>
          <CoverReadyToFireCameraHash />
          <RunAndGunCameraHash />
          <CinematicShootingCameraHash />
          <AlternativeOrScopedCameraHash />
          <RunAndGunAlternativeOrScopedCameraHash />
          <CinematicShootingAlternativeOrScopedCameraHash />
          <CameraFov value="50.000000" />
          <ZoomFactorForAccurateMode value="1.000000" />
          <RecoilShakeHash />
          <RecoilShakeHashFirstPerson />
          <AccuracyOffsetShakeHash />
          <MinTimeBetweenRecoilShakes value="150" />
          <RecoilShakeAmplitude value="1.000000" />
          <ExplosionShakeAmplitude value="-1.000000" />
          <ReticuleHudPosition x="0.000000" y="0.000000" />
          <AimOffsetMin x="0.000000" y="0.000000" z="0.000000" />
          <AimProbeLengthMin value="0.000000" />
          <AimOffsetMax x="0.000000" y="0.000000" z="0.000000" />
          <AimProbeLengthMax value="0.000000" />
          <AimOffsetMinFPSIdle x="0.178000" y="0.392000" z="0.135000" />
          <AimOffsetMedFPSIdle x="0.169000" y="0.312000" z="0.420000" />
          <AimOffsetMaxFPSIdle x="0.187000" y="0.064000" z="0.649000" />
          <AimOffsetMinFPSLT x="0.009000" y="0.334000" z="0.555000" />
          <AimOffsetMaxFPSLT x="0.062000" y="-0.164000" z="0.588000" />
          <AimOffsetMinFPSRNG x="0.114000" y="0.390000" z="0.485000" />
          <AimOffsetMaxFPSRNG x="0.113000" y="-0.263000" z="0.586000" />
          <AimOffsetMinFPSScope x="0.009000" y="0.421000" z="0.462000" />
          <AimOffsetMaxFPSScope x="0.037000" y="-0.224000" z="0.639000" />
          <AimOffsetEndPosMinFPSIdle x="0.208000" y="0.700000" z="0.003000" />
          <AimOffsetEndPosMedFPSIdle x="0.203000" y="0.604000" z="0.553000" />
          <AimOffsetEndPosMaxFPSIdle x="0.207000" y="-0.040000" z="0.942000" />
          <TorsoAimOffset x="0.000000" y="0.000000" />
          <TorsoCrouchedAimOffset x="0.000000" y="0.000000" />
          <LeftHandIkOffset x="0.000000" y="0.000000" z="0.000000" />
          <ReticuleMinSizeStanding value="1.000000" />
          <ReticuleMinSizeCrouched value="1.000000" />
          <ReticuleScale value="1.000000" />
          <ReticuleStyleHash />
          <FirstPersonReticuleStyleHash />
          <PickupHash>PICKUP_WEAPON_WRENCH</PickupHash>
          <MPPickupHash />
          <HumanNameHash>WT_WRENCH</HumanNameHash>
          <MovementModeConditionalIdle />
          <StatName>WRENCH</StatName>
          <KnockdownCount value="-1" />
          <KillshotImpulseScale value="1.000000" />
          <NmShotTuningSet>Normal</NmShotTuningSet>
          <AttachPoints />
          <GunFeedBone />
          <TargetSequenceGroup />
          <WeaponFlags>AllowMeleeBlock CarriedInHand ArmourPenetrating CanLockonOnFoot CanLockonInVehicle MeleeClub UsableOnFoot UsableClimbing UsableInCover DoesRevivableDamage AllowCloseQuarterKills HasLowCoverSwaps NoWheelStats QuitTransitionToIdleIntroOnWeaponChange DisableLeftHandIkWhenOnFoot UseFPSAimIK UseFPSSecondaryMotion CanUseInVehMelee</WeaponFlags>
          <TintSpecValues ref="TINT_DEFAULT" />
          <FiringPatternAliases ref="NULL" />
          <ReloadUpperBodyFixupExpressionData ref="default" />
          <AmmoDiminishingRate value="0" />
          <AimingBreathingAdditiveWeight value="1.000000" />
          <FiringBreathingAdditiveWeight value="1.000000" />
          <StealthAimingBreathingAdditiveWeight value="0.000000" />
          <StealthFiringBreathingAdditiveWeight value="0.000000" />
          <AimingLeanAdditiveWeight value="1.000000" />
          <FiringLeanAdditiveWeight value="1.000000" />
          <StealthAimingLeanAdditiveWeight value="0.000000" />
          <StealthFiringLeanAdditiveWeight value="0.000000" />
          <ExpandPedCapsuleRadius value="0.000000" />
          <AudioCollisionHash />
          <HudDamage value="10" />
          <HudSpeed value="15" />
          <HudCapacity value="0" />
          <HudAccuracy value="0" />
          <HudRange value="0" />
        </Item>
      </Infos>
    </Item>
    <Item>
      <Infos />
    </Item>
    <Item>
      <Infos />
    </Item>
  </Infos>
  <VehicleWeaponInfos />
  <Name>DLC - Wrench</Name>
</CWeaponInfoBlob>

These are most of the information related to the WEAPON_WRENCH Meta info.