AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO/CS:S] Hide teammates 1.2 (UPDATED 2018-01-07) (https://forums.alliedmods.net/showthread.php?t=303986)

IT_KILLER 12-30-2017 10:53

[CS:GO/CS:S] Hide teammates 1.2 (UPDATED 2018-01-07)
 
[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)

hmmmmm 12-30-2017 11:02

Re: [CS:GO/CS:S] Hide teammates 1.1 (UPDATED 2017-12-30)
 
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.

IT_KILLER 12-30-2017 11:35

Re: [CS:GO/CS:S] Hide teammates 1.1 (UPDATED 2017-12-30)
 
Quote:

Originally Posted by hmmmmm (Post 2568894)
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

Ejziponken 01-04-2018 02:50

Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
 
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

sneaK 01-04-2018 05:11

Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
 
Quote:

Originally Posted by Ejziponken (Post 2569624)
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

Ejziponken 01-04-2018 05:47

Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
 
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. :)

IT_KILLER 01-04-2018 13:09

Re: [CS:GO/CS:S] Hide teammates 1.1.1 (UPDATED 2017-12-30)
 
Quote:

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

:up::up::up::up:

Quote:

Originally Posted by Ejziponken (Post 2569640)
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?

pkla 01-06-2018 13:35

Re: [CS:GO/CS:S] Hide teammates 1.1.2 (UPDATED 2018-01-04)
 
Really good plugin, do you plan to add clientprefs?

IT_KILLER 01-06-2018 19:52

Re: [CS:GO/CS:S] Hide teammates 1.1.2 (UPDATED 2018-01-04)
 
Quote:

Originally Posted by pkla (Post 2570204)
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.

Ejziponken 01-06-2018 20:55

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

If I wanna hide everyone all the time, should that be 999 or 0? :P


All times are GMT -4. The time now is 10:02.

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