AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoD:S] Hats (https://forums.alliedmods.net/showthread.php?t=200468)

Root_ 11-09-2012 10:12

[DoD:S] Hats
 
2 Attachment(s)
What to say? It's hats. Hats are everywhere :D
This plugin is based on hats plugin by Silvers, so all the credits goes to him.

ConVars:
dod_hats_enable = Whether or not enable DoD:S Hats plugin
dod_hats_admflag = Add specified admin flag name or blank to allow all players access to the hats menu
dod_hats_opaque = How transparent or solid should the hats appear: 0 = Translucent, 255 = Opaque
dod_hats_random = Whether or not attach a random hat when player is respawning (saved hats will be ignored)
dod_hats_save = Whether or not save player's selected hats and attach when they spawn or rejoin the server

Commands:
sm_hat / sm_hats = Displays a menu of hats allowing players to change what they are wearing
sm_hatoff = Toggle to turn on or off the ability of wearing hats
sm_hatshow / sm_hatview = Reload hats configuration file

Admin commands ('z' flag is required):
sm_hatreload = Reload hats configuration file
sm_hatoffc / sm_hatblock = Toggle the ability of wearing hats on specific players
sm_hatc / sm_hatchange = Displays a menu listing players, select one to change their hat
sm_hatrandom / sm_hatrand = Randomizes all players hats
sm_hatadd = Adds specified model to the config (must be the full model path)
sm_hatdel / sm_hatdelete = Removes a model from the config (either by index or partial name matching)
sm_hatlist = Displays a list of all the hat models (for use with sm_hatdel)
sm_hatsave = Saves the hat position and angels to the hat config
sm_hatload / sm_hatforce = Changes all players hats to the one you have
sm_hatang / sm_hatangles = Shows a menu allowing you to adjust the hat angles (affects all hats/players)
sm_hatpos / sm_hatorigin = Shows a menu allowing you to adjust the hat position (affects all hats/players)
sm_hatsize = Shows a menu allowing you to adjust the hat size (affects all hats/players)

Requirements:
More Colors (for compilation)
Updater (to keep plugin always up-to-date and for compilation)

Adding hats:
-To add more hats in config go to addons/sourcemod/configs folder and open dod_hats.cfg file.
-If you will add hats ingame, make sure server have a custom (if avalible) hat model and (custom) model is downloaded & precached!

Notes:
-Only 64 hats are supported
-sm_hatshow/sm_hatview commands will toggle thirdperson view
-Admin flag may not work if you manage admins by sourcebans
-To edit hat size, hat position and angles I'd recommend to select hat, force to all clients and do stuff via appropriate commands
-Not all models can be resized!
-Plugin will ignore client preferences if dod_hats_random = 1

ToDo:
-Add categories, like glasses etc
-Add team restrictions
-Add more hats
-Other suggestions?

Other:
-You can get hats from garrysmod.org site. However 1/3 hats are unused from this pack
-You can download pack of used hats from here. And if you have a fastdownload url, upload this to your http server

Servers with this plugin

Download plugin
Browse source code

Powerlord 11-09-2012 10:28

Re: [DoD:S] Hats (beta)
 
Does the Hats plugin not work in DoD:S?

micazoid 11-09-2012 10:31

Re: [DoD:S] Hats (beta)
 
Cool. Finally Hats for the Axis ^^

I am glad, that you are still developing for DODS Root_

Where can I get the models, you have predefined in the hats.cfg? Would be nice, if you attache them


EDIT
Quote:

Other:
-You can get hats from garrysmod.org site. However 1/3 hats are unused from this pack
-You can download pack of used hats from here. And if you have a fastdownload url, upload this to your http server
-I've attached a downloader config. Put this in configs/ folder and set sm_downloader_normal 0; sm_downloader_simple 1
Sorry ^^

http://salesmomsnetwork.com/wp-conte...vs-300x224.gif

Root_ 11-09-2012 10:58

Re: [DoD:S] Hats (beta)
 
Powerlord that plugin is not working because DoD:S dont have an generic attachment 'forward'
Also I wanted a hats plugin with more functions :)
Quote:

Originally Posted by micazoid (Post 1835218)
I am glad, that you are still developing for DODS

You are welcome! Feel free to request something dods-related and i'll try to create a plugin while I have some time

Root_ 11-13-2012 17:35

Re: [DoD:S] Hats (beta)
 
4 Attachment(s)
Some screenshots

Leonardo 11-14-2012 03:46

Re: [DoD:S] Hats (beta)
 
add unusual effects %D

Happy DODs player 11-14-2012 13:33

Re: [DoD:S] Hats (beta)
 
Looks pretty sweet.,

Will install this on my Fun_server

benarnold 05-03-2013 19:23

Re: [DoD:S] Hats (beta)
 
Any updates on this plugin ?, I run it on my server until the last steam update now all hats are in strange position and it conflicting with parachute mod as well. Love this plugin
:wink:

Root_ 05-06-2013 09:32

Re: [DoD:S] Hats (beta)
 
benarnold, yeah I'll update this plugin soon... I just need beta testers to fix bugs

cushycush 07-05-2013 18:27

Re: [DoD:S] Hats (beta)
 
tnx root! this plugin works great for me just i need it so spectators can't have hats cuz when they use hats on spectate the spectated player has a hat blocking his vision sometimes.


All times are GMT -4. The time now is 10:18.

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