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

[ANY] Resize Players - 1.5.1 - 2014/11/20


Post New Thread Reply   
 
Thread Tools Display Modes
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-02-2013 , 15:29   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #251

Quote:
Originally Posted by healasuk View Post
Is this possible to work on css. In the title it says [ANY] but it says only for tf2 in the description.
You're misled by his signature, which is kind-of out of the first post. Head resize only works in TF2, rest in probably any Source 2009 mods.

11530, you should correct your sig, and specify that head only works under TF2 so far.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 02-02-2013 , 16:52   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #252

Quote:
Originally Posted by RedSword View Post
You're misled by his signature, which is kind-of out of the first post. Head resize only works in TF2, rest in probably any Source 2009 mods.

11530, you should correct your sig, and specify that head only works under TF2 so far.
RedSword, do you mean the thread's title and not my signature?

Quote:
Originally Posted by healasuk View Post
Is this possible to work on css. In the title it says [ANY] but it says only for tf2 in the description.
healasuk, TF2 isn't mentioned anywhere in the first post apart from the sentence:
"This should work in other Orange Box games, but is not completely tested (confirmed working on CS:S, TF2 Beta and Garry's Mod)."

Unless you are referring to the description in the plugin script itself, in which case I suggest you update it, as I removed the word [TF2] from it many versions ago.
__________________
11530 is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-02-2013 , 16:57   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #253

Quote:
Originally Posted by 11530 View Post
RedSword, do you mean the thread's title and not my signature?



healasuk, TF2 isn't mentioned anywhere in the first post apart from the sentence:
"This should work in other Orange Box games, but is not completely tested (confirmed working on CS:S, TF2 Beta and Garry's Mod)."

Unless you are referring to the description in the plugin script itself, in which case I suggest you update it, as I removed the word [TF2] from it many versions ago.
He can only refer to your signature.

And by first part of the quote I mean clarify that the head commands wouldn't work in most non-tf2 mods (add a small notice somewhere around your commands declaration), as well as correcting your signature.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 02-02-2013 at 17:01.
RedSword is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 02-02-2013 , 17:13   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #254

Quote:
Originally Posted by RedSword View Post
He can only refer to your signature.

And by first part of the quote I mean clarify that the head commands wouldn't work in most non-tf2 mods (add a small notice somewhere around your commands declaration), as well as correcting your signature.
Yes, the signature does need correcting, as it only says [TF2] in it right now, thought I don't know why you'd say "you should [...] specify that head only works under TF2", if the only thing it says right now *is* TF2.
__________________
11530 is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 02-02-2013 , 18:44   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #255

Quote:
Originally Posted by 11530 View Post
[...]thought I don't know why you'd say "you should [...] specify that head only works under TF2", if the only thing it says right now *is* TF2.
You write [Any] and you put TF2 as game list. Make your mind.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 02-02-2013 , 18:48   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #256

Quote:
Originally Posted by RedSword View Post
You write [Any] and you put TF2 as game list. Make your mind.
Calm yourself RedSword, I was only confused because you're getting English words mixed up. Either way, I'll change that info soon.
__________________

Last edited by 11530; 02-02-2013 at 19:03.
11530 is offline
Grot
Member
Join Date: May 2012
Old 02-15-2013 , 15:37   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #257

Is there any way of limiting the maximum and minimum size people can go to?
Grot is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 02-15-2013 , 15:50   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #258

The plugin gets very error spam happy if you attempt to resize a player's head on a game that doesn't support it. May want to consider only allowing the command if the game supports it via GetGameFolderName()
__________________
thetwistedpanda is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 02-15-2013 , 16:30   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #259

Quote:
Originally Posted by thetwistedpanda View Post
The plugin gets very error spam happy if you attempt to resize a player's head on a game that doesn't support it. May want to consider only allowing the command if the game supports it via GetGameFolderName()
The update I'm currently writing checks for the availability of said commands.

Basically boils down to the following:

PHP Code:
g_bResizeAvailable = (FindSendPropInfo("CTFPlayer""m_flModelScale") > 0);
g_bResizeHeadAvailable = (FindSendPropInfo("CTFPlayer""m_flHeadScale") > 0); 
Each boolean is checked once the appropriate command is run, and exits if the netprop is unavailable.

Quote:
Originally Posted by Grot View Post
Is there any way of limiting the maximum and minimum size people can go to?
Also in this update I'm writing. Using a convar like the following...

Code:
sm_resize_bounds "0.25, 3.00"
... will restrict the sm_resize(me) commands to within 0.25 and 3.00. A similar convar will exist for sm_resize(my)head too. Considering making an override for this too.
__________________

Last edited by 11530; 02-15-2013 at 16:33.
11530 is offline
jacek2144
Senior Member
Join Date: Jun 2011
Old 02-25-2013 , 08:28   Re: [ANY] Resize Players - 1.2.0 - 27/11/2012
Reply With Quote #260

Quote:
Originally Posted by 11530 View Post
The update I'm currently writing checks for the availability of said commands.

Basically boils down to the following:

PHP Code:
g_bResizeAvailable = (FindSendPropInfo("CTFPlayer""m_flModelScale") > 0);
g_bResizeHeadAvailable = (FindSendPropInfo("CTFPlayer""m_flHeadScale") > 0); 
Each boolean is checked once the appropriate command is run, and exits if the netprop is unavailable.



Also in this update I'm writing. Using a convar like the following...

Code:
sm_resize_bounds "0.25, 3.00"
... will restrict the sm_resize(me) commands to within 0.25 and 3.00. A similar convar will exist for sm_resize(my)head too. Considering making an override for this too.
would it be possible to add in future feature that will slow down players when they are small and make them faster when they are big changing player's speed

Last edited by jacek2144; 02-25-2013 at 08:50.
jacek2144 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 00:51.


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