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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-21-2012 , 13:20   Re: [L4D & L4D2] Hats (1.8) [21-May-2012]
Reply With Quote #101

1.8 (21-May-2012)
- Fixed command "sm_hatc" making the client thirdpeson and not the target.

1.9 (22-May-2012)
- Fixed multiple hat changes only showing the first hat to players.
- Changing hats will no longer return the player to firstperson if thirdperson was already on.

1.10 (20-Jun-2012)
- Added German translations - Thanks to "Don't Fear The Reaper".
- Small fixes.
__________________

Last edited by Silvers; 06-19-2012 at 23:16.
Silvers is offline
boypro2007vn
Junior Member
Join Date: Jun 2012
Old 06-27-2012 , 08:57   Re: [L4D & L4D2] Hats (1.10) [20-Jun-2012]
Reply With Quote #102

let me ask, do I add the plugin into an error when loading map ???
Host_Error: Bad string:

BinkOpen (f: \ left 4 dead 2 \ left4dead2 \ media \ l4d2_background05.bik)
boypro2007vn is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-27-2012 , 09:18   Re: [L4D & L4D2] Hats (1.10) [20-Jun-2012]
Reply With Quote #103

Quote:
Originally Posted by boypro2007vn View Post
let me ask, do I add the plugin into an error when loading map ???
Host_Error: Bad string:

BinkOpen (f: \ left 4 dead 2 \ left4dead2 \ media \ l4d2_background05.bik)
This is probably caused when the plugin trys to PreCache a model which does not exist. Did you add some hats? Try using the default config.

The plugin should check the model exists but I'll make sure later and update if needed.


Edit: 1.11 (30-Jun-2012)
- Fixed cvar "l4d_hats_random" from not working properly - Thanks to "Don't Fear The Reaper" for reporting.
__________________

Last edited by Silvers; 07-01-2012 at 19:09.
Silvers is offline
boypro2007vn
Junior Member
Join Date: Jun 2012
Old 07-13-2012 , 22:25   Re: [L4D & L4D2] Hats (1.11) [02-Jul-2012]
Reply With Quote #104

you can send again version of old reserved cho SourceMod 1.3.2, because me use version games play 2001.Thank

Last edited by boypro2007vn; 07-13-2012 at 22:26.
boypro2007vn is offline
Machine
Senior Member
Join Date: Apr 2010
Old 07-14-2012 , 21:43   Re: [L4D & L4D2] Hats (1.11) [02-Jul-2012]
Reply With Quote #105

I really like this plugin.

I was incorporating this into one of my personal plugins.
To disable entity interactions with the hat like +use. Do this.
Code:
SetEntProp(entity, Prop_Data, "m_iEFlags", 0);
Machine is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-14-2012 , 22:15   Re: [L4D & L4D2] Hats (1.11) [02-Jul-2012]
Reply With Quote #106

OMG... That prevents the Hats getting in the way of players eyes? Thank you!

Edit: No affect
__________________

Last edited by Silvers; 07-14-2012 at 22:45.
Silvers is offline
Machine
Senior Member
Join Date: Apr 2010
Old 07-15-2012 , 02:39   Re: [L4D & L4D2] Hats (1.11) [02-Jul-2012]
Reply With Quote #107

Strange, it seemed to work for me. I just browsed through your code now, did you disable the collision too?
Try this in addition to the above.
Code:
AcceptEntityInput(entity, "DisableCollision");
That was the only difference from what I could tell.

Edit: Actually this part is not needed but I would still add it in. I just took your original plugin, added the m_iEFlags line under the teleportation part of your hat creation function and it worked everytime. As soon as it was removed I couldn't operate any saferoom doors.

Last edited by Machine; 07-15-2012 at 03:03.
Machine is offline
boypro2007vn
Junior Member
Join Date: Jun 2012
Old 08-02-2012 , 10:30   Re: [L4D & L4D2] Hats (1.11) [02-Jul-2012]
Reply With Quote #108

You can be sent me file l4d_hats.sp version 1.3.3, thank
boypro2007vn is offline
Simca
Senior Member
Join Date: Feb 2012
Old 08-08-2012 , 14:22   Re: [L4D & L4D2] Hats (1.11) [02-Jul-2012]
Reply With Quote #109

I added a flag to plugin and set few steamids with a flag. Even though the server is set to only let players with a flag access to the menu 1 player on team always have a hat. Even though he has no access to it.
Simca is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-07-2012 , 00:38   Re: [L4D & L4D2] Hats (1.12) [07-Oct-2012]
Reply With Quote #110

Small fix which I should have released ages ago. Thanks to "Machine" for the code.
1.12 (07-Oct-2012) - Fixed hats blocking players +USE by adding a single line of code.

I realise there is a small bug with the cvars and bots receiving hats, I fixed this a while back but want to test again before releasing.

Thanks "KyleS" for approving
__________________
Silvers 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:32.


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