AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Hats! (Version 1.0.4c - 2/19/2012) (https://forums.alliedmods.net/showthread.php?t=174714)

Zephyrus 12-24-2011 05:32

[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"
    {
            "model"        "MODEL PATH RELATIVE TO CSTRIKE"
            "position"    "<x> <y> <z>"
            "angles"    "<pitch> <yaw> <roll>"
            "flag"  "LEAVE THIS BLANK TO MAKE IT PUBLIC"
            "team" "<0=All/2=Terrorist/3=Counter-Terrorist>
    }


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

secu2 12-24-2011 06:05

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.

Zephyrus 12-24-2011 07:34

Re: [ANY] Hats!
 
Quote:

Originally Posted by secu2 (Post 1618784)
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.

hmm it should

poppin-fresh 12-24-2011 07:39

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()

Zephyrus 12-24-2011 07:43

Re: [ANY] Hats!
 
Quote:

Originally Posted by poppin-fresh (Post 1618818)
[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()

oh, lame, fixed:3

edit: also i probably fixed that next round thingy

secu2 12-24-2011 08:35

Re: [ANY] Hats!
 
Quote:

Originally Posted by Zephyrus (Post 1618819)
oh, lame, fixed:3

edit: also i probably fixed that next round thingy

Yes, its repaired.
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.

Zephyrus 12-24-2011 08:39

Re: [ANY] Hats!
 
Quote:

Originally Posted by secu2 (Post 1618845)
Yes, its repaired.
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.

:shock: ive been using different hats plugins for half a year now and i havent experienced that ever

poppin-fresh 12-24-2011 08:41

Re: [ANY] Hats!
 
[Hats] Sorry, but the model you are using doesn't support hats.
Using default CT models.

Zephyrus 12-24-2011 08:42

Re: [ANY] Hats!
 
Quote:

Originally Posted by poppin-fresh (Post 1618851)
[Hats] Sorry, but the model you are using doesn't support hats.
Using default CT models.

yeah, thats normal, 2 out of 4 stock models dont support them, but most custom models do

poppin-fresh 12-24-2011 08:45

Re: [ANY] Hats!
 
Just tried using this http://techknowmodels.19.forumer.com...opic.php?t=395
and all the default models

secu2 12-24-2011 08:59

Re: [ANY] Hats!
 
Quote:

Originally Posted by Zephyrus (Post 1618847)
:shock: ive been using different hats plugins for half a year now and i havent experienced that ever

I think the problem doesn't comes from your plugin, but after updating it, it doesn't seems to appear anymore.

Do you think you coul'd add a "Random Hat" fonctionality in the menu?

Zephyrus 12-24-2011 09:01

Re: [ANY] Hats!
 
Quote:

Originally Posted by secu2 (Post 1618869)
I think the problem doesn't comes from your plugin, but after updating it, it doesn't seems to appear anymore.

Do you think you coul'd add a "Random Hat" fonctionality in the menu?

i guess, ill look into it later im eating gingerbread like a boss atm

LaMuerteInHell 12-24-2011 09:13

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.

Zephyrus 12-24-2011 09:14

Re: [ANY] Hats!
 
Quote:

Originally Posted by LaMuerteInHell (Post 1618878)
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.

yup this is possible as well

databomb 12-24-2011 09:29

Re: [ANY] Hats!
 
Quote:

Originally Posted by Zephyrus (Post 1618870)
i guess, ill look into it later im eating gingerbread like a boss atm

I've seen the weapon model disappearing on my server as well (with similar plugins) and believe it is an issue within SDK Hooks. It occurs randomly and doesn't cause enough of a problem to warrant hunting it down.

Leonardo 12-24-2011 10:08

Re: [ANY] Hats!
 
is valve gonna block this?

Zephyrus 12-24-2011 10:12

Re: [ANY] Hats!
 
Quote:

Originally Posted by Leonardo (Post 1618894)
is valve gonna block this?

probably not, this is for css and hl2dm (and probably works on dod and every other ob game, i havent tried), it wont work with tf2

Groger 12-24-2011 14:50

Re: [ANY] Hats!
 
Awsome job zeph, nice of you to share this private plugin :D

Zephyrus 12-24-2011 19:07

Re: [ANY] Hats!
 
ive updated gamedata, it should now work correctly on windows as well

daleGEND 12-25-2011 12:52

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:
  • The hats would sometimes be unavailable randomly through the round.
  • During the end of the round some hats would go flying off users and go into the air.
  • Some people could download the hats with the plugin you suggested while others could not.
I would appreciate it if the plugin supported it's own download system so we don't need another plugin to manage something with this one. Also having the hats be consistent and not randomly work.

HSFighter 12-26-2011 15:50

Re: [ANY] Hats!
 
Very nice Job :D Thx for this Plugin.


Is it possible to force a hat for all players?

Zephyrus 12-26-2011 15:53

Re: [ANY] Hats!
 
Quote:

Originally Posted by HSFighter (Post 1620069)
Very nice Job :D Thx for this Plugin.


Is it possible to force a hat for all players?

I can add that as well when I get to it.

HSFighter 12-26-2011 16:00

Re: [ANY] Hats!
 
Quote:

Originally Posted by Zephyrus (Post 1620070)
I can add that as well when I get to it.

This will be very nice.
Thank you for your effort :D

imteme 12-26-2011 21:13

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?

Afronanny 12-27-2011 02:45

Re: [ANY] Hats!
 
Quote:

Originally Posted by imteme (Post 1620233)
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?

It redownloads the file every time because the download is somehow failing. You see the Error because the model cannot be loaded, probably because of a corrupt file or incomplete download. If the model shows up but it still downloads it every time, then it's not really a problem.
ducksducks

secu2 12-27-2011 06:40

Re: [ANY] Hats!
 
Quote:

Originally Posted by johnbill1236 (Post 1620335)
Yes, its repaired.
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.

I had the problem, but it doesn't shows anymore since i updated the plugin, I think it's linked to the first error that was fixed (See first posts)

imteme 12-27-2011 07:19

Re: [ANY] Hats!
 
When im putting these in SM DOWNLOADER, it downloads the hats every fucking time again and again?

Zephyrus 12-27-2011 08:55

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

imteme 12-27-2011 12:34

Re: [ANY] Hats!
 
Quote:

Originally Posted by Zephyrus (Post 1620455)
no, it only downloads them once, except if you join an sv_pure 1/2 server, cause then the engine bug will occur

I have sv_pure 1 but Ive whitelisted all the hats.

Mitchell 12-27-2011 12:36

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.

imteme 12-27-2011 13:32

Re: [ANY] Hats!
 
Still I need help for the redownload error.. Sv pure is now 0 and it downloads it again.

Mitchell 12-27-2011 16:09

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"
{
    "Melon"
    {
        "model"        "models/props_junk/watermelon01.mdl"
        "offset"    "0 0 5"
        "angles"    "0 -90 -90"
        "apos"        "1"
        "credits"    "1000"
    }
    "Crate"
    {
        "model"        "models/Items/item_item_crate.mdl"
        "offset"    "0 0 -4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "100"
    }
    "USA Hat"
    {
        "model"        "models/props/cs_office/snowman_hat.mdl"
        "offset"    "-3.2 0 5.2"
        "angles"    "0 90 -25"
        "apos"        "1"
        "credits"    "1000"
    }
    "Tides Hat"
    {
        "model"        "models\props\de_tides\vending_hat.mdl"
        "offset"    "-3.2 0 5.2"
        "angles"    "0 90 -25"
        "apos"        "1"
        "credits"    "1000"
    }
    "Snowman Face"
    {
        "model"        "models/props/cs_office/snowman_face.mdl"
        "offset"    "0 0 3"
        "angles"    "0 -90 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Chef Hat"
    {
        "model"        "models/chefhat.mdl"
        "offset"    "-2 0 6"
        "angles"    "0 180 0"
        "apos"        "1"
        "credits"    "2000"
    }
    "Lamp Shade"
    {
        "model"        "models/props_c17/lampShade001a.mdl"
        "offset"    "-1 0 5"
        "angles"    "0 10 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Radio Head"
    {
        "model"        "models/props_lab/citizenradio.mdl"
        "offset"    "0 0 -4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Cone"
    {
        "model"        "models/props_junk/TrafficCone001a.mdl"
        "offset"    "-1 0 19"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Head Crab"
    {
        "model"        "models/headcrabclassic.mdl"
        "offset"    "1 0 -5"
        "angles"    "25 0 0"
        "apos"        "1"
        "credits"    "10000"
    }
    "Helmet"
    {
        "model"        "models/BarneyHelmet_faceplate.mdl"
        "offset"    "-1.5 0 2"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Crow"
    {
        "model"        "models/Crow.mdl"
        "offset"    "0 0 5"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "1000"
    }
    "Pot"
    {
        "model"        "models/props_junk/terracotta01.mdl"
        "offset"    "2 0 10"
        "angles"    "200 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Antlion"
    {
        "model"        "models/Gibs/Antlion_gib_Large_2.mdl"
        "offset"    "2 0 4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Monitor"
    {
        "model"        "models/props_lab/monitor01a.mdl"
        "offset"    "-5 0 6"
        "angles"    "25 0 0"
        "credits"    "5000"
        "apos"        "1"
    }
    "Scanner"
    {
        "model"        "models/Combine_Scanner.mdl"
        "offset"    "-5 0 0"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Skull"
    {
        "model"        "models/gibs/hgibs.mdl"
        "offset"    "0.7 0 1.8"
        "angles"    "22.5 0 0"
        "apos"        "1"
        "credits"    "2500"
    }
    "Turtle"
    {
        "model"        "models/props/de_tides/vending_turtle.mdl"
        "offset"    "-1 0 7"
        "angles"    "0 -90 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "TV Monitor"
    {
        "model"        "models/props_c17/tv_monitor01.mdl"
        "offset"    "-2 2 3"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "T"
    {
        "model"        "models/props_rooftop/sign_letter_t001.mdl"
        "offset"    "0 0 0"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "1000"
    }
    //HAND

    "Radio Hand"
    {
        "model"        "models/props/cs_office/radio.mdl"
        "offset"    "5 -11 -1"
        "angles"    "0 0 -90"
        "apos"        "2"
        "credits"    "5000"
    }
    "Bottle"
    {
        "model"        "models/props_junk/glassbottle01a.mdl"
        "offset"    "4 -2 5"
        "angles"    "0 0 0"
        "apos"        "2"
        "credits"    "2500"
    }
    "Crowbar"
    {
        "model"        "models/weapons/w_crowbar.mdl"
        "offset"    "8 0 5"
        "angles"    "50 190 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Baton"
    {
        "model"        "models/weapons/w_stunbaton.mdl"
        "offset"    "8 0 5"
        "angles"    "50 190 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Axe"
    {
        "model"        "models/props/cs_militia/axe.mdl"
        "offset"    "10 -4 8"
        "angles"    "45 -15 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Fish"
    {
        "model"        "models\props\cs_militia\fishriver01.mdl"
        "offset"    "6 -2 0"
        "angles"    "10 -25 0"
        "apos"        "2"
        "credits"    "1000"
    }
    "Turtle Hand"
    {
        "model"        "models/props/de_tides/vending_turtle.mdl"
        "offset"    "3.5 -5 2"
        "angles"    "-90 -90 0"
        "apos"        "2"
        "credits"    "5000"
    }
    "Newspaper"
    {
        "model"        "models/props_junk/garbage_newspaper001a.mdl"
        "offset"    "12 -6 6"
        "angles"    "-10 -25 90"
        "apos"        "2"
        "credits"    "1000"
    }
}


secu2 12-27-2011 16:42

Re: [ANY] Hats!
 
Quote:

Originally Posted by Mitchell (Post 1620641)
Heres my hat config for my plugin idk if its similar to your config but i have a few hats.

Code:

"HatConfig"
{
    "Melon"
    {
        "model"        "models/props_junk/watermelon01.mdl"
        "offset"    "0 0 5"
        "angles"    "0 -90 -90"
        "apos"        "1"
        "credits"    "1000"
    }
    "Crate"
    {
        "model"        "models/Items/item_item_crate.mdl"
        "offset"    "0 0 -4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "100"
    }
    "USA Hat"
    {
        "model"        "models/props/cs_office/snowman_hat.mdl"
        "offset"    "-3.2 0 5.2"
        "angles"    "0 90 -25"
        "apos"        "1"
        "credits"    "1000"
    }
    "Tides Hat"
    {
        "model"        "models\props\de_tides\vending_hat.mdl"
        "offset"    "-3.2 0 5.2"
        "angles"    "0 90 -25"
        "apos"        "1"
        "credits"    "1000"
    }
    "Snowman Face"
    {
        "model"        "models/props/cs_office/snowman_face.mdl"
        "offset"    "0 0 3"
        "angles"    "0 -90 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Chef Hat"
    {
        "model"        "models/chefhat.mdl"
        "offset"    "-2 0 6"
        "angles"    "0 180 0"
        "apos"        "1"
        "credits"    "2000"
    }
    "Lamp Shade"
    {
        "model"        "models/props_c17/lampShade001a.mdl"
        "offset"    "-1 0 5"
        "angles"    "0 10 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Radio Head"
    {
        "model"        "models/props_lab/citizenradio.mdl"
        "offset"    "0 0 -4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Cone"
    {
        "model"        "models/props_junk/TrafficCone001a.mdl"
        "offset"    "-1 0 19"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Head Crab"
    {
        "model"        "models/headcrabclassic.mdl"
        "offset"    "1 0 -5"
        "angles"    "25 0 0"
        "apos"        "1"
        "credits"    "10000"
    }
    "Helmet"
    {
        "model"        "models/BarneyHelmet_faceplate.mdl"
        "offset"    "-1.5 0 2"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Crow"
    {
        "model"        "models/Crow.mdl"
        "offset"    "0 0 5"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "1000"
    }
    "Pot"
    {
        "model"        "models/props_junk/terracotta01.mdl"
        "offset"    "2 0 10"
        "angles"    "200 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Antlion"
    {
        "model"        "models/Gibs/Antlion_gib_Large_2.mdl"
        "offset"    "2 0 4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Monitor"
    {
        "model"        "models/props_lab/monitor01a.mdl"
        "offset"    "-5 0 6"
        "angles"    "25 0 0"
        "credits"    "5000"
        "apos"        "1"
    }
    "Scanner"
    {
        "model"        "models/Combine_Scanner.mdl"
        "offset"    "-5 0 0"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Skull"
    {
        "model"        "models/gibs/hgibs.mdl"
        "offset"    "0.7 0 1.8"
        "angles"    "22.5 0 0"
        "apos"        "1"
        "credits"    "2500"
    }
    "Turtle"
    {
        "model"        "models/props/de_tides/vending_turtle.mdl"
        "offset"    "-1 0 7"
        "angles"    "0 -90 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "TV Monitor"
    {
        "model"        "models/props_c17/tv_monitor01.mdl"
        "offset"    "-2 2 3"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "T"
    {
        "model"        "models/props_rooftop/sign_letter_t001.mdl"
        "offset"    "0 0 0"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "1000"
    }
    //HAND

    "Radio Hand"
    {
        "model"        "models/props/cs_office/radio.mdl"
        "offset"    "5 -11 -1"
        "angles"    "0 0 -90"
        "apos"        "2"
        "credits"    "5000"
    }
    "Bottle"
    {
        "model"        "models/props_junk/glassbottle01a.mdl"
        "offset"    "4 -2 5"
        "angles"    "0 0 0"
        "apos"        "2"
        "credits"    "2500"
    }
    "Crowbar"
    {
        "model"        "models/weapons/w_crowbar.mdl"
        "offset"    "8 0 5"
        "angles"    "50 190 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Baton"
    {
        "model"        "models/weapons/w_stunbaton.mdl"
        "offset"    "8 0 5"
        "angles"    "50 190 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Axe"
    {
        "model"        "models/props/cs_militia/axe.mdl"
        "offset"    "10 -4 8"
        "angles"    "45 -15 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Fish"
    {
        "model"        "models\props\cs_militia\fishriver01.mdl"
        "offset"    "6 -2 0"
        "angles"    "10 -25 0"
        "apos"        "2"
        "credits"    "1000"
    }
    "Turtle Hand"
    {
        "model"        "models/props/de_tides/vending_turtle.mdl"
        "offset"    "3.5 -5 2"
        "angles"    "-90 -90 0"
        "apos"        "2"
        "credits"    "5000"
    }
    "Newspaper"
    {
        "model"        "models/props_junk/garbage_newspaper001a.mdl"
        "offset"    "12 -6 6"
        "angles"    "-10 -25 90"
        "apos"        "2"
        "credits"    "1000"
    }
}


Nice Thx

playpo 01-02-2012 10:22

Re: [ANY] Hats!
 
Quote:

Originally Posted by Mitchell (Post 1620641)
Heres my hat config for my plugin idk if its similar to your config but i have a few hats.

Code:

"HatConfig"
{
    "Melon"
    {
        "model"        "models/props_junk/watermelon01.mdl"
        "offset"    "0 0 5"
        "angles"    "0 -90 -90"
        "apos"        "1"
        "credits"    "1000"
    }
    "Crate"
    {
        "model"        "models/Items/item_item_crate.mdl"
        "offset"    "0 0 -4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "100"
    }
    "USA Hat"
    {
        "model"        "models/props/cs_office/snowman_hat.mdl"
        "offset"    "-3.2 0 5.2"
        "angles"    "0 90 -25"
        "apos"        "1"
        "credits"    "1000"
    }
    "Tides Hat"
    {
        "model"        "models\props\de_tides\vending_hat.mdl"
        "offset"    "-3.2 0 5.2"
        "angles"    "0 90 -25"
        "apos"        "1"
        "credits"    "1000"
    }
    "Snowman Face"
    {
        "model"        "models/props/cs_office/snowman_face.mdl"
        "offset"    "0 0 3"
        "angles"    "0 -90 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Chef Hat"
    {
        "model"        "models/chefhat.mdl"
        "offset"    "-2 0 6"
        "angles"    "0 180 0"
        "apos"        "1"
        "credits"    "2000"
    }
    "Lamp Shade"
    {
        "model"        "models/props_c17/lampShade001a.mdl"
        "offset"    "-1 0 5"
        "angles"    "0 10 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Radio Head"
    {
        "model"        "models/props_lab/citizenradio.mdl"
        "offset"    "0 0 -4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Cone"
    {
        "model"        "models/props_junk/TrafficCone001a.mdl"
        "offset"    "-1 0 19"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "7500"
    }
    "Head Crab"
    {
        "model"        "models/headcrabclassic.mdl"
        "offset"    "1 0 -5"
        "angles"    "25 0 0"
        "apos"        "1"
        "credits"    "10000"
    }
    "Helmet"
    {
        "model"        "models/BarneyHelmet_faceplate.mdl"
        "offset"    "-1.5 0 2"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Crow"
    {
        "model"        "models/Crow.mdl"
        "offset"    "0 0 5"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "1000"
    }
    "Pot"
    {
        "model"        "models/props_junk/terracotta01.mdl"
        "offset"    "2 0 10"
        "angles"    "200 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Antlion"
    {
        "model"        "models/Gibs/Antlion_gib_Large_2.mdl"
        "offset"    "2 0 4"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Monitor"
    {
        "model"        "models/props_lab/monitor01a.mdl"
        "offset"    "-5 0 6"
        "angles"    "25 0 0"
        "credits"    "5000"
        "apos"        "1"
    }
    "Scanner"
    {
        "model"        "models/Combine_Scanner.mdl"
        "offset"    "-5 0 0"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "Skull"
    {
        "model"        "models/gibs/hgibs.mdl"
        "offset"    "0.7 0 1.8"
        "angles"    "22.5 0 0"
        "apos"        "1"
        "credits"    "2500"
    }
    "Turtle"
    {
        "model"        "models/props/de_tides/vending_turtle.mdl"
        "offset"    "-1 0 7"
        "angles"    "0 -90 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "TV Monitor"
    {
        "model"        "models/props_c17/tv_monitor01.mdl"
        "offset"    "-2 2 3"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "5000"
    }
    "T"
    {
        "model"        "models/props_rooftop/sign_letter_t001.mdl"
        "offset"    "0 0 0"
        "angles"    "0 0 0"
        "apos"        "1"
        "credits"    "1000"
    }
    //HAND
 
    "Radio Hand"
    {
        "model"        "models/props/cs_office/radio.mdl"
        "offset"    "5 -11 -1"
        "angles"    "0 0 -90"
        "apos"        "2"
        "credits"    "5000"
    }
    "Bottle"
    {
        "model"        "models/props_junk/glassbottle01a.mdl"
        "offset"    "4 -2 5"
        "angles"    "0 0 0"
        "apos"        "2"
        "credits"    "2500"
    }
    "Crowbar"
    {
        "model"        "models/weapons/w_crowbar.mdl"
        "offset"    "8 0 5"
        "angles"    "50 190 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Baton"
    {
        "model"        "models/weapons/w_stunbaton.mdl"
        "offset"    "8 0 5"
        "angles"    "50 190 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Axe"
    {
        "model"        "models/props/cs_militia/axe.mdl"
        "offset"    "10 -4 8"
        "angles"    "45 -15 -90"
        "apos"        "2"
        "credits"    "2500"
    }
    "Fish"
    {
        "model"        "models\props\cs_militia\fishriver01.mdl"
        "offset"    "6 -2 0"
        "angles"    "10 -25 0"
        "apos"        "2"
        "credits"    "1000"
    }
    "Turtle Hand"
    {
        "model"        "models/props/de_tides/vending_turtle.mdl"
        "offset"    "3.5 -5 2"
        "angles"    "-90 -90 0"
        "apos"        "2"
        "credits"    "5000"
    }
    "Newspaper"
    {
        "model"        "models/props_junk/garbage_newspaper001a.mdl"
        "offset"    "12 -6 6"
        "angles"    "-10 -25 90"
        "apos"        "2"
        "credits"    "1000"
    }
}


How do I use a hatconfig file? i don`t no.... Other plugin do? Please tell me how to use..

Mitchell 01-02-2012 10:45

Re: [ANY] Hats!
 
That is a completely differennt plugin playpo, your gonna have to convert it to this plugin's config.

Fearts 01-02-2012 11:22

Re: [ANY] Hats!
 
Thanks for those other HL2 models Mitchell.

DjRicki 01-02-2012 22:38

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?

Groger 01-03-2012 05:17

Re: [ANY] Hats!
 
its not a very good idea to run both mani & sm. Switch to SM ;) way more stable.

Mitchell 01-03-2012 11:22

Re: [ANY] Hats!
 
99.9% of professional servers that get real revenue are SourceMOD Servers.

DjRicki 01-04-2012 20:42

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.