Tricky Terrorist
Posted: Tue Nov 23, 2021 12:47 am
ricky Terrorist
description
This plugin makes terrorists able to spoil defuser kits by looking at them and pressing the use key. They will see a bar and hear some sounds, related the progress of the operation. When spoiled, the defuser kit will take longer to defuse, its associated bar will act random, and it will have some random sounds. The defusal with a spoiled defuser will last longer (it will last more than the default "defusal with kit" by a random value between defuser_trick_mintime and defuser_trick_maxtime).
video
http://www.youtube.com/watch?v=CHBmeTyxki4
(Test it. its much more cool than in the video)
(By convenience, the video is made with a CT only )
cvars
defuser_trick_duration - Time, in seconds, to trick a defuser. Default 5 (Changes to it will only affect since the round afterwards)
defuser_trick_reward - Reward for tricking a defuser. Default - 0.
defuser_trick_mintime - Lower time to add to the normal defuse with kit time. Default - 2.0
defuser_trick_maxtime - Higher time to add to the normal defuse with kit time. Default - 4.0
modules
engine
fakemeta
hamsandwich
cstrike
changelog
Version 1.0a:
Changed the defuseTime offset for linux. Was wrong.
Version 1.0:
Release
This plugin is more complex than it seems. It contains beautiful code but also ugly one so, I'm open to code suggestions from people that knows amxmodx better than me. But, please, don't drop random suggestions. Be sure that you know of that you are talking about.
Acknowledgments:
Thanks for the support to the following non alliedmodders users:
LĂșcia Andrade
And thanks for the support to the following alliedmodders users:
ConnorMcleod
plugin
description
This plugin makes terrorists able to spoil defuser kits by looking at them and pressing the use key. They will see a bar and hear some sounds, related the progress of the operation. When spoiled, the defuser kit will take longer to defuse, its associated bar will act random, and it will have some random sounds. The defusal with a spoiled defuser will last longer (it will last more than the default "defusal with kit" by a random value between defuser_trick_mintime and defuser_trick_maxtime).
video
http://www.youtube.com/watch?v=CHBmeTyxki4
(Test it. its much more cool than in the video)
(By convenience, the video is made with a CT only )
cvars
defuser_trick_duration - Time, in seconds, to trick a defuser. Default 5 (Changes to it will only affect since the round afterwards)
defuser_trick_reward - Reward for tricking a defuser. Default - 0.
defuser_trick_mintime - Lower time to add to the normal defuse with kit time. Default - 2.0
defuser_trick_maxtime - Higher time to add to the normal defuse with kit time. Default - 4.0
modules
engine
fakemeta
hamsandwich
cstrike
changelog
Version 1.0a:
Changed the defuseTime offset for linux. Was wrong.
Version 1.0:
Release
This plugin is more complex than it seems. It contains beautiful code but also ugly one so, I'm open to code suggestions from people that knows amxmodx better than me. But, please, don't drop random suggestions. Be sure that you know of that you are talking about.
Acknowledgments:
Thanks for the support to the following non alliedmodders users:
LĂșcia Andrade
And thanks for the support to the following alliedmodders users:
ConnorMcleod
plugin