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

[L4D2] Voice Viewer 1.6[Jan-24-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
101
Member
Join Date: Nov 2023
Old 12-11-2023 , 00:07   Re: [L4D2] Voice Viewer
Reply With Quote #11

Quote:
Originally Posted by Iciaria View Post
when the client is muted while speaking, the 'OnClientSpeakingEnd' is not trigger.
That because there is something wrong with these two forwards :
OnClientSpeaking
OnClientSpeakingEnd
These two functions also pass any client EVEN if he was muted !
this is a very efficient solution at this moment until they fixed it <i hope so>
last update with Mute Fix (if anything went wrong plz report)
Attached Files
File Type: sp Get Plugin or Get Source ([ANY]SpeakersList.sp - 55 views - 2.0 KB)

Last edited by 101; 12-11-2023 at 00:25.
101 is offline
Iciaria
Member
Join Date: Aug 2022
Old 12-12-2023 , 18:00   Re: [L4D2] Voice Viewer 1.4[Dec-19-2023]
Reply With Quote #12

Code:
2023-12-13 (1.4)
- EMS HUD support, requested by "S.A.S".
- If the player's name is too long, it will be truncated.
- New ConVars: l4d2_voiceviewer_name_max_length, l4d2_voiceviewer_emshud_Slot, l4d2_voiceviewer_emshud_XYWH, l4d2_voiceviewer_emshud_HUDBG
- New config file: data/l4d2_voiceviewer.txt
- Some code adjustments && ConVar default value adjustments.
__________________
Sorry,my english not good

Last edited by Iciaria; 12-13-2023 at 09:15.
Iciaria is offline
S.A.S
Member
Join Date: Jul 2023
Old 12-13-2023 , 06:53   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #13

And what to do if there is no folder and file /vscripts/coop.nut and realism.nut?

Last edited by S.A.S; 12-13-2023 at 06:57.
S.A.S is offline
Iciaria
Member
Join Date: Aug 2022
Old 12-13-2023 , 09:14   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #14

Quote:
Originally Posted by S.A.S View Post
And what to do if there is no folder and file /vscripts/coop.nut and realism.nut?
Just create it.
And write "g_ModeScript" in *.nut:

left4dead2/scripts/vscripts/coop.nut
Code:
g_ModeScript
__________________
Sorry,my english not good
Iciaria is offline
glhf3000
Member
Join Date: Aug 2010
Location: middle-universe
Old 12-21-2023 , 12:52   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #15

Hello!
My goal is to add ****************** (https://www.compart.com/en/unicode/U+1F568) or similar icon to the nickname on the right.
I dunno why, but utf8 characters are not being displayed correctly in hud/chat.
Tried w/wo bom (np++), different utf8 icons, none of them were rendered right.
Tried to upload your "data/l4d2_voiceviewer.txt" as is, but no luck again.
I even thought what if is unicode version used by engine is too old and those symbols do not exist there.
Any ideas?

UPD:
these are working: https://steamcommunity.com/sharedfil...?id=2165546519
Attached Thumbnails
Click image for larger version

Name:	20231221204617_1.jpg
Views:	65
Size:	95.2 KB
ID:	202571  

Last edited by glhf3000; 12-22-2023 at 00:52. Reason: partial solution
glhf3000 is offline
Iciaria
Member
Join Date: Aug 2022
Old 12-22-2023 , 01:10   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #16

Quote:
Originally Posted by [ru]In1ernal Error View Post
Hello!
My goal is to add ****************** (https://www.compart.com/en/unicode/U+1F568) or similar icon to the nickname on the right.
I dunno why, but utf8 characters are not being displayed correctly in hud/chat.
Tried w/wo bom (np++), different utf8 icons, none of them were rendered right.
Tried to upload your "data/l4d2_voiceviewer.txt" as is, but no luck again.
I even thought what if is unicode version used by engine is too old and those symbols do not exist there.
Any ideas?

UPD:
these are working: https://steamcommunity.com/sharedfil...?id=2165546519
I think it has to do with the fonts used by the client(OS fonts).

For me, it displays correctly 🔊(U+1F50A). plugin default: l4d2_voiceviewer.txt

You may want to check your in-game console for errors like this:
Code:
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans.ttf'
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans-Bold.ttf'
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans-BoldOblique.ttf'
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans-Oblique.ttf'
Couldn't find custom font file 'resource/linux_fonts/LiberationSans-Regular.ttf'
Couldn't find custom font file 'resource/linux_fonts/LiberationSans-Bold.ttf'
Couldn't find custom font file 'resource/linux_fonts/LiberationMono-Regular.ttf'
This is my other OS (use linux version) and the emoji won't display correctly until I move the *ttf files.
Code:
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans-Bold.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/LiberationMono-Regular.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans-Oblique.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans-BoldOblique.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/LiberationSans-Regular.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/LiberationSans-Bold.ttf
Attach Files(img)
l4d2_voiceviewer.txt
Code:
🔊 正在说话的玩家 🔊 | 🕨 🕨 🕨 🕨
U+1F568 doesn't display correctly for me, even in the browser or terminal, I think you should change to some other Unicode character, since it's unlikely that players specifically configure the font file.
Attached Thumbnails
Click image for larger version

Name:	full_2023-12-22_3840x2160.jpg
Views:	66
Size:	95.2 KB
ID:	202575   Click image for larger version

Name:	2023-12-22_1826x238.png
Views:	29
Size:	32.8 KB
ID:	202576   Click image for larger version

Name:	2023-12-22_665x1861.jpg
Views:	52
Size:	101.8 KB
ID:	202577  
__________________
Sorry,my english not good

Last edited by Iciaria; 12-22-2023 at 01:22.
Iciaria is offline
JustMadMan
Member
Join Date: Feb 2023
Old 12-22-2023 , 02:42   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #17

My Russian translate
Attached Files
File Type: txt l4d2_voiceviewer.phrases.txt (1.2 KB, 18 views)
JustMadMan is offline
Iciaria
Member
Join Date: Aug 2022
Old 12-23-2023 , 03:38   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #18

Quote:
Originally Posted by JustMadMan View Post
My Russian translate
Thank you, added
__________________
Sorry,my english not good
Iciaria is offline
S.A.S
Member
Join Date: Jul 2023
Old 01-18-2024 , 10:43   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #19

is it possible to make a notification in the chat when the player speaks into the microphone?
For example, the player clicked on the microphone and a notification appears in the chat.
S.A.S is offline
Iciaria
Member
Join Date: Aug 2022
Old 01-22-2024 , 13:02   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #20

Quote:
Originally Posted by S.A.S View Post
is it possible to make a notification in the chat when the player speaks into the microphone?
For example, the player clicked on the microphone and a notification appears in the chat.
Keep print hint in the chat while talking?
__________________
Sorry,my english not good
Iciaria 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 00:02.


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