• [VV] Voice Visualizer
    69 replies, posted
[QUOTE=delagious;41978877] -snip- What exactly would this do? -snip-[/QUOTE] This would be new config options. So you just have to set (for example) vv.IsTTT to true and the settings are optimized for the gamemode. Same would be for other gamemodes. [QUOTE=delagious;41978877] Also should changing my voice receive volume ingame change to height of the bars because it does. [/QUOTE] What exactly do you mean? I don't understand what you are trying to say. [QUOTE=delagious;41978877] I too receive a new error. [LUA] [ERROR] addons/voicevisualizer/lua/vv/cl_init.lua:192: Tried to use invalid object (type Panel) (Object was NULL or not of the right type) 1. __newindex - [C]:-1 2. unknown - addons/voicevisualizer/lua/vv/cl_init.lua:192 Timer Failed! [Simple][@addons/voicevisualizer/lua/vv/cl_init.lua (line 174)] [/LUA][/QUOTE] [QUOTE=pkhzor;41978073][CODE][ERROR] addons/voicevisualizer/lua/vv/cl_init.lua:192: Tried to use invalid object (type Panel) (Object was NULL or not of the right type) 1. __newindex - [C]:-1 2. unknown - addons/voicevisualizer/lua/vv/cl_init.lua:192 Timer Failed! [Simple][@addons/voicevisualizer/lua/vv/cl_init.lua (line 174)] Y[/CODE] still causes errors on ttt.[/QUOTE] I will have to look over that, I might have an idea.
The white name on the bright colours looks a little uneasy to read, so it might be a good idea to push the visual bars down a bit, or make the name stand out a bit
As you can see in my post, there are many ways to customize the bars / text / panel, etc. If you need help with that, you can add me on Steam (fre4kpwned)
To make the text stand out more go to line 123 and change it to [code]vv.NameFont = function(panel, ply) return "VisualizerFont" end[/code] Then around line 232 where it says --Draw Name place this above [code] surface.CreateFont( "VisualizerFont", { font = "Arial", size = 20, weight = 1000, outline = true })[/code] It's the same font and size as the default one, but with a black outline.
[QUOTE=freakyy;41982438]This would be new config options. So you just have to set (for example) vv.IsTTT to true and the settings are optimized for the gamemode. Same would be for other gamemodes. What exactly do you mean? I don't understand what you are trying to say. I will have to look over that, I might have an idea.[/QUOTE] I like the vv.IsTTT idea. Seems like it would make things simpler so you can just activate the gamemode you are using instead of having to change what a line of code says yourself. I mean when I go to voice settings and turn down my voice receive volume so I don't hear people as loud the bars also shrink. So the bars only reach the red range instead of reaching the very top of the voice indicator box. If that timer get's fixed in the next update that'd be awesome. [QUOTE=Eccid;41988977]To make the text stand out more... It's the same font and size as the default one, but with a black outline.[/QUOTE] White text + Black outline = Best invention ever. Can be seen on any background so I will test this out now.
[QUOTE=delagious;41991843]I like the vv.IsTTT idea. Seems like it would make things simpler so you can just activate the gamemode you are using instead of having to change what a line of code says yourself. [/QUOTE] I will probabbly add it in one of the next versions. [QUOTE=delagious;41991843] I mean when I go to voice settings and turn down my voice receive volume so I don't hear people as loud the bars also shrink. So the bars only reach the red range instead of reaching the very top of the voice indicator box.[/QUOTE] I can't really help you with that. Either the players volume is not high enough or you have some weird settings. (Probabbly it's the 1st one) Noone else seems to have this problem so it's probabbly client-side. [QUOTE=delagious;41991843] White text + Black outline = Best invention ever. Can be seen on any background so I will test this out now.[/QUOTE] Maybe I will add in one of the next versions. [QUOTE=delagious;41991843] If that timer get's fixed in the next update that'd be awesome.[/QUOTE] I will definetly fix that in 1.3a. I fixed it already in my local version, but I am currently investigating something in the code. Maybe I will release it today or tomorrow.
And to the workshop would tickle my fancy.
I had an idea that might be interesting for ttt. Make is so tha background color is still black, but the voice bars are all the colors of what class you are. So generally everyone has green bars, in T chat the bars are all red, and D chat has blue bars. I may look into this myself, but it's a pain to test when I can't see the bars on my mic in SP.
[QUOTE=Eccid;41997412]I had an idea that might be interesting for ttt. Make is so tha background color is still black, but the voice bars are all the colors of what class you are. So generally everyone has green bars, in T chat the bars are all red, and D chat has blue bars. I may look into this myself, but it's a pain to test when I can't see the bars on my mic in SP.[/QUOTE] (Hint: You can read the color set by TTT [green/blue] by using panel.Color) You can test it locally using voice_loopback 1 [also don't create a singleplayer game - set it to a playercount, because otherwise voice won't work at all]
[QUOTE=freakyy;42001039](Hint: You can read the color set by TTT [green/blue] by using panel.Color) You can test it locally using voice_loopback 1 [also don't create a singleplayer game - set it to a playercount, because otherwise voice won't work at all][/QUOTE] I don't think you get what I'm asking. What would be cool is if the visualizer bars were the team color, instead of the background on ttt.
Oh yea, sorry. You can't change the bar-color dynamically, only static. I would have to create a function for that, do you want that in the next version?
So how's it coming along? The TTT error is fixed now?
[QUOTE=delagious;41964007]Are you using it on a TTT server or what? The issue I have is brought about by the TTT fix. It all works correctly but I randomly get the LUA error message in the top of the screen and it blocks out the chat indicators at the top. If the error message didn't show up it would be working fine. It sounds like he did create a new, different fix for TTT though so hopefully it doesn't produce error messages. Overall awesome addon though.[/QUOTE] Yes im using TTT, but now i get sometimes this error: [STF | DominikTv|73|STEAM_0:0:48803119] Lua Error: [ERROR] addons/voicevisualizer/lua/vv/cl_init.lua:181: Tried to use invalid object (type Panel) (Object was NULL or not of the right type) 1. __newindex - [C]:-1 2. unknown - addons/voicevisualizer/lua/vv/cl_init.lua:181
Will you put this on the workshop so servers can receive instant updates?
[QUOTE=KingCentKing;42056002]Yes im using TTT, but now i get sometimes this error: [STF | DominikTv|73|STEAM_0:0:48803119] Lua Error: [ERROR] addons/voicevisualizer/lua/vv/cl_init.lua:181: Tried to use invalid object (type Panel) (Object was NULL or not of the right type) 1. __newindex - [C]:-1 2. unknown - addons/voicevisualizer/lua/vv/cl_init.lua:181[/QUOTE] Yep, same here.
This addon is not recommended for roleplay. Made my server lag with 30+ players on.
It can't make the server lag because it's a client-side addon.. Something else is making the lags - but 1000% not my addon.
[QUOTE=nickster50;42093574]This addon is not recommended for roleplay. Made my server lag with 30+ players on.[/QUOTE] I dont think its his addon that makes your server lag?, could there be another reason maybe?
[B][U]Version 1.3a Released![/U][/B] - Finally fixed the lua error So, yeah, I finally uploaded my local version in order to fix the error you TTT-guys have. I'm still not sure why this is happening in TTT, but not in Sandbox, but it doesn't matter. It's working. Thanks for testing @Morten7000 [B]Download via Github[/B]: [URL="https://github.com/Freeaakyy/VoiceVisualizer"]https://github.com/Freeaakyy/VoiceVisualizer[/URL] [B][U]UPDATE NOTICE![/U][/B] If you're updating the addon, you should copy your old config first. After replacing all files, insert your config again! (Config from 1.3 -> 1.3a is compatible, just don't use 1.2 configs)
-Snip, problem is fixed-
[QUOTE=smithy285;42100441][IMG]http://i.imgur.com/FAhpwcn.png[/IMG][/QUOTE] Fixed! Thanks.
[QUOTE=nickster50;42093574]This addon is not recommended for roleplay. Made my server lag with 30+ players on.[/QUOTE] It's a completely clientside addon that overrides the VoiceNotify panel, if anything it'd make the clients lag, not the server.
[QUOTE=smithy285;42100441][IMG]http://i.imgur.com/FAhpwcn.png[/IMG][/QUOTE] Link down! :(
Instead of using Mediafire, you should use Github.
[B][U]Moved to Github[/U][/B] Yes, so I moved to Github. Thanks for the suggestion. You also free to use the Issue & Suggestions-thing there. [URL="https://github.com/Freeaakyy/VoiceVisualizer"]https://github.com/Freeaakyy/VoiceVisualizer[/URL]
Very nice addon, maybe work on getting more visualizing options too other than the bars.
[QUOTE=pkhzor;42110975]Very nice addon, maybe work on getting more visualizing options too other than the bars.[/QUOTE] It's actually already possible.. But you need to experiment alot with the settings. But technically there are many ways of visualizing already. Maybe I should add some "pre-configured" configs or something. The next-update will definetly contain an external config file. Thanks for the suggestion!
[QUOTE=freakyy;42112216]It's actually already possible.. But you need to experiment alot with the settings. But technically there are many ways of visualizing already. Maybe I should add some "pre-configured" configs or something. The next-update will definetly contain an external config file. Thanks for the suggestion![/QUOTE] [CODE][ERROR] addons/voicevisualizer/lua/vv/cl_init.lua:206: Tried to use a NULL entity! 1. VoiceVolume - [C]:-1 2. UpdatePast - addons/voicevisualizer/lua/vv/cl_init.lua:206 3. unknown - addons/voicevisualizer/lua/vv/cl_init.lua:170 Timer Failed! [PanelThink7104797][@addons/voicevisualizer/lua/vv/cl_init.lua (line 167)] T[/CODE] doesn't happen as often and to everyone but still happens every now and then.
Thanks for reporting this one, pkhzor. This error is fixed (hopefully it was the last one)... Download it on Github: [url]https://github.com/Freeaakyy/VoiceVisualizer[/url]
[CODE]ERROR] addons/voicevisualizer/lua/vv/cl_init.lua:197: Tried to use a NULL entity! 1. VoiceVolume - [C]:-1 2. UpdatePast - addons/voicevisualizer/lua/vv/cl_init.lua:197 3. unknown - addons/voicevisualizer/lua/vv/cl_init.lua:160 Timer Failed! [PanelThink3223990593][@addons/voicevisualizer/lua/vv/cl_init.lua (line 157) [/CODE] That happens still but even less regular. Happened to me once and I play a lot. This was pasted to me by a community member cause I forgot to grab it when it happened to me. He apparently shot up in the air, froze for a sec and then got that error, it might not be related to this addon specifically but something else that's constantly screwing with the timer. Hope it's not my server cause others had this issue as well.
Sorry, you need to Log In to post a reply to this thread.