Raised This Month: $12 Target: $400
 3% 

[CS:GO/CS:S] Hide teammates 1.2 (UPDATED 2018-01-07)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
IT_KILLER
Member
Join Date: Jul 2017
Plugin ID:
5962
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A plugin that can !hide teammates with individual distances.
    Old 12-30-2017 , 10:53   [CS:GO/CS:S] Hide teammates 1.2 (UPDATED 2018-01-07)
    Reply With Quote #1

    [CS:GO/CS:S] Hide teammates 1.2

    >>Github<<

    A plugin that can !hide teammates. Probably more performance friendly than most plugins like this. This plugin has several smart features that make it easier for the player to choose distance and is perfect for laser and boss fight..

    By default, CT can use the command. Check out Cvars on github repo.

    Features
    • Adjustable distance
    • Performance friendly
    • Adjustable cvars

    Commands
    • !hide <distance>
    • !hide 0-300 - Choose a value between def. range 30-300, 0=disable
    • !hide 200
    • !hide - Toggle hide teammates on/off

    All improvements, new and upcoming features, cvars, change logs and screenshots are available on my github..

    Download Plugin (SMX FILE)

    Github REPO (Source Code)
    __________________
    If you have any suggestions for improvement, let me know. I appreciate all feedback.
    >>> GITHUB <<<

    Last edited by IT_KILLER; 01-06-2018 at 19:47.
    IT_KILLER is offline
    hmmmmm
    Great Tester of Whatever
    Join Date: Mar 2017
    Location: ...
    Old 12-30-2017 , 11:02   Re: [CS:GO/CS:S] Hide teammates 1.1 (UPDATED 2017-12-30)
    Reply With Quote #2

    If you're that focused on making this as performant as possible, you should avoid doing a squareroot when youre just using it to compare.

    e.g. https://github.com/IT-KiLLER/CSGO-Hi...s.sp#L173-L174
    Change that false to true in GetVectorDistance and instead square the g_dHide value.

    In the end, it probably isn't that big a deal, but it's an easy optimization.
    hmmmmm is offline
    IT_KILLER
    Member
    Join Date: Jul 2017
    Old 12-30-2017 , 11:35   Re: [CS:GO/CS:S] Hide teammates 1.1 (UPDATED 2017-12-30)
    Reply With Quote #3

    Quote:
    Originally Posted by hmmmmm View Post
    If you're that focused on making this as performant as possible, you should avoid doing a squareroot when youre just using it to compare.

    e.g. https://github.com/IT-KiLLER/CSGO-Hi...s.sp#L173-L174
    Change that false to true in GetVectorDistance and instead square the g_dHide value.

    In the end, it probably isn't that big a deal, but it's an easy optimization.
    Thank you for your tips. You're right, it would be smarter to do that.
    I'll do it in the next update.
    Thank you for your code review, I appreciate it.

    EDIT: This is now fixed in version 1.1.1
    __________________
    If you have any suggestions for improvement, let me know. I appreciate all feedback.
    >>> GITHUB <<<

    Last edited by IT_KILLER; 12-30-2017 at 11:59.
    IT_KILLER is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 01-04-2018 , 02:50   Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
    Reply With Quote #4

    Lets say I have hidden teammates and they are standing infront of me and I shoot the enemies through my invisible team mates, does that affect the bullets at all? Someone wrote:

    Quote:
    Pls remove !hide from aim map, everyone standing infront of each other and shooting into the back of invisible teammates
    Ejziponken is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 01-04-2018 , 05:11   Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
    Reply With Quote #5

    Quote:
    Originally Posted by Ejziponken View Post
    Lets say I have hidden teammates and they are standing infront of me and I shoot the enemies through my invisible team mates, does that affect the bullets at all? Someone wrote:
    Fairly certain there a cvar for that, perhaps s_penetration_type. This request falls pretty far outside the scope of the plugin anyways imo
    __________________
    sneaK is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 01-04-2018 , 05:47   Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
    Reply With Quote #6

    Edit: NVM. Im gonna test that. thx

    I have a request tho: A cvar that enables hide by default on join. I want them to be hidden by default.

    Last edited by Ejziponken; 01-04-2018 at 07:07.
    Ejziponken is offline
    IT_KILLER
    Member
    Join Date: Jul 2017
    Old 01-04-2018 , 13:09   Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
    Reply With Quote #7

    Quote:
    Originally Posted by sneaK View Post
    Fairly certain there a cvar for that, perhaps s_penetration_type. This request falls pretty far outside the scope of the plugin anyways imo


    Quote:
    Originally Posted by Ejziponken View Post
    Edit: NVM. Im gonna test that. thx

    I have a request tho: A cvar that enables hide by default on join. I want them to be hidden by default.
    Implemented in version 1.1.2, please return with feedback if it works or if there are problems.
    sv_penetration_type did it solve your problem?
    __________________
    If you have any suggestions for improvement, let me know. I appreciate all feedback.
    >>> GITHUB <<<
    IT_KILLER is offline
    pkla
    Member
    Join Date: Oct 2010
    Old 01-06-2018 , 13:35   Re: [CS:GO/CS:S] Hide teammates 1.1.2 (UPDATED 2018-01-04)
    Reply With Quote #8

    Really good plugin, do you plan to add clientprefs?
    pkla is offline
    IT_KILLER
    Member
    Join Date: Jul 2017
    Old 01-06-2018 , 19:52   Re: [CS:GO/CS:S] Hide teammates 1.1.2 (UPDATED 2018-01-04)
    Reply With Quote #9

    Quote:
    Originally Posted by pkla View Post
    Really good plugin, do you plan to add clientprefs?
    The plugin has been updated with it. Set sm_hide_clientprefs_enabled to 1.

    I appreciate if you can try it and return with a comment if it works etc
    Thanks.
    __________________
    If you have any suggestions for improvement, let me know. I appreciate all feedback.
    >>> GITHUB <<<
    IT_KILLER is offline
    Ejziponken
    AlliedModders Donor
    Join Date: Apr 2008
    Old 01-06-2018 , 20:55   Re: [CS:GO/CS:S] Hide teammates 1.2 (UPDATED 2018-01-07)
    Reply With Quote #10

    sm_hide_default_distance

    If I wanna hide everyone all the time, should that be 999 or 0?
    Ejziponken 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:34.


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