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

[CS:GO] Hats (with editor menu and 3rd person)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4923
Plugin Version:
3.3.3
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
    14 
    Plugin Description:
    Hats plugin with editor menu and 3rd person
    Old 11-26-2015 , 23:25   [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #1

    Demostration video:


    btw, not laugh much of my horrible speaking english xD

    Test server:


    Description

    Hats plugin with these features:
    • All the default csgo hats included (not download needed)
    • Auto download custom hats files
    • 3rd person camera (with front-view) when you have the !hats menu or the !editor menu opened (for can see your hat)
    • Advanced editor for change the position and angle of the hat and save it in the file
    • Your hat selection is saved using clientprefs
    • On the model change event, you hats are refreshed (Compatible with skinchooser plugins, zombie servers, etc)


    Requeriments:

    Dhooks


    Configuration:

    You can add more hats in the addons/sourcemod/configs/franug_hats.txt file with this format
    Code:
    	"Hat name"
    	{
    		"model"		"hat route"
    		"attachment"		"attachment used from the model, for example facemask or forward. (facemask by default)"
    		"position"		"hat position"
    		"angles"		"hat angles"
    		"bonemerge"		"Bonemerge hat to the playermodel. Enabled = 1. Disabled = 0 (default = 0)"
    		"flag"		"admin flag required for use this model. Leave in blank for public access (public access by default)"
    		"hide"		"Hide hat model in first person view. Enabled = 1. Disabled and less cpu usage = 0 (default = 1)"
    	}
    Example:
    Code:
    	"White wings"
    	{
    		"model"		"models/shop/wings/white.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Santa"
    	{
    
    		"model"		"models/player/holiday/santahat.mdl"
    		"attachment"		"facemask"
    		"position"		"-1.500000 -4.500000 0.000000"
    		"angles"		"-2.500000 12.500000 13.000000"
    		"flag"		"b"
    	}

    Cvars:
    Put in server.cfg
    Code:
    sm_franughats_thirdperson "1" // Enable/disable third-person while using "sm_hats" or "sm_editor"

    Commands:

    !hats - open the hats menu
    !editor - open the editor menu for change the angle and position of the a hat (Root admin flag required)
    !reloadhats - Reload hats configuration. You should change map if you add new hats models (Root admin flag required)


    Todo list:

    -More optimized


    Changelog:

    Code:
    Version 3.2
    • -Hide radar on third-person view
    • -Hide crosshair on third-person view
    Version 3.1
    • -Added support for differents angles and positions depending of the player models
    • -Some fixes
    Version 3.0
    • -Now the plugin use the New API and Syntax
    Version 2.4.1
    • -Fixed some small issues
    Version 2.4
    • -Fixed finally the crashes with bots
    • -Optimizations
    Version 2.3
    • -Optimizations in the SDKHook_SetTransmit function.
    • -Added new "hide" value to the configuration file for dont use SDKHook_SetTransmit if not needed (less cpu usage). Check it in the example of the first post.
    • -Added one new ConVar (see below).
    • -Added a translation file.
    • -Improved the flags system.
    • -Fixed a crash with bots.
    • -New cvar sm_franughats_thirdperson "1" - Enable/disable third-person while using "sm_hats" or "sm_editor"
    Version 2.2
    • -Removed gamedata dependency and now the plugin works in Windows servers too.
    • -Fixed that sometimes the hat not appear in player spawn.
    Version 2.1
    • -A lot of optimizations
    • -Now on the model change event, you hats are refreshed (Compatible with skinchooser plugins, zombie servers, etc)
    • -Added flag support for each hat (see the example cfg in the first post)
    • -Fixed some bugs
    • -Now the 3rd person camera have front-view support always
    • -Added new command !reloadhats - Reload hats configuration. You should change map if you add new hats models (Root admin flag required)
    • Now Dhooks is required

    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Download:

    Main repository
    Direct download
    Code changes
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 04-13-2019 at 11:06.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-26-2015 , 23:25   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #2

    Reserved for custom hats

    Santa hat configuration:
    Code:
    	"Santa hat"
    	{
    		"model"		"models/player/holiday/santahat.mdl"
    		"position"		"-1.500000 -4.500000 0.000000"
    		"angles"		"-2.500000 12.500000 13.000000"
    	}
    Screenshots:
    Not download required for CS:GO


    Wings hats configuration:
    Code:
    	"Blue wings"
    	{
    		"model"		"models/shop/wings/blue.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Cyan wings"
    	{
    		"model"		"models/shop/wings/cyan.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Green wings"
    	{
    		"model"		"models/shop/wings/green.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Red wings"
    	{
    		"model"		"models/shop/wings/red.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"White wings"
    	{
    		"model"		"models/shop/wings/white.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 1"
    	{
    		"model"		"models/shop/perfectworld_wings01_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 2"
    	{
    		"model"		"models/shop/perfectworld_wings02_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 3"
    	{
    		"model"		"models/shop/perfectworld_wings03_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 4"
    	{
    		"model"		"models/shop/perfectworld_wings04_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 5"
    	{
    		"model"		"models/shop/perfectworld_wings05_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 6"
    	{
    		"model"		"models/shop/perfectworld_wings06_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 7"
    	{
    		"model"		"models/shop/perfectworld_wings07_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 8"
    	{
    		"model"		"models/shop/perfectworld_wings08_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    	"Perfectworld wings 9"
    	{
    		"model"		"models/shop/perfectworld_wings09_v3.mdl"
    		"position"		"-1.500000 -6.500000 -11.500000"
    		"angles"		"-65.000000 170.000000 0.000000"
    		"hide"		"0"
    	}
    Screenshots:

    Download wings models HERE



    Download accessoriespack from gmod HERE
    Attached Files
    File Type: zip christmas_hat.zip (542.5 KB, 2027 views)
    File Type: zip accessoriespack.zip (6.27 MB, 2925 views)
    File Type: zip wings.zip (7.40 MB, 3883 views)
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 12-01-2015 at 09:40.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-26-2015 , 23:55   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #3

    Ok finally my demostration video have been uploaded to youtube sucessfully! Maybe after now I will upload demostration videos to my plugins and maybe using my horrible speaking english too!

    Demostration video:


    btw, not laugh much of my horrible speaking english xD
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-27-2015 at 00:12.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    mazdarx8
    Veteran Member
    Join Date: Aug 2014
    Old 11-27-2015 , 01:09   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #4

    hey,
    maybe you can do the mask for store available?
    mazdarx8 is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-27-2015 , 01:18   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #5

    Quote:
    Originally Posted by mazdarx8 View Post
    hey,
    maybe you can do the mask for store available?
    You mean do this plugin for the store plugin like this?
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 11-27-2015 at 01:19.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    mazdarx8
    Veteran Member
    Join Date: Aug 2014
    Old 11-27-2015 , 01:33   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #6

    Yes exactly
    mazdarx8 is offline
    rogeraabbccdd
    Veteran Member
    Join Date: Jun 2015
    Location: de_dust2
    Old 11-27-2015 , 06:13   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #7

    Great!
    Santa hats for upcoming X'mas!
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't try to Google first.
    I only read messages in Chinese and English.

    GitHub | Discord:Kento#2118
    rogeraabbccdd is offline
    asdfxD
    Veteran Member
    Join Date: Apr 2011
    Old 11-27-2015 , 06:30   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #8

    when i die my mask is gone, is it normal?

    Last edited by asdfxD; 11-27-2015 at 06:37.
    asdfxD is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 11-27-2015 , 09:11   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #9

    Posibility to add some mask just for admins/vips?

    Or maybe that's too much? anyway, GOOD JOB!
    Lannister is offline
    whtevrwt
    AlliedModders Donor
    Join Date: Apr 2015
    Old 11-27-2015 , 11:18   Re: [CS:GO] Hats (with editor menu and 3rd person)
    Reply With Quote #10

    Your english is not bad at all.

    Anyway, great plugin.
    __________________
    whtevrwt 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 10:34.


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