Raised This Month: $91 Target: $400
 22% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 11-27-2015 , 16:18   Re: [CS:GO] Hats (with editor menu and 3rd person)
Reply With Quote #11

In theory how well would this work with custom player models? Nice plugin!
__________________
sneaK is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-27-2015 , 18:15   Re: [CS:GO] Hats (with editor menu and 3rd person)
Reply With Quote #12

Quote:
Originally Posted by mazdarx8 View Post
Yes exactly
Already exist a store plugin for hats

Quote:
Originally Posted by rogeraabbccdd View Post
Great!
Santa hats for upcoming X'mas!
Yeah! Have fun and Merry Christmas

Quote:
Originally Posted by asdfxD View Post
when i die my mask is gone, is it normal?
Yes, the hats is removed on player death and reappear in player spawn

Quote:
Originally Posted by Lannister View Post
Posibility to add some mask just for admins/vips?

Or maybe that's too much? anyway, GOOD JOB!
I added it to the todo list

Quote:
Originally Posted by whtevrwt View Post
Your english is not bad at all.

Anyway, great plugin.
Really? I thought I had invented most of the words!

Quote:
Originally Posted by blackhawk74 View Post
In theory how well would this work with custom player models? Nice plugin!
This should work in custom player models, and maybe I will add support for differents angles and positions depending of the player models
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments


Last edited by Franc1sco; 11-27-2015 at 18:19.
Franc1sco is online now
Send a message via MSN to Franc1sco
SOBgaming
Senior Member
Join Date: Jul 2015
Old 11-27-2015 , 18:49   Re: [CS:GO] Hats (with editor menu and 3rd person)
Reply With Quote #13

Looking forward to the flags being added!
__________________
SOBgaming is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-28-2015 , 00:51   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.1
Reply With Quote #14

New 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

Download the new version in the first post
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments


Last edited by Franc1sco; 11-28-2015 at 00:54.
Franc1sco is online now
Send a message via MSN to Franc1sco
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 11-28-2015 , 03:00   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.1
Reply With Quote #15

Hey Franc1sco, I installed latest version (2.1) and everything seems to work fine, except for the masks appearing. No errors in the log, nothing. These are on default models. I have removed most plugins that would remotely affect it, including Store (skins) and cksurf entirely, yet the masks still do not appear. Any thoughts?

I have also tried the custom Santa Hat model and updated the config to reflect it, and it still does not appear.
__________________

Last edited by sneaK; 11-28-2015 at 03:09.
sneaK is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-28-2015 , 03:27   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.1
Reply With Quote #16

Quote:
Originally Posted by blackhawk74 View Post
Hey Franc1sco, I installed latest version (2.1) and everything seems to work fine, except for the masks appearing. No errors in the log, nothing. These are on default models. I have removed most plugins that would remotely affect it, including Store (skins) and cksurf entirely, yet the masks still do not appear. Any thoughts?

I have also tried the custom Santa Hat model and updated the config to reflect it, and it still does not appear.
Working in my server so surely you have something wrong in your server. Maybe you not have correctly installed the latest version of Dhooks. You can contact with me in steam for a better support.

Btw, I noticed that some people still using old versions of dhooks. Be sure that you deleted the previous version of dhooks in extensions directory with the file name dhooks.ext.2.csgo.so/dll and restart the server
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments


Last edited by Franc1sco; 11-28-2015 at 03:57.
Franc1sco is online now
Send a message via MSN to Franc1sco
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-28-2015 , 04:27   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #17

Ok seems that the gamedata for Windows is outdated so I removed gamedata dependency.

New 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.


Download the new version in the first post
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments


Last edited by Franc1sco; 11-28-2015 at 04:29.
Franc1sco is online now
Send a message via MSN to Franc1sco
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 11-28-2015 , 05:37   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #18

I added a lot of models in the second post and included the configuration for wings models
Quote:
Originally Posted by Franc1sco View Post
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"
	}
	"Cyan wings"
	{
		"model"		"models/shop/wings/cyan.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Green wings"
	{
		"model"		"models/shop/wings/green.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Red wings"
	{
		"model"		"models/shop/wings/red.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"White wings"
	{
		"model"		"models/shop/wings/white.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 1"
	{
		"model"		"models/shop/perfectworld_wings01_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 2"
	{
		"model"		"models/shop/perfectworld_wings02_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 3"
	{
		"model"		"models/shop/perfectworld_wings03_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 4"
	{
		"model"		"models/shop/perfectworld_wings04_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 5"
	{
		"model"		"models/shop/perfectworld_wings05_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 6"
	{
		"model"		"models/shop/perfectworld_wings06_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 7"
	{
		"model"		"models/shop/perfectworld_wings07_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 8"
	{
		"model"		"models/shop/perfectworld_wings08_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
	"Perfectworld wings 9"
	{
		"model"		"models/shop/perfectworld_wings09_v3.mdl"
		"position"		"-1.500000 -6.500000 -11.500000"
		"angles"		"-65.000000 170.000000 0.000000"
	}
Screenshots:



Download wings models HERE


Download accessoriespack from gmod HERE
__________________
Veteran SourceMod Coder -> Activity channel
I am available for participate on communities for free -> INFO

You like my work? Drop a +Rep in my steam profile comments

Franc1sco is online now
Send a message via MSN to Franc1sco
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 11-28-2015 , 06:09   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #19

Can I add this wings to the store plugin too ?
mazdarx8 is offline
gamemann
Veteran Member
Join Date: Sep 2009
Location: San Antonio, Texas
Old 11-28-2015 , 10:42   Re: [CS:GO] Hats (with editor menu and 3rd person) v2.2
Reply With Quote #20

Hello, I've added a couple new features to the plugin that I would like to share.

Changes
  • Added one new ConVar (see below).
  • Added a translation file.
  • Improved the flags system.
  • Fixed a crash with bots.
* I compiled this plugin using Multi-Colors. Therefore, you can use {darkred}, etc in the translation file.

ConVars
sm_franughats_thirdperson - Enable/disable third-person while using "sm_hats" or "sm_editor" (Default: 1).

Compile Requirements
I've tested this modified plugin on my home server that runs on Windows. Everything appeared to be working fine.

Thank you for the plugin, Franc1sco.

Please report any issues with this modified version to me.

Thanks.
Attached Files
File Type: txt franughats.phrases.txt (447 Bytes, 184 views)
File Type: sp Get Plugin or Get Source (franug_hats.sp - 157 views - 16.7 KB)
File Type: smx franug_hats.smx (32.6 KB, 156 views)
__________________

Click here for my GitHub page!

Last edited by gamemann; 11-28-2015 at 12:04.
gamemann is offline
Send a message via Skype™ to gamemann
Reply


Thread Tools
Display Modes

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 08:38.


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