[ANY] Hats! (Version 1.0.4c - 2/19/2012)
5 Attachment(s)
No cookies for TF2 players, go away!
I promised I would release this for everyone today. Some of you may know my more powerful hats plugin but this is a rewrite from scratch for all you guys who were asking for this. Make sure to use latest SDKHooks. Features: -Ability to add custom hats -Ability to restrict a hat for specific flags -Checks whether the model supports hats -Works with databomb's ToggleEffects (it's optional) :3 -Hats won't disappear after death (idea stolen from Peace-Maker :3) -Ability to create categories like glasses, hats, moustaches, etc. -Set default hat for everyone Upcoming features: -Ability to set positio of the hats/restrict them for every model individually (1.0.5) -A few natives for other plugins (1.0.5) -A way to detect when someone's model changed and remove the hat if the new model doesnt support them (no forward bone) -Hats based on date (for example for holidays) -Random option in the menu How to add new stuff: Code:
"HAT NAME" Where to get hats: The example config has about 30 hats. You can get the models from here: http://www.garrysmod.org/downloads/?a=view&id=97791 Also you can find awesome hats on http://garrysmod.org. Install: -sm_hats.sp goes to scripting -sm_hats.smx goes to plugins -hats.txt goes to configs -hats.gamedata.txt goes to gamedata What about downloads table? Use SM File/Folder Downloader and Precacher because it's awesome and it's way more nicer to have all your downloads handled by only one plugin. http://forums.alliedmods.net/showthread.php?t=69005 ConVars: sm_hats_remove 0/1 - Whether to remove hats on death Commands: sm_hats_default <category id> <model path> - Category ID is the number of the category in the hats.txt and it starts from 0 Changelog: 1.0.4c - Fixed a bug, Zombie Reloaded support 1.0.4b - Fixed a bug 1.0.4 - Crash fixed, thanks for Karnatos for pointing in the right direction, added new features 1.0.3 - Bug fixes, new feature 1.0.2 - Fixed a small bug again 1.0.1 - Fixed a small bug 1.0.0 -Initial release Is there anything else? http://images.sodahead.com/polls/001..._2_xlarge.jpeg |
Re: [ANY] Hats!
AwwwwwwSome, you rule!
Testing it immediatly. Edit: Works very well, just one thing, it doesn't reapear at each round, your must select a new hat at every round. |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
[SM] Native "PrintToChat" reported: String formatted incorrectly - parameter 3 (total 2)
[SM] Displaying call stack trace for plugin "sm_hats.smx": [SM] [0] Line 143, sm_hats.sp::Command_Hats() |
Re: [ANY] Hats!
Quote:
edit: also i probably fixed that next round thingy |
Re: [ANY] Hats!
Quote:
Also, since the plugin is installed on my server, sometimes players don't see their weapons, I'm testing with the update to say you if its repaired. |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
[Hats] Sorry, but the model you are using doesn't support hats.
Using default CT models. |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
Just tried using this http://techknowmodels.19.forumer.com...opic.php?t=395
and all the default models |
Re: [ANY] Hats!
Quote:
Do you think you coul'd add a "Random Hat" fonctionality in the menu? |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
Interesting.
Would it be possible to add a feature to enable certain hats based on the date. E.g. 24/12/xxxx and 25/12/xxxx everyone gets Santa Hat, on Halloween everyone gets something scary etc. I'd love to set this up for my server if it'd have an easy managable "hat per Holliday" feature. |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
is valve gonna block this?
|
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
Awsome job zeph, nice of you to share this private plugin :D
|
Re: [ANY] Hats!
ive updated gamedata, it should now work correctly on windows as well
|
Re: [ANY] Hats!
What if you don't want to use the download precacher? I saw some people complaining of bugs and what not.
Also had a few issues testing on my server:
|
Re: [ANY] Hats!
Very nice Job :D Thx for this Plugin.
Is it possible to force a hat for all players? |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
Quote:
Thank you for your effort :D |
Re: [ANY] Hats!
Only hat I installed was santa hat.
To download list: models/santahat/santahat.mdl Uploaded files to Fast DL and server. - It dowloads the files for everyone. -The files appear in my cstrike/models/santahat, and materials/models/santahat ETC. Still server showing hat as error. E: It downloads the model every time I join. I get it working by restarting CSS, but when rejoining again, it downloads it again and have to restart after every time I join :/ how to fix this download error? |
Re: [ANY] Hats!
Quote:
ducksducks |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
When im putting these in SM DOWNLOADER, it downloads the hats every fucking time again and again?
|
Re: [ANY] Hats!
no, it only downloads them once, except if you join an sv_pure 1/2 server, cause then the engine bug will occur
|
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
I have my own plugin that does this let me try to upload the configuration i've used all models from the game either is no download.
|
Re: [ANY] Hats!
Still I need help for the redownload error.. Sv pure is now 0 and it downloads it again.
|
Re: [ANY] Hats!
Heres my hat config for my plugin idk if its similar to your config but i have a few hats.
Code:
"HatConfig" |
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
Quote:
|
Re: [ANY] Hats!
That is a completely differennt plugin playpo, your gonna have to convert it to this plugin's config.
|
Re: [ANY] Hats!
Thanks for those other HL2 models Mitchell.
|
Re: [ANY] Hats!
I had this plugin on here with Mani admin skins. 20 minutes into having the hats mod on here, the server crashed. I check the sm error logs, i see nothing that is showing that hats is "malfunctioning". I then remove the hats mod, then the server is working fine. Is it possible mani skins and sm hats can work together?
|
Re: [ANY] Hats!
its not a very good idea to run both mani & sm. Switch to SM ;) way more stable.
|
Re: [ANY] Hats!
99.9% of professional servers that get real revenue are SourceMOD Servers.
|
Re: [ANY] Hats!
ok now i installed the plugin with one hat to test. Seemed to me no one cant download the cakehat model nor the kfc bucket. Can anyone help please?
|
All times are GMT -4. The time now is 06:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.