Jump to content

[Mod] Sniper VP Rewards Mutator


roweboat

Recommended Posts

  • Totem Arts Staff

Sniper VP Rewards Mutator

View File

Here is the mutator for sniper vp killer rewards. I've included config options for Marksman, Ramjet and DeadEye/BH sniper rifles. You can adjust the percentage of rewards for each sniper rifle type in UDKSniper_VP_Killer_Rewards.ini. Something I found when looking at the game code prior is that the sniper rifles that BlackHand and DeadEye use actually give bonus VP for kills over every other class, so you get a +1 VP bonus, I'm not sure why their rifles are given bonus rewards but I've added a setting in the config to disable this bonus VP. There are a few useful logs from the mutator that you can use to determine current values, just do a search for SVPKR to get them all, examples below.

SVPKR: BaseVP for Kill of Soldier with Rx_Weapon_SniperRifle_Nod and sniper modifier at 61% is:1.2200 (Default: 2.0000)
SVPKR: Sniper VP Bonus Enabled (Bonus Amount: 1)
SVPKR: Sniper VP Bonus Disabled (Usually: 1)
SVPKR: Rewarded VP: 4.2200

You will notice that Rewarded VP is different from what the modifier VP says this is because the rewarded VP is after all other additions have been made such as if the victim was holding a beacon, since they are not sniper specific I haven't made it log that information. Sample Config

[Sniper_VP_Killer_Rewards.SVPKR_SniperVeterancyModifiers]
SniperRifleVetPercent=100
MarksmanRifleVetPercent=100
RamjetRifleVetPercent=100

[Sniper_VP_Killer_Rewards.SVPKR_Rx_Pawn]
DisableSniperBonusVP=false

HOW TO USE Add mutator to list of arguments: ?mutator=Sniper_VP_Killer_Rewards.Sniper_VP_Killer_Rewards Set your settings in the config: UDKSniper_VP_Killer_Rewards.ini If you want anything adding or tweaking let me know.

 

Created by @PieMan


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...