View Single Post
ustoopia
New Member
Join Date: Apr 2007
Old 05-04-2016 , 15:32   Re: [ANY] Hook Grab Rope (1.1.4)
Reply With Quote #107

This topic is probably dead but I hope the author still keeps track and will read this. I just set up a source server (april 2016) and installed the addon and it works perfect so far.

I used a hookmod addon years ago on a cs1.6 server and with that addon it was possible to not only choose the sound for the hook but also different sounds. One for when the hook gets deployed, one for when it fails to hit a target because it was too far away or the sky for example, and another sound for when it succesfully hits a target, a different sound when it would hit a player.

I opened the amxmodx smx file and found the code i will paste below. MY HUMBLE REQUEST : would it be possible to implement something similar in this addon?

Code:
// Hook Sounds
engfunc(EngFunc_PrecacheSound, "weapons/xbow_hit1.wav") // good hit
engfunc(EngFunc_PrecacheSound, "weapons/xbow_hit2.wav") // wrong hit
engfunc(EngFunc_PrecacheSound, "weapons/xbow_hitbod1.wav") // player hit
engfunc(EngFunc_PrecacheSound, "weapons/xbow_fire1.wav") // deploy
And another question or request that I find more important then what I asked about the sounds. Is it somehow possible, or could be made possible to hook a player follow them around as long as the hook is connected to that player. FYI: I disabled rope and grab btw because that wouldnt work the way I have in mind. So imagine this scenario: I run a low gravity server with knives only and hook. When a player succesfully hooks another player he will follow that player as long as the hook is connected. Idealy would be a timeout that the hook will stay connected like the addon from cs1.6 had. It was possible to set/enable/disable the timeout period using a cvar. Is this somehow possible to do by editing some code? So that was my third question/request :-)

If anybody else reading this has knowledge of the addon code and knows how to achieve my ideas then please do contact me. It will be very MUCH appreciated ;-)

Otherwise great addon. Brings back some memory's from years ago when I ran three different Very popular hookmod servers on 1.6. I recently found the backups and set them up again for old time sake. After some updates they ran again but I would much rather have them running in CS:S

Last edited by ustoopia; 05-04-2016 at 15:45.
ustoopia is offline