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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-21-2015 , 03:25   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #101

New version 3.1

-Added support for differents angles and positions depending of the
player models. Use !editor for it.
-Some fixes

Code changes: https://github.com/Franc1sco/Franug-...283ca592b3ee26
Download here: https://github.com/Franc1sco/Franug-...ive/master.zip
__________________
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.

Franc1sco is offline
Send a message via MSN to Franc1sco
Dim_oK
AlliedModders Donor
Join Date: Feb 2011
Location: Mother Russia
Old 12-21-2015 , 03:30   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #102

Great plugin) Could you add support ZR, What would the zombies could not wear hats?

__________________
Sorry for my bad english

Last edited by Dim_oK; 12-21-2015 at 04:02.
Dim_oK is offline
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 12-21-2015 , 04:26   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #103

Quote:
Originally Posted by Dim_oK View Post
Great plugin) Could you add support ZR, What would the zombies could not wear hats?

Use !editor
__________________

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
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-21-2015 , 08:58   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #104

Update: https://github.com/Franc1sco/Franug-...3dd838ee4dd957

-Player can't move in third-person camera.
-Added Traditional Chinese (zho) Translate.

Thanks to @rogeraabbccdd for contribute in the plugin

All people are welcome to make pull request to contribute in the plugin
__________________
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-21-2015 at 08:58.
Franc1sco is offline
Send a message via MSN to Franc1sco
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 12-21-2015 , 09:09   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #105

Quote:
Originally Posted by Franc1sco View Post
Update: https://github.com/Franc1sco/Franug-...3dd838ee4dd957

-Player can't move in third-person camera.
-Added Traditional Chinese (zho) Translate.

Thanks to @rogeraabbccdd for contribute in the plugin

All people are welcome to make pull request to contribute in the plugin
Known bug:

If player use !hats when they are dead, they can't move camera after they close the menu.
__________________

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
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-21-2015 , 09:18   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #106

Quote:
Originally Posted by rogeraabbccdd View Post
Known bug:

If player use !hats when they are dead, they can't move camera after they close the menu.
Now probably fixed: https://github.com/Franc1sco/Franug-...e8b51f9ae3d8c0
__________________
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.

Franc1sco is offline
Send a message via MSN to Franc1sco
rogeraabbccdd
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 12-21-2015 , 09:32   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #107

Quote:
Originally Posted by Franc1sco View Post
Fixed!
__________________

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
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 12-21-2015 , 14:44   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #108

I tried to make hats position for all T leet players
So i changed
Code:
StrEqual(Items[Name], buscado)
To
Code:
StrContains(Items[Name], buscado) != -1
On line 406,798,872,952

And on 1083 To
Code:
StrContains(temp, model) != -1
Then in config file

Code:
"3D glasses"
{
	"model"		"models/player/holiday/facemasks/facemask_anaglyph.mdl"
	"leet"
	{
		"position"		"0.000000 0.500000 1.500000"
		"angles"		"-15.000000 1.000000 -2.500000"
	}
}
And it don't work

Last edited by Indarello; 12-21-2015 at 14:45.
Indarello is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-21-2015 , 17:59   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #109

Quote:
Originally Posted by Indarello View Post
I tried to make hats position for all T leet players
So i changed
Code:
StrEqual(Items[Name], buscado)
To
Code:
StrContains(Items[Name], buscado) != -1
On line 406,798,872,952

And on 1083 To
Code:
StrContains(temp, model) != -1
Then in config file

Code:
"3D glasses"
{
	"model"		"models/player/holiday/facemasks/facemask_anaglyph.mdl"
	"leet"
	{
		"position"		"0.000000 0.500000 1.500000"
		"angles"		"-15.000000 1.000000 -2.500000"
	}
}
And it don't work
The file should be:
Code:
"3D glasses"
{
	"model"		"models/player/holiday/facemasks/facemask_anaglyph.mdl"

	"playermodels"
	{
		"leet"
		{
			"position"		"0.000000 0.500000 1.500000"
			"angles"		"-15.000000 1.000000 -2.500000"
		}
	}
}
But no idea if with your code changes will work well.
__________________
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-21-2015 at 17:59.
Franc1sco is offline
Send a message via MSN to Franc1sco
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 12-22-2015 , 03:20   Re: [CS:GO] Hats (with editor menu and 3rd person) v3.1
Reply With Quote #110

And, i should swap Items[Name] vs buscado and it works

Last edited by Indarello; 12-22-2015 at 03:26.
Indarello 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:36.


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