[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 |
All times are GMT -4. The time now is 20:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.