Sniper ultimate upgrade

Hello !

I thought that it will be cool that the sniper could kill people just like the ultimate upgrade of the baseball bat.

I have tried to do it on my own by copying the good lines in the right place but every time I buy the ultimate upgrade, I lost the capacity to zoom but on the other side the people explode in blood just like it has to do :(

Can anyone fix this ?

Thank you very much :)
 
That's exactly what I want. I added this flags in the ultimate upgrade strings but then if I purchase the upgrade I loose the capacity to zoom

This is my code lines:
Code:
<Weapon_Upgrade>
      <Name>Ultimate - Money Shot</Name>
      <W_Info>Special-SniperRifle</W_Info>
      <upgrade_description>CUST_WPN_UPGRADE_ULT_DESC_BONUS_CASH</upgrade_description>
      <upgrade_display_name>CUST_WPN_UPGRADE_ULT_NAME_BONUS_CASH</upgrade_display_name>
      <Upgrade_Prices>0<Price>35000</Price></Upgrade_Prices>
      <Ultimate>True</Ultimate>
      <CashBonus>
        <Grid>
          <Value>.15</Value>
        </Grid>
        <Override>OM_REPLACE</Override>
      </CashBonus>
      <Flags>
        <Grid>
          <Value>
            <ignore>ignored</ignore>
            <Flags>
          <Flag>gibs victims</Flag>
            </Flags>
          </Value>
        </Grid>
        <Override>OM_REPLACE</Override>
      </Flags>
      <_Editor>
        <Category>Entries:Special:Special-SniperRifle</Category>
      </_Editor>
    </Weapon_Upgrade>
 
Okay, thank you very much! I will try and come again to post which way works
No problem let me know how it works out, if it dont work for you, your welcome to use this code to mess around with its a weapon im making atm, for this wep project
iv been trying to add in insta gib as an explosion effect but I dont think its possible :(
Code:
<Weapon>
       <Name>Special-SniperRifle</Name>
       <Weapon_Class>Launcher</Weapon_Class>
       <Trigger_Type>single</Trigger_Type>
       <Magazine_Size>6</Magazine_Size>
       <Range_Max>500</Range_Max>
       <Damage_Max>
         <NPC_Damage>1000</NPC_Damage>
         <Player_Damage>501</Player_Damage>
       </Damage_Max>
       <_Editor>
         <Category>Entries:weapon_radial:special</Category>
       </_Editor>
       <Ragdoll_Force_Shoot>400</Ragdoll_Force_Shoot>
       <Flags>
         <Flag>can zoom</Flag>
         <Flag>one shot shatter</Flag>
         <Flag>melee can dislodge movers</Flag>
         <Flag>allow offhand grenade</Flag>
         <Flag>do not hide when sprinting</Flag>
         <Flag>bullets can hit multiple humans</Flag>
         <Flag>bullets damage tanks</Flag>
         <Flag>use extra aim assist</Flag>
       </Flags>
       <Projectile_Info>
         <Model>anal_projectile</Model>
         <Speed>250</Speed>
         <Fuse_Time>2000</Fuse_Time>
         <Post_Ignition_Speed>100</Post_Ignition_Speed>
         <Gravity>-1</Gravity>
         <Mass>10</Mass>
         <Projectile_Flags>
           <Flag>has light attached</Flag>
           <Flag>rocket flight</Flag>
           <Flag>attach effect after ignition</Flag>
           <Flag>orient projectile to velocity</Flag>
           <Flag>sticky</Flag>
           <Flag>seek to target pos</Flag>
         </Projectile_Flags>
         <Fade_Out_Time>0.0</Fade_Out_Time>
         <Projectile_Ignition_Delay_MS>0</Projectile_Ignition_Delay_MS>
         <Attached_Effect>VFX_GrenadeTrail</Attached_Effect>
         <AI_Can_Guide>1500</AI_Can_Guide>
       </Projectile_Info>
       <Explosion>Grenade</Explosion>
       <AI_Ideal_Range_Max>30</AI_Ideal_Range_Max>
       <Zoom_Type>non-progressive</Zoom_Type>
       <Minimum_FOV>5</Minimum_FOV>
       <Zoom_Steps>2</Zoom_Steps>
       <Object_Bullet_Hit_Impulse_Magnitude>100</Object_Bullet_Hit_Impulse_Magnitude>
       <Category>WPNCAT_SPECIAL</Category>
       <PlayerWeaponSpread>
         <SpreadMinMax>
           <SpreadMovementMultipliers>
             <Movement_Multiplier_Walk>2</Movement_Multiplier_Walk>
             <Movement_Multiplier_Crouch>1</Movement_Multiplier_Crouch>
             <Movement_Multiplier_Run>3</Movement_Multiplier_Run>
             <Movement_Multiplier_Vehicle>1</Movement_Multiplier_Vehicle>
             <Movement_Multiplier_Fine_Aim>0</Movement_Multiplier_Fine_Aim>
           </SpreadMovementMultipliers>
           <Player_Spread_Max>4.0</Player_Spread_Max>
           <Player_Spread_Min>1.0</Player_Spread_Min>
           <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
         </SpreadMinMax>
         <SpreadDynamics>
           <Player_To_Spread_Max>0</Player_To_Spread_Max>
           <Player_To_Spread_Min>0</Player_To_Spread_Min>
         </SpreadDynamics>
         <Movement_Multiplier_Vehicle>1.0</Movement_Multiplier_Vehicle>
       </PlayerWeaponSpread>
       <NPCWeaponSpread>
         <SpreadMinMax>
           <NPC_Spread_Max>0.0</NPC_Spread_Max>
           <NPC_Spread_Min>0.0</NPC_Spread_Min>
           <SpreadMovementMultipliers>
             <Movement_Multiplier_Crouch>1</Movement_Multiplier_Crouch>
             <Movement_Multiplier_Walk>2</Movement_Multiplier_Walk>
             <Movement_Multiplier_Run>3</Movement_Multiplier_Run>
             <Movement_Multiplier_Vehicle>1</Movement_Multiplier_Vehicle>
           </SpreadMovementMultipliers>
         </SpreadMinMax>
         <SpreadDynamics>
           <NPC_To_Spread_Max>0</NPC_To_Spread_Max>
           <NPC_To_Spread_Min>0</NPC_To_Spread_Min>
         </SpreadDynamics>
       </NPCWeaponSpread>
       <vehicle_damage_scale>1.5</vehicle_damage_scale>
       <Time_Management>
         <Refire_Delay>1000</Refire_Delay>
         <npc_refire_delay>
           <min>3500</min>
           <max>4500</max>
           <npc_refire_type>1. Random Range</npc_refire_type>
         </npc_refire_delay>
       </Time_Management>
       <Ammo>Rifle</Ammo>
       <Inv_Slot>special</Inv_Slot>
       <Ammo_per_Shot>1</Ammo_per_Shot>
       <Maximum_FOV>36</Maximum_FOV>
       <Alt_Trigger_Type>single</Alt_Trigger_Type>
       <Strafe_Angles>Rifle</Strafe_Angles>
       <NPC_Aim_Drift>Sniper Rifle</NPC_Aim_Drift>
       <Melee_Attack_Info>AK</Melee_Attack_Info>
       <AI_Ideal_Range_Min>6</AI_Ideal_Range_Min>
       <Camera_Info>
         <Zoom_Steps>2</Zoom_Steps>
         <Maximum_FOV>20</Maximum_FOV>
         <Minimum_FOV>5</Minimum_FOV>
         <Zoom_Type>non-progressive</Zoom_Type>
         <Primary_Fire_Camera_Shake>weapon_fire_sniper</Primary_Fire_Camera_Shake>
         <Primary_Fire_Camera_Shake_Intensity>1</Primary_Fire_Camera_Shake_Intensity>
         <Primary_Fine_Aim_Camera_Shake>weapon_fire_sniper</Primary_Fine_Aim_Camera_Shake>
         <Primary_Fire_Fine_Aim_Camera_Shake_Intensity>1</Primary_Fire_Fine_Aim_Camera_Shake_Intensity>
         <Player_Hit_Camera_Shake>bullet_hit</Player_Hit_Camera_Shake>
         <Player_Hit_Camera_Shake_Intensity>10</Player_Hit_Camera_Shake_Intensity>
       </Camera_Info>
       <Ammo_Regeneration>0.0</Ammo_Regeneration>
       <Riot_Shield_Damage_Multiplier>4.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>
 
If you just change the name "Ultimate - MoneyShot" it doesn't work and if you change the next line name value the game crash. :(

If you add the flags in the weapons in works right but it's sad that il couldn't be in the ultimate upgrade

Thank you much for your help :)
 
If you just change the name "Ultimate - MoneyShot" it doesn't work and if you change the next line name value the game crash. :(

If you add the flags in the weapons in works right but it's sad that il couldn't be in the ultimate upgrade

Thank you much for your help :)
No problem, if I find a way to get it working as an upgrade ill let you know
 
That's exactly what I want. I added this flags in the ultimate upgrade strings but then if I purchase the upgrade I loose the capacity to zoom

This is my code lines:
Weapon_Upgrade>
<Name>Ultimate - Money Shot</Name>
<W_Info>Special-SniperRifle</W_Info>
<upgrade_description>CUST_WPN_UPGRADE_ULT_DESC_BONUS_CASH</upgrade_description>
<upgrade_display_name>CUST_WPN_UPGRADE_ULT_NAME_BONUS_CASH</upgrade_display_name>
<Upgrade_Prices>0<Price>35000</Price></Upgrade_Prices>
<Ultimate>True</Ultimate>
<CashBonus>
<Grid>
<Value>.15</Value>
</Grid>
<Override>OM_REPLACE</Override>
</CashBonus>
<Flags>
<Grid>
<Value>
<ignore>ignored</ignore>
<Flags>
<Flag>gibs victims</Flag>
</Flags>
</Value>
</Grid>
<Override>OM_REPLACE</Override>
</Flags>
<_Editor>
<Category>Entries:Special:Special-SniperRifle</Category>
</_Editor>
</Weapon_Upgrade>

You have more than one instance of <flags></flags> in your code, one inside of the other. You should only have one. I think...

Can't check to verify that until I get home.
 
You have more than one instance of <flags></flags> in your code, one inside of the other. You should only have one. I think...

Can't check to verify that until I get home.
I already checked that out but thats how its layed out in the table for the weapon he was trying to copy it from, I was like huh 2 sets of flags :S neva seen it before as im used to seeing <projectile_flags><flags> in thats kind of set, but it seems right acording to way the upgrade table it set out :)
 
Back
Top