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

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


Post New Thread Reply   
 
Thread Tools Display Modes
ZBzibing
Senior Member
Join Date: Dec 2012
Old 06-24-2017 , 03:22   Re: [L4D & L4D2] Hats (1.13) [29-Mar-2015]
Reply With Quote #131

My English is not good.
CFG has model errors in L4D1. In addition,

add a reset:
Else if (index = = 3) vAng[0] = 0, vAng[1] = 0, vAng[2] = 0;
ZBzibing is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 06-24-2017 , 05:33   Re: [L4D & L4D2] Hats (1.13) [29-Mar-2015]
Reply With Quote #132

Quote:
AddMenuItem(menu, "", "X + 1.0");
AddMenuItem(menu, "", "Y + 1.0");
AddMenuItem(menu, "", "Z + 1.0");
AddMenuItem(menu, "", "reset pos");
AddMenuItem(menu, "", "X - 1.0");
AddMenuItem(menu, "", "Y - 1.0");
AddMenuItem(menu, "", "Z - 1.0");
AddMenuItem(menu, "", "X + 10.0");
AddMenuItem(menu, "", "Y + 10.0");
AddMenuItem(menu, "", "Z + 10.0");
AddMenuItem(menu, "", "reset pos");
AddMenuItem(menu, "", "X - 10.0");
AddMenuItem(menu, "", "Y - 10.0");
AddMenuItem(menu, "", "Z - 10.0");
Quote:
if( index == 0 ) vPos[0] += 1.0;
else if( index == 1 ) vPos[1] += 1.0;
else if( index == 2 ) vPos[2] += 1.0;
else if( index == 3 ) vPos[0] = 0.0 ,vPos[1] = 0.0 ,vPos[2] = 0.0;
else if( index == 4 ) vPos[0] -= 1.0;
else if( index == 5 ) vPos[1] -= 1.0;
else if( index == 6 ) vPos[2] -= 1.0;
else if( index == 7 ) vPos[0] += 10.0;
else if( index == 8 ) vPos[1] += 10.0;
else if( index == 9 ) vPos[2] += 10.0;
else if( index == 10 ) vPos[0] = 0.0 ,vPos[1] = 0.0 ,vPos[2] = 0.0;
else if( index == 11 ) vPos[0] -= 10.0;
else if( index == 12 ) vPos[1] -= 10.0;
else if( index == 13 ) vPos[2] -= 10.0;
ZBzibing is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-25-2017 , 07:56   Re: [L4D & L4D2] Hats (1.14) [25-Jun-2017]
Reply With Quote #133

Quote:
Originally Posted by ZBzibing View Post
CFG has model errors in L4D1.
Quote:
Ja-Forces - L4D1 data config found here: https://forums.alliedmods.net/showpo...7&postcount=57


Updated:

Quote:
1.14 (25-Jun-2017)
- Added "Reset" option to the ang/pos/size menus, requested by "ZBzibing".
- Fixed depreciated FCVAR_PLUGIN and GetClientAuthString.
- Increased MAX_HATS value and added many extra L4D2 hats thanks to "Munch".
__________________

Last edited by Silvers; 01-07-2018 at 12:14.
Silvers is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 01-06-2018 , 07:57   Re: [L4D & L4D2] Hats (1.14) [25-Jun-2017]
Reply With Quote #134

My friend can't open menu to chose a hat. But the hat by some magical it already on everyone head but we can't change the hat.
Code:
L 01/06/2018 - 19:49:48: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:49:48: [SM] Native "Format" reported: Language phrase "Hat 78" not found
L 01/06/2018 - 19:49:48: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:49:48: [SM]   [0]  Line 1685, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CreateHat()
L 01/06/2018 - 19:49:48: [SM]   [1]  Line 743, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::tmrDelayCreate()
L 01/06/2018 - 19:49:52: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:49:52: [SM] Native "Format" reported: Language phrase "Hat 73" not found
L 01/06/2018 - 19:49:52: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:49:52: [SM]   [0]  Line 1685, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CreateHat()
L 01/06/2018 - 19:49:52: [SM]   [1]  Line 743, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::tmrDelayCreate()
L 01/06/2018 - 19:49:52: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:49:52: [SM] Native "Format" reported: Language phrase "Hat 95" not found
L 01/06/2018 - 19:49:52: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:49:52: [SM]   [0]  Line 1685, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CreateHat()
L 01/06/2018 - 19:49:52: [SM]   [1]  Line 741, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::tmrDelayCreate()
L 01/06/2018 - 19:50:14: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:50:14: [SM] Native "Format" reported: Language phrase "Hat 40" not found
L 01/06/2018 - 19:50:14: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:50:14: [SM]   [0]  Line 925, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::ShowMenu()
L 01/06/2018 - 19:50:14: [SM]   [1]  Line 857, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CmdHat()
L 01/06/2018 - 19:51:14: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:51:14: [SM] Native "Format" reported: Language phrase "Hat 40" not found
L 01/06/2018 - 19:51:14: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:51:14: [SM]   [0]  Line 925, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::ShowMenu()
L 01/06/2018 - 19:51:14: [SM]   [1]  Line 857, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CmdHat()
L 01/06/2018 - 19:51:17: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:51:17: [SM] Native "Format" reported: Language phrase "Hat 40" not found
L 01/06/2018 - 19:51:17: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:51:17: [SM]   [0]  Line 925, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::ShowMenu()
L 01/06/2018 - 19:51:17: [SM]   [1]  Line 857, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CmdHat()
L 01/06/2018 - 19:51:21: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 01/06/2018 - 19:51:21: [SM] Native "Format" reported: Language phrase "Hat 40" not found
L 01/06/2018 - 19:51:21: [SM] Displaying call stack trace for plugin "l4d_hats.smx":
L 01/06/2018 - 19:51:21: [SM]   [0]  Line 925, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::ShowMenu()
L 01/06/2018 - 19:51:21: [SM]   [1]  Line 857, C:\Servers\L4D2\left4dead2\addons\sourcemod\scripting\l4d_hats.sp::CmdHat()
L 01/06/2018 - 19:53:10: Error log file session closed.
Thanks you guys much
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese

Last edited by Newbie_Sexy; 01-06-2018 at 07:57.
Newbie_Sexy is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-06-2018 , 13:28   Re: [L4D & L4D2] Hats (1.14) [25-Jun-2017]
Reply With Quote #135

You need the translation file.
__________________
Psyk0tik is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 01-08-2018 , 00:50   Re: [L4D & L4D2] Hats (1.14) [25-Jun-2017]
Reply With Quote #136

Quote:
Originally Posted by Crasher_3637 View Post
You need the translation file.
My friend has it already :<
__________________
I am a noob so... hope you guys will help me up
P/s .-. : My English is bad, i am good at Vietnamese
Newbie_Sexy is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-08-2018 , 03:29   Re: [L4D & L4D2] Hats (1.14) [25-Jun-2017]
Reply With Quote #137

Quote:
Originally Posted by Newbie_Sexy View Post
My friend has it already :<
Try this one by Munch.
Attached Files
File Type: txt hatnames.phrases.txt (4.1 KB, 247 views)
__________________
Psyk0tik is offline
i0dZ5T
New Member
Join Date: Mar 2018
Old 03-26-2018 , 01:44   Chat menu doesn't display.
Reply With Quote #138

So I was forced to create a new account just to say that the chat menu doesn't work when typing "!hat", but only when using the index (!hat 1-100).
I checked the folder, saw if the translate text was alright, then I see that the TXT file was incomplete.
Then I redownload it from here and surprise! The damn text is not complete.

The text ends at the 39th hat (Mannequin Hand) and then the Desk Lamp with no number.
I wanted to complete the translate file, but I don't feel like checking every hat and trying to figure out the prop name.
I would appreciate if you could fix this, or at least tell me how to fix it by my own plz ;_;



PD: Sorry for my english :b
i0dZ5T is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-26-2018 , 06:53   Re: [L4D & L4D2] Hats (1.14) [25-Jun-2017]
Reply With Quote #139

Ahh oops. Thanks for letting me know. The 1st post l4d_hats.zip contains the 100 hats config by Munch but the attached hatnames.phrases.txt is wrong. I have to fix that. You can grab the correct file from the link below:

L4D2 100 hats version by Munch: https://forums.alliedmods.net/showpo...&postcount=129
L4D1 no errors version by Ja-Forces: https://forums.alliedmods.net/showpo...7&postcount=57
__________________

Last edited by Silvers; 03-26-2018 at 06:53.
Silvers is offline
francis is the new ihe
New Member
Join Date: Aug 2018
Old 08-26-2018 , 12:18   Re: [L4D & L4D2] Hats (1.15) [05-May-2018]
Reply With Quote #140

why do only the bots have hats and not the players? please help
francis is the new ihe 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 03:44.


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