[L4D] HideHUDOnVomit (Blind Luck)
1 Attachment(s)
What does it do?
Have you noticed that your friends don't seem to have massive blue name plates above their heads? Isn't it annoying when survivors can just see through a boomer's vomit? This plug-in has the answer. Blind Luck allows server administrators to temporarily remove part of a player's HUD to help simulate blindness. The majority of the HUD is removed except for weapon selection, the cross hair and chat area. While a survivor is blinded the health bars and name plates of other players are unavailable. How do I use it? Simply upload it and enjoy. Currently there are no in game commands although the mod is configurable through two ConVars. You can either choose to hide the HUD until the player is completely free of the vomit, or only hide it for a specified time:-
Not any more! Thanks to olj and doku, we have worked out away to hide the HUD without spoofing sv_cheats. The new version has none of the limitations of the old one. Last, but by no means least, The all knowing change log Code:
* Version 1.0 |
Re: [L4D] HideHUDOnVomit (Blind Luck)
1 Attachment(s)
Just rewrite the following function like this:
Code:
StripAndExecuteClientCommand(client, const String:command[], param) { I took the liberty of posting the fixed plugin: |
Re: [L4D] HideHUDOnVomit (Blind Luck)
Nice plugin i tested it and it works perfectly without sv_cheats 1 :)
Thx ^^ |
Re: [L4D] HideHUDOnVomit (Blind Luck)
I tried doing exactly that last night and the bloody thing would not work, I've tried your fix on my server and it still does not hide the HUD claiming sv_cheats is not on. It is odd it works for fr3aky and yourself but not for me :(
Something in my server.cfg maybe? |
Re: [L4D] HideHUDOnVomit (Blind Luck)
Quote:
If this is not the case, you could PM your server.cfg content (without passwords ;) ) and i'll give your a hand. A listing of your installed plugins will be usefull too. |
Re: [L4D] HideHUDOnVomit (Blind Luck)
I cannot get it to work unless cheats are enabled ='( I've used your hot fix too dj. Man, it works like a charm with cheats enabled, hopefully I can get it to work with cheats off soon ;)
|
Re: [L4D] HideHUDOnVomit (Blind Luck)
Quote:
|
Re: [L4D] HideHUDOnVomit (Blind Luck)
I placed the anti cheat in the disabled folder. Is there more that I need to do to disable the anti cheat? I can enable sv_cheats and the pluggin will work.
Update: I've removed additional pluggins and only had your hotfix pluggin enabled, DJ and it still does not work with sv_cheats set to 0 |
Re: [L4D] HideHUDOnVomit (Blind Luck)
Running an otherwise-default server with sv_cheats on is not safe. Using KAC may allow you to safely run with sv_cheats on (I haven't looked at it), but then your plugin apparently won't work anyway.
|
Re: [L4D] HideHUDOnVomit (Blind Luck)
Quote:
Just because ClientCommand makes the command in client's console while FakeClientCommand simulates the command as the client did in the same frame. FakeClientCommandEx simulates like FakeClientCommand but in the next frame. |
All times are GMT -4. The time now is 15:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.