Raised This Month: $32 Target: $400
 8% 

[L4D2] Item hint


Post New Thread Reply   
 
Thread Tools Display Modes
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-03-2022 , 06:59   Re: [L4D2] Item hint
Reply With Quote #41

yes, i love this, i tried merge this to Spot Marker
__________________
NoroHime is offline
Shao
Senior Member
Join Date: Jan 2015
Old 01-06-2022 , 02:44   Re: [L4D2] Item hint
Reply With Quote #42

Adding this at Line 292 fixes custom vocalizers that uses SmartLook with capitals.

PHP Code:
if ((strncmp(sCmdString"smartlook #"11false) == 0) && (GetEngineTime() > fCoolDownTime[client])) 

Last edited by Shao; 01-06-2022 at 06:09. Reason: Learning, learning and learning!
Shao is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-06-2022 , 04:28   Re: [L4D2] Item hint
Reply With Quote #43

Quote:
Originally Posted by Shao View Post
Adding this at Line 292 fixes custom vocalizers that uses SmartLook with capitals.

PHP Code:
if ((strncmp(sCmdString"smartlook #"11) == 0) || (strncmp(sCmdString"SmartLook #"11) == 0) && (GetEngineTime() > fCoolDownTime[client])) 
Just make the strncmp check case-insensitive instead of doing 2 separate strncmp checks.
__________________
Psyk0tik is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-06-2022 , 07:32   Re: [L4D2] Item hint
Reply With Quote #44

Quote:
Originally Posted by Shao View Post
Adding this at Line 292 fixes custom vocalizers that uses SmartLook with capitals.

PHP Code:
if ((strncmp(sCmdString"smartlook #"11false) == 0) && (GetEngineTime() > fCoolDownTime[client])) 
Good opinion.

Item hint Improved Version 0.8 [2022/1/6]
-Fixes custom vocalizers that uses SmartLook with capitals.
__________________

Last edited by HarryPotter; 01-06-2022 at 19:12.
HarryPotter is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 01-23-2022 , 20:37   Re: [L4D2] Item hint
Reply With Quote #45

Quote:
Originally Posted by HarryPotter View Post
Good opinion.

Item hint Improved Version 0.8 [2022/1/6]
-Fixes custom vocalizers that uses SmartLook with capitals.
Hi Harry, i used this plugin for a week and i see that sometimes the glow is not enough to pay others attention on item, how about also creating a instructor hint for a few seconds while showing the glow for item, so everyone can easier pay attention at it, it should be like this:
strikeraot is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-24-2022 , 12:55   Re: [L4D2] Item hint
Reply With Quote #46

Quote:
Originally Posted by strikeraot View Post
Hi Harry, i used this plugin for a week and i see that sometimes the glow is not enough to pay others attention on item, how about also creating a instructor hint for a few seconds while showing the glow for item, so everyone can easier pay attention at it, it should be like this:
Done
Item hint Improved Version 0.9 [2022/1/25]
- Add more cvars, delete the cfg manually and restart server.
- Add Infected Marker, using 'Look' in vocalize menu to mark the infected.
- Add Instructor hint, display instructor hint on Spot Marker/Infected Marker
(player must Enabled GAME INSTRUCTOR, in ESC -> Options -> Multiplayer, or they can't see)
(DO NOT modify convar "sv_gameinstructor_disable", this force all clients to disable their game instructors.




However there are some issues when I create instructor hint (¯\_(ツ)_/¯)
-Known Issue-
1. The instructor hint show up is Double-Hint
2. Sometimes, the instructor hint not display. It seems that game controls all instructor hint
__________________

Last edited by HarryPotter; 01-25-2022 at 21:24.
HarryPotter is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 01-24-2022 , 22:31   Re: [L4D2] Item hint
Reply With Quote #47

thanks for update
strikeraot is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 01-25-2022 , 08:03   Re: [L4D2] Item hint
Reply With Quote #48

Quote:
Originally Posted by HarryPotter View Post
Spoiler
Superb update! Great work!
__________________

Looking for some fun!

Last edited by thewintersoldier97; 01-25-2022 at 08:03.
thewintersoldier97 is offline
strikeraot
Senior Member
Join Date: Dec 2018
Location: Viet Nam
Old 01-25-2022 , 12:40   Re: [L4D2] Item hint
Reply With Quote #49

Quote:
Originally Posted by HarryPotter View Post
Done
Item hint Improved Version 0.9 [2022/1/25]
- Add Infected Marker, using 'Look' in vocalize menu to mark the infected.
- Add Instructor hint, display instructor hint on Spot Marker/Infected Marker
(player must Enabled GAME INSTRUCTOR, in ESC -> Options -> Multiplayer, or they can't see)
- Add more cvars, delete the cfg manually and restart server.




However there are some issues when I create instructor hint (¯\_(ツ)_/¯)
-Known Issue-
1. The instructor hint show up is Double-Hint
2. Sometimes, the instructor hint not display. It seems that game controls all instructor hint
Can you modify this plugin to have a cvar for show this little arrow on item which is being on glow too? and it would be great if have an options to change another icon.vmt instead of download.vmt, and its color too. I think that will be enough for people's attention. Looks like instructor hint is not a good way
strikeraot is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-25-2022 , 13:09   Re: [L4D2] Item hint
Reply With Quote #50

Quote:
Originally Posted by strikeraot View Post
Can you modify this plugin to have a cvar for show this little arrow on item which is being on glow too? and it would be great if have an options to change another icon.vmt instead of download.vmt, and its color too. I think that will be enough for people's attention. Looks like instructor hint is not a good way
no
__________________
HarryPotter is offline
Reply



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 14:44.


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