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

[L4D & L4D2] Hats (1.50) [12-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
kot4404
Senior Member
Join Date: Mar 2013
Old 12-09-2021 , 11:33   Re: [L4D & L4D2] Hats (1.37 ) [09-Sep-2021]
Reply With Quote #241

Quote:
Originally Posted by Silvers View Post
Code:
1.38 (03-Dec-2021)
    - Added "Off" option to the menu. Requested by "kot4404".
Thank you, however this doesn't save within the cookies
kot4404 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-10-2021 , 04:18   Re: [L4D & L4D2] Hats (1.37 ) [09-Sep-2021]
Reply With Quote #242

Quote:
Originally Posted by kot4404 View Post
Thank you, however this doesn't save within the cookies
Edit: Done for version 1.40.
__________________

Last edited by Silvers; 12-11-2021 at 16:50.
Silvers is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 12-11-2021 , 13:46   Re: [L4D & L4D2] Hats (1.39) [09-Dec-2021]
Reply With Quote #243

when i hatpos my hat and adjust to good place, on next load my pos isnt corret,
my action is !hat chosen->!hatload->!hatpos and adjust->!hatsave->!hat chosen
what happen for me?
__________________
NoroHime is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-11-2021 , 17:00   Re: [L4D & L4D2] Hats (1.40) [11-Dec-2021]
Reply With Quote #244

Quote:
Originally Posted by kot4404 View Post
Thank you, however this doesn't save within the cookies
Decided to add this. Hopefully it works correctly with all cvar settings (I only tried with some). Even if random hat is enabled, if the user selected "off" the hat will remain off.


Quote:
Originally Posted by NoroHime View Post
when i hatpos my hat and adjust to good place, on next load my pos isnt corret,
my action is !hat chosen->!hatload->!hatpos and adjust->!hatsave->!hat chosen
what happen for me?
Thanks, good catch. Fixed.


Code:
1.40 (11-Dec-2021)
	- Fixed not saving hat angles and origins correctly when "l4d_hats_wall" was set to "0". Thanks to "NoroHime" for reporting.
	- Now saves when a hat was removed, if saving is enabled. Requested by "kot4404".
__________________
Silvers is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 12-12-2021 , 14:01   Re: [L4D & L4D2] Hats (1.40) [11-Dec-2021]
Reply With Quote #245

Thank you again, I have tested it with
Code:
l4d_hats_random "0"
l4d_hats_save "1"
And it generally saves my OFF option when I disconnect and rejoin, but survivors getting killed and map getting restarted brings the old hat back
kot4404 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-14-2021 , 08:17   Re: [L4D & L4D2] Hats (1.41) [14-Dec-2021]
Reply With Quote #246

Thanks, fixed that.

Also better hatnames translation support now:

Code:
1.41 (14-Dec-2021)
    - Fixed spawning and respawning with a hat when it was turned off. Thanks to "kot4404" for reporting.

    - Changed the "hatnames.phrases.txt" translation file format for better modifications when adding or removing hats from the data config.
    - Now supports adding hats and breaking the plugin when missing from the "hatnames.phrases.txt" translations file.
    - New "hatnames" translations no longer uses indexes and only model names.
    - Still supports the old version but suggest upgrading to the new.
    - Included the script for converting the translation file based on the config. Search for "TRANSLATE CODE" in the source.
__________________

Last edited by Silvers; 12-16-2021 at 06:18.
Silvers is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 12-15-2021 , 21:14   Re: [L4D & L4D2] Hats (1.41) [14-Dec-2021]
Reply With Quote #247

hi Silvers,

I think there's something wrong with the "hatnames.phrases" system.
When activating the plugin, it opens the screen to choose the hats, shows only numbers and appears several messages as if you were choosing several hats at the same time.

See attached image:
Am I doing something wrong?
The previous version does not have this problem ( 1.3
Attached Images
File Type: jpg 20211215225659_1.jpg (91.7 KB, 69 views)
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-16-2021 , 06:17   Re: [L4D & L4D2] Hats (1.42) [16-Dec-2021]
Reply With Quote #248

Thanks, seems fixed now.

Code:
1.42 (16-Dec-2021)
    - Fixed simple mistake from last update causing wrong menu listing when not using a "hatnames" translation. Thanks to "Mi.Cura" for reporting.
__________________
Silvers is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 12-16-2021 , 07:48   Re: [L4D & L4D2] Hats (1.42) [16-Dec-2021]
Reply With Quote #249

Quote:
Originally Posted by Silvers View Post
Thanks, seems fixed now.

Code:
1.42 (16-Dec-2021)
    - Fixed simple mistake from last update causing wrong menu listing when not using a "hatnames" translation. Thanks to "Mi.Cura" for reporting.
Hello Silvers,
Everything looks fine now.
Thank you so much for helping and sharing your work.
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-03-2022 , 11:24   Re: [L4D & L4D2] Hats (1.42) [16-Dec-2021]
Reply With Quote #250

when survivor ledge grab then come back,they thirdperson hat appear on first person, does way to fix?
__________________
NoroHime 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 23:22.


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