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

[CSGO] ShowHudText not working


Post New Thread Reply   
 
Thread Tools Display Modes
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 04-22-2019 , 05:12   Re: [CSGO] ShowHudText not working
Reply With Quote #11

If you'd like to see a working usage of the HUD message: https://github.com/b3none/retakes-hud Try putting in those position parameters and see what you're getting
__________________
B3none is offline
bruxo00
Junior Member
Join Date: Jan 2015
Old 04-22-2019 , 08:12   Re: [CSGO] ShowHudText not working
Reply With Quote #12

Quote:
Originally Posted by MAGNAT2645 View Post
You can also check your error logs because function may abort code below (i mean before loop) if there is runtime errors.
I checked that, no errors...

Quote:
Originally Posted by b3none View Post
If you'd like to see a working usage of the HUD message: https://github.com/b3none/retakes-hud Try putting in those position parameters and see what you're getting
Oh, I see what you did on that plugin! You didn't do it directly on the retakes plugin itself, nice! I'm gonna try that! You have some really usefull plugins for retakes!
bruxo00 is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 04-22-2019 , 09:04   Re: [CSGO] ShowHudText not working
Reply With Quote #13

Quote:
Originally Posted by bruxo00 View Post
I checked that, no errors...



Oh, I see what you did on that plugin! You didn't do it directly on the retakes plugin itself, nice! I'm gonna try that! You have some really usefull plugins for retakes!
Thanks! Let me know if you're struggling with anything
__________________
B3none is offline
bruxo00
Junior Member
Join Date: Jan 2015
Old 04-22-2019 , 09:20   Re: [CSGO] ShowHudText not working
Reply With Quote #14

Quote:
Originally Posted by b3none View Post
Thanks! Let me know if you're struggling with anything
Just tried your plugin, it didn't work... I'm start to wondering if it's a problem with my client... The messages appear in the chat, but not in the Hud.

EDIT: I just tested it with a friend. The message is appearing here:



The message doesn't appear to the bomb carrier, as the game says "you picked up the bomb" in that same spot.

Didn't make any changes to the plugin or the config file.

Last edited by bruxo00; 04-22-2019 at 09:33.
bruxo00 is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 04-22-2019 , 19:20   Re: [CSGO] ShowHudText not working
Reply With Quote #15

Very strange! I'll look into it and get a fixed rolled out. Not quite sure what's going on there, if you plop me a line on Discord you're likely to get a faster response off of me: B3none #0575
__________________
B3none is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 04-22-2019 , 19:29   Re: [CSGO] ShowHudText not working
Reply With Quote #16

It is worth noting that you're using a suuuuuper small 4 resolution so it could be that the HUD message is displaying just not on your screen. Once I've done some debugging tomorrow I'll be able to give you a definitive answer.
__________________
B3none is offline
bruxo00
Junior Member
Join Date: Jan 2015
Old 04-23-2019 , 08:17   Re: [CSGO] ShowHudText not working
Reply With Quote #17

My resolution is 1280x1024 if I remember correctly. Also, I'm usin the (new) -d3d9ex startup parameter, I don't know if it's anything to do with that.

Thanks for the help! If you want to check for yourself on my server, you can join 185.113.141.7:27120. I don't know if it's allowed to post server IP's here, but if it isn't, lmk and I remove it.
bruxo00 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-25-2019 , 12:08   Re: [CSGO] ShowHudText not working
Reply With Quote #18

Maybe if you actually defined all the values you're realize the fxTime is at 6 seconds by default and you're displaying it only for 2.0 seconds, which means it's probably there you just can't see it.

SetHudTextParams(float x, float y, float holdTime, int r, int g, int b, int a, int effect = 0,
float fxTime=6.0, float fadeIn=0.1, float fadeOut=0.2);

try this:
SetHudTextParams(-1.0, 0.45, 10.0, 255, 235, 20, 200, 1, 0.0, 0.0, 0.0);
Mitchell is offline
B3none
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 04-26-2019 , 18:29   Re: [CSGO] ShowHudText not working
Reply With Quote #19

It's working fine for me locally FYI albeit a tad off-centre

__________________

Last edited by B3none; 04-26-2019 at 18:45.
B3none is offline
bruxo00
Junior Member
Join Date: Jan 2015
Old 04-27-2019 , 09:48   Re: [CSGO] ShowHudText not working
Reply With Quote #20

Quote:
Originally Posted by Mitchell View Post
Maybe if you actually defined all the values you're realize the fxTime is at 6 seconds by default and you're displaying it only for 2.0 seconds, which means it's probably there you just can't see it.

SetHudTextParams(float x, float y, float holdTime, int r, int g, int b, int a, int effect = 0,
float fxTime=6.0, float fadeIn=0.1, float fadeOut=0.2);

try this:
SetHudTextParams(-1.0, 0.45, 10.0, 255, 235, 20, 200, 1, 0.0, 0.0, 0.0);
Tried, didn't work either...

Quote:
Originally Posted by b3none View Post
It's working fine for me locally FYI albeit a tad off-centre

I don't know why it's not working with me so... I've tried multiple resolutions, multiple params, I don't know what else to try more tbh...
bruxo00 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 19:50.


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