SRIV Sonic Boom

Hello! :)
I'm trying to restore Sonic Boom. Well, it works, but there is one annoying issue.
18BE693E5D03A780CCC322D4CB1826E3BFC4024E

Seems like it's caused by "Sonic Wave Gun" special case type because after removing that line the issue dissapears... but then Sonic Boom works just like a normal shotgun.
 
WEAPONS.XTBL
Code:
    <Weapon>
      <Name>Special-SonicGun</Name>
      <Weapon_Class>shotgun</Weapon_Class>
      <Trigger_Type>charge release</Trigger_Type>
      <Magazine_Size>100</Magazine_Size>
      <Range_Max>20</Range_Max>
      <Damage_Max>
        <NPC_Damage>400</NPC_Damage>
        <Player_Damage>80</Player_Damage>
      </Damage_Max>
      <Damage_Min>
        <NPC_Damage>110</NPC_Damage>
        <Player_Damage>30</Player_Damage>
      </Damage_Min>
      <_Editor>
        <Category>Entries:weapon_radial:special</Category>
      </_Editor>
      <Ragdoll_Force_Shoot>100</Ragdoll_Force_Shoot>
      <AI_Ideal_Range_Max>10</AI_Ideal_Range_Max>
      <Category>WPNCAT_SPECIAL</Category>
      <Time_Management>
        <Refire_Delay>500</Refire_Delay>
      </Time_Management>
      <Ammo>Airstrike</Ammo>
      <Inv_Slot>special</Inv_Slot>
      <Ammo_per_Shot>10</Ammo_per_Shot>
      <Alt_Trigger_Type>single</Alt_Trigger_Type>
      <Flags>
        <Flag>melee can dislodge movers</Flag>
        <Flag>unlockable</Flag>
        <Flag>allow offhand grenade</Flag>
        <Flag>do not hide when sprinting</Flag>
        <Flag>disallow reload</Flag>
        <Flag>infinite magazine capacity</Flag>
        <Flag>unlimited ammo</Flag>
        <Flag>no random give</Flag>
      </Flags>
      <Strafe_Angles>Rifle</Strafe_Angles>
      <Melee_Attack_Info>shotgun_small</Melee_Attack_Info>
      <Special_Case_Type>Sonic Wave Gun</Special_Case_Type>
      <AI_Ideal_Range_Min>5</AI_Ideal_Range_Min>
      <Object_Bullet_Hit_Impulse_Magnitude>1500</Object_Bullet_Hit_Impulse_Magnitude>
      <Camera_Info>
        <Primary_Fire_Camera_Shake>weapon_fire_shotgun</Primary_Fire_Camera_Shake>
        <Primary_Fire_Camera_Shake_Intensity>1</Primary_Fire_Camera_Shake_Intensity>
        <Primary_Fine_Aim_Camera_Shake>weapon_fire_shotgun</Primary_Fine_Aim_Camera_Shake>
        <Player_Hit_Camera_Shake>bullet_hit</Player_Hit_Camera_Shake>
        <Player_Hit_Camera_Shake_Intensity>0.5</Player_Hit_Camera_Shake_Intensity>
        <Primary_Fire_Fine_Aim_Camera_Shake_Intensity>1</Primary_Fire_Fine_Aim_Camera_Shake_Intensity>
      </Camera_Info>
      <Ammo_Regeneration>5</Ammo_Regeneration>
      <Charge_Release_Info>
        <Charge_Time_sec>1.0</Charge_Time_sec>
        <Auto_Release>False</Auto_Release>
        <Charging_Camera_Shake>charging</Charging_Camera_Shake>
        <Charged_Camera_Shake>charged</Charged_Camera_Shake>
        <Charge_Flags>
          <Flag>Show HUD on charge</Flag>
        </Charge_Flags>
        <Min_Charge_Percent>0.0</Min_Charge_Percent>
        <Charge_Base>0.25</Charge_Base>
        <Min_Range>2</Min_Range>
        <Pre_Charge_Delay>0.25</Pre_Charge_Delay>
        <Charge_Cooldown_Time>1.0</Charge_Cooldown_Time>
      </Charge_Release_Info>
      <Riot_Shield_Damage_Multiplier>1.0</Riot_Shield_Damage_Multiplier>
      <Diversion_Kill_Multiplier>1.0</Diversion_Kill_Multiplier>
      <Blood_Decal_Scale>1.0</Blood_Decal_Scale>
      <Info_Slot_Index>0</Info_Slot_Index>
      <Dual_Wield_Damage_Multiplier>1.0</Dual_Wield_Damage_Multiplier>
    </Weapon>
WEAPON_COSTUMES.XTBL
Code:
    <Costume>
      <Name>Special-SonicGun</Name>
      <_Editor>
        <Category>Entries:weapon_radial:special</Category>
      </_Editor>
      <Animation_Group>RPG</Animation_Group>
      <Brass>Shotgun</Brass>
      <Audio>
        <Weapon_Model>EXPLOSIVE_PLASMACANNON</Weapon_Model>
        <Hit_Wall_Sound>IMP_METAL_HIT</Hit_Wall_Sound>
        <Spinning_Snd_Pitch_End>1</Spinning_Snd_Pitch_End>
        <looping>False</looping>
        <Sound_Radius>100</Sound_Radius>
        <Soundbank_Name>Wep_Alien_Explosive</Soundbank_Name>
        <alt_looping>False</alt_looping>
      </Audio>
      <Constant_Effects>
      </Constant_Effects>
      <Effect_Situations>
        <Effect_Situation>
          <Situation>charge release charging muzzle</Situation>
          <Effect>Wep_OverHeat</Effect>
        </Effect_Situation>
        <Effect_Situation>
          <Situation>muzzle flash</Situation>
          <Effect>vfx_dubstep_muzzle_T</Effect>
        </Effect_Situation>
        <Effect_Situation>
          <Situation>alt muzzle flash</Situation>
          <Effect>vfx_dubstep_muzzle_B</Effect>
        </Effect_Situation>
      </Effect_Situations>
      <Costume_Slot_Index>0</Costume_Slot_Index>
      <Weapon_Entry>Special-SonicGun</Weapon_Entry>
      <Item_Entry>Special-Dubstep</Item_Entry>
      <Inventory_Entry>Special-SonicGun</Inventory_Entry>
      <Display_Name>CUST_WPN_COSTUME_DESC_SONICGUN_0</Display_Name>
      <Description>CUST_WPN_COSTUME_DESC_SONICGUN_0_DESC</Description>
      <Underslung_Fine_Aim>False</Underslung_Fine_Aim>
    </Costume>
ITEMS_INVENTORY.XTBL
Code:
    <Inventory_Item>
        <Name>Special-SonicGun</Name>
        <DisplayName>SPECIAL_SONICGUN</DisplayName>
        <Bitmap>ui_hud_inv_spc_dubstep</Bitmap>
        <Default_Count>1</Default_Count>
        <Max_Inventory>1</Max_Inventory>
        <Description>WPN_SONIC_WAVE_GUN_DESCRIPT</Description>
        <_Editor>
            <Category>Special</Category>
            </_Editor>
        <Cost>35000</Cost>
        </Inventory_Item>
I included it in Expanded Arsenal Mod too (I just removed it from Friendly Fire because of these texture issues).
 
Last edited:
Back
Top