Raised This Month: $32 Target: $400
 8% 

How to slow down Dead Ringer holster time?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hkkelvin1995
Senior Member
Join Date: Jun 2009
Location: Hong Kong
Old 03-03-2020 , 16:01   How to slow down Dead Ringer holster time?
Reply With Quote #1

I am recently trying to tweak the game balance in my Freak Fortress 2 Server.
I wrote a plugin that slows down spies' knives's deploy rate by applying item attribute 773 'single wep deploy time increased' to all weapon in the knife slot.
However, some players report that toggling Dead Ringer (as well as cloaking) can cancel out the slowdown and they can instantly swing their knife again.
So I thought I'd just apply attribute 772 (add holster delay) to the item slot and hopefully it would just holster a bit slower, but it just doesn't work as intended.
Code:
  int melee = GetPlayerWeaponSlot(client,2);
  int cloak = GetPlayerWeaponSlot(client,4);

  TF2Attrib_SetByDefIndex(melee,773,fKnifeDelay);//Knife deploys slower
  TF2Attrib_SetByDefIndex(cloak,772,fCloakDelay);//Cloak item holsters slower
Is there any possible way slow down Dead Ringer's holster time?
__________________
Founder of Reachhl2.com from Hong Kong 🇭🇰
10+ years experience in hosting SCRDS
Best known for our VSH/FF2 server with self-made Bosses, Features, Maps
hkkelvin1995 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode