AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [Hidden:Source] Visibility (https://forums.alliedmods.net/showthread.php?t=199187)

paegus 10-25-2012 07:33

[Hidden:Source] Visibility
 
5 Attachment(s)
This plugin is written specifically for The Hidden:Source mode version beta 4a.

Code:

/*
 * Hidden:SourceMod - Visibility
 *
 * Description:
 *  Allows the hidden to become visible while holding a button
 *
 * Cvars:
 *  hsm_vis        [bool]  Enables or disables visibility toggling. 0: Disable, 1: Enable. Default: 1
 *  hsm_vis_mintime [number] Minimum number of seconds the hidden must be visible for. 0.1 ~ 2.0. Default: 0.2
 *  hsm_vis_model  [string] Model to use as visible hidden. Default: models/executive/hr_model_plantpot01.mdl
 *
 * Commands:
 *  +visible: Makes you visible
 *  -visible: Makes you invisible
 *
 * Changelog:
 *  v1.2.4
 *  Fixed forced invisibility running on players who aren't even visible at round end.
 *  Fixed being able to go visible right as new round starts, resulting in a bad-model kick.
 *  v1.2.3
 *  Fixed some for loops through clients not reaching MaxClients thus ignore the last connected player.
 *  v1.2.2
 *  Fixed model exchange bounding boxes expanding below floor level sometimes intersecting with trigger_hurt on hdn_discovery
 *  Added +/-visible command descriptions
 *  Increased minimum visible time to 0.1 seconds to prevent visibile lock
 *  v1.2.1
 *  Fixed random crashing.
 *  Fixed round-end timer mis-firing on hdn_restartround
 *  v1.2.0
 *  Simplified model replacement code
 *  Added convar to define custom visible model.
 *  Added automatic invisibility if damage taken.
 *  Fixed crash on player death
 *  Fixed overlay being stuck on after you die or switch team.
 *  v1.0.1
 *  Remove global sound
 *  Added audio/visual cue to hidden when visible
 *  Added server log output when player toggles visibility
 *  Added dedicated commands for going visible and invisible.
 *  v1.0.0
 *  Initial release. No stamina boosting just yet.
 *
 * Contact:
 *  Paegus: [email protected]
 *  SourceMod: http://www.sourcemod.net > Community > Forums > SourceMod
 *  Hidden:Source: http://www.hidden-source.com > Forums > Server Admins
 *
 * Credits:
 *  Original idea: Alt (http://forum.hidden-source.com/member.php?3215)
 *  Default model: The Hidden:Source Dev team.
 * 
 */

Screenies:


Let the scaring commence...


Previous downloads:
v1.2.1: 7
v1.2.2: 16
v1.2.3: 16

paegus 10-27-2012 06:09

Re: [Hidden:Source] Visibility
 
Updated to v1.2.2:
* Fixed model exchange bounding boxes expanding below floor level sometimes intersecting with trigger_hurt on hdn_discovery
* Added +/-visible command descriptions
* Increased minimum visible time to 0.1 seconds to prevent visibile lock

paegus 10-28-2012 03:56

Re: [Hidden:Source] Visibility
 
Updated source code to reflect new version number. Was still v1.2.1

paegus 10-31-2012 14:25

Re: [Hidden:Source] Visibility
 
Updated to v1.2.3:
* Fixed some for loops through clients not reaching MaxClients thus ignore the last connected player.

paegus 11-07-2012 13:34

Re: [Hidden:Source] Visibility
 
Updated to v1.2.3:
* Fixed forced invisibility running on players who aren't even visible at round end.
* Fixed being able to go visible right as new round starts, resulting in a bad-model kick.

And what's up with the plugin approvals? :'(

Kin2InuYasha 11-12-2012 19:44

Re: [Hidden:Source] Visibility
 
Whoa, this looks wild. Can't wait to check it out. Thanks.

paegus 01-25-2013 13:34

Re: [Hidden:Source] Visibility
 
any reason this hasn't been approved yet?

Kin2InuYasha 01-29-2013 09:31

Re: [Hidden:Source] Visibility
 
I've used this since you've released it, paegus, and it worked flawlessly. Doesn't conflict, doesn't cause any issues, doesn't throw errors.

RocknB 04-29-2013 18:22

Re: [Hidden:Source] Visibility
 
Can you please explain how make this work? I can't find the right place to put the plugin. I'd like to scare some people :D
About the approvals, I've seen someone using it already, and that is why I want to use it as well. It looks pretty cool.

phit 05-02-2013 14:39

Re: [Hidden:Source] Visibility
 
Quote:

Originally Posted by RocknB (Post 1942574)
Can you please explain how make this work? I can't find the right place to put the plugin. I'd like to scare some people :D
About the approvals, I've seen someone using it already, and that is why I want to use it as well. It looks pretty cool.

put the hsm_visibility.smx in your sourcemod/plugins folder and load it via rcon or restart your server
as a player open your console and bind it with this command
bind "key" +visible

replace "key" with whatever you want, now everytime you press this key you will be visible


All times are GMT -4. The time now is 07:08.

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