This text was translated using DeepL, and I'm not sure if the translation is accurate.






You need to open the “weapons.yml” file you are currently using in a text editor (I recommend using Visual Studio Code)

Step 1: Open the weapons.ymt file you wish to integrate
Locate its CockingInfo section and search for <Name>cock_rifle_boltaction</Name>. Modify it to the following value:

  </Item>
  <Item type="CWeaponCockingInfo">
   <Name>cock_rifle_boltaction</Name>
      <NumBarrels value="1" />
      <GoodCondition>
        <CockStartRate value="18.00000000" />
        <CockStartQuickRate value="24.00000000" />
        <CockEndRate value="18.00000000" />
        <RecoilRate value="0.40000000" />
        <FireRecoilRate value="18.50000000" />
        <UNK_MEMBER_0xA2334074 value="10.00000000" />
        <CockToFireDelay value="0.00000000" />
        <FireDelay value="0.00000000" />
        <TimeScaleCockRateModifier value="1.00000000" />
        <TimeScaleFireRateModifier value="1.00000000" />
        <TimeScaleRecoilRateModifier value="1.00000000" />
        <HipCockStartRate value="14.00000000" />
        <HipCockStartQuickRate value="19.00000000" />
        <HipCockEndRate value="13.00000000" />
        <HipRecoilRate value="0.50000000" />
        <HipFireRate value="25.00000000" />
        <HipFireDelay value="0.00000000" />
        <TimeScaleHipCockRateModifier value="1.00000000" />
        <TimeScaleHipFireRateModifier value="25.00000000" />
        <TimeScaleHipRecoilRateModifier value="1.00000000" />
        <AiOnFootRateModifier value="0.75000000" />
        <AiHorsebackRateModifier value="0.75000000" />
      </GoodCondition>
      <WornCondition>
        <CockStartRate value="18.00000000" />
        <CockStartQuickRate value="24.00000000" />
        <CockEndRate value="18.00000000" />
        <RecoilRate value="0.40000000" />
        <FireRecoilRate value="18.50000000" />
        <UNK_MEMBER_0xA2334074 value="10.00000000" />
        <CockToFireDelay value="0.00000000" />
        <FireDelay value="0.00000000" />
        <TimeScaleCockRateModifier value="1.00000000" />
        <TimeScaleFireRateModifier value="1.00000000" />
        <TimeScaleRecoilRateModifier value="1.00000000" />
        <HipCockStartRate value="14.00000000" />
        <HipCockStartQuickRate value="19.00000000" />
        <HipCockEndRate value="13.00000000" />
        <HipRecoilRate value="0.50000000" />
        <HipFireRate value="25.00000000" />
        <HipFireDelay value="0.00000000" />
        <TimeScaleHipCockRateModifier value="1.00000000" />
        <TimeScaleHipFireRateModifier value="1.00000000" />
        <TimeScaleHipRecoilRateModifier value="25.00000000" />
        <AiOnFootRateModifier value="0.75000000" />
        <AiHorsebackRateModifier value="0.75000000" />
      </WornCondition>
    </Item>






Step 2: Search for “<Name>weapon_rifle_BOLTACTION</Name>” to locate its CWeaponInfo.
Then scroll down to find Bolt</ClipInfos> and modify it to:

     <ClipInfos>
      <Item>
       <Type>Magazine</Type>
       <Size value="45"/>
       <BulletsPerAnimLoop value="45"/>

Next, scroll down to “<WeaponFlags>” and remove these four flags:

‘OnlyFireOneShot’

“OnlyFireOneShotPerTriggerPress”

“0x460F96C0”

“0xCC2A57A6”






Then replace the bolt-action rifle animation with the semi-automatic shotgun animation.

Directly below CWeaponInfo, locate

“<Name>weapon_rifle_boltaction</Name>”
Then find 

“AnimationLookupHash” 

and change this line to:

“<AnimationLookupHash>WEAPON_SHOTGUN_SEMIAUTO</AnimationLookupHash>”

