Raised This Month: $ Target: $400
 0% 

[TF2] Resize Heads! (1.1.1) [1/18/2013]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Plugin ID:
3330
Plugin Version:
1.1.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Resize the players head for the lulz.
    Unapprover:
    Reason for Unapproving:
    Subset of http://forums.alliedmods.net/showthread.php?t=193255
    Old 10-27-2012 , 01:58   [TF2] Resize Heads! (1.1.1) [1/18/2013]
    Reply With Quote #1

    This plugin has been replaced by:
    http://forums.alliedmods.net/showthread.php?t=193255

    You can still view the source of course.
    Herp Derp.

    -----------------------------------------------------------------------------------------

    [TF2] Resize Heads!
    Version 1.1

    By Me & ReFlexPoison

    Introduction:
    This plugin simply resizes the head, for the LOL!

    Commands:

    sm_resizehead <Player> <Size>
    Resizes any player with a Generic Flag.
    <Size> = <0.0 - 3.0>

    sm_resizemyhead <Size>
    Allows you to re-size your own head with a scale number between <0.0 - 3.0>
    Without a scale opens up a menu

    Also uses Generic Flag but can be override with admins_override.cfg

    Convars:

    sm_resizehead_enabled (Default: 1) - Turn on/off the plugin.
    1 - On
    0 - Off

    sm_resizehead_logs = (Default: 1) - Should logging be on?
    1 - Yes
    0 - No

    sm_resizehead_join = (Default: 0) - Should players head be resized when spawning into game?
    2 - Admins (Generic Flag)
    1 - Public
    0 - No

    sm_resizehead_joinsize = (Default: 1) - The size of the players head when they spawn, must be used with sm_resizehead_join to work.
    <0.1 - 3.0>

    Installation:

    - Place resizehead.smx into your addons/sourcemod/plugins/ folder.
    - Go to tf/cfg/sourcemod and look for resizehead.cfg to configure to your liking.
    - Use any of the commands to your fit.

    Screenshots:




    Version Log:

    Code:
    1.1.1
    - Added menu support for !resizemyhead
    - Upped limit to 5.0 instead of 3.0
    - Fixed the chat that tells you your current head size
    
    1.1
    - Removed "Head size reset" on occasional client connects.
    - Added sm_resizemyhead to resize only your own head.
    - Added sm_resizehead_join and sm_resizehead_joinsize which allows you to toggle whether you can spawn with a resized head or not.
    - Added generated config file at tf/cfg/sourcemod/resizehead.cfg
    
    1.0
    - Released
    Credits:

    - Me and ReFlexPoison, we both made this plugin.

    [B]Feel free to post any bugs/problems or features added.

    Last Version DL: 826
    Attached Files
    File Type: sp Get Plugin or Get Source (resizehead.sp - 1838 views - 6.4 KB)
    __________________

    Last edited by Chaosxk; 01-28-2013 at 18:04. Reason: uuupdate; fb given
    Chaosxk is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: ☠☠☠
    Old 10-27-2012 , 01:59   Re: [TF2] Resize Heads!
    Reply With Quote #2

    Bobble-heads!*

    Last edited by ReFlexPoison; 10-28-2012 at 10:43.
    ReFlexPoison is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 10-27-2012 , 03:07   Re: [TF2] Resize Heads!
    Reply With Quote #3

    Lol nice job! You are right on top of the new features!
    Sreaper is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 10-27-2012 , 03:45   Re: [TF2] Resize Heads!
    Reply With Quote #4

    Lol nice. I knew as soon as I played the map for the first time there would be a boat load of new plugins.
    __________________
    serpentine is offline
    ragnarox13
    Junior Member
    Join Date: Sep 2012
    Old 10-27-2012 , 10:39   Re: [TF2] Resize Heads!
    Reply With Quote #5

    Hi, may I know if this plugin is only for admin? Coz when the players on my server uses it, it says not accessible?
    ragnarox13 is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 10-27-2012 , 11:33   Re: [TF2] Resize Heads!
    Reply With Quote #6

    Quote:
    Originally Posted by ragnarox13 View Post
    Hi, may I know if this plugin is only for admin? Coz when the players on my server uses it, it says not accessible?
    well it does say "Generic Admin" under the commands if you took the time to read...


    On a side note: good job..I'll watch this for a while for bugs and may add it for some sorta perk for some players.

    Last edited by Horsedick; 10-27-2012 at 11:34.
    Horsedick is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 10-27-2012 , 12:11   Re: [TF2] Resize Heads!
    Reply With Quote #7

    "m_flHeadScale" is available in Counter Strike Source?
    __________________
    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
    Glite
    Senior Member
    Join Date: Sep 2011
    Location: Ukraine
    Old 10-27-2012 , 12:42   Re: [TF2] Resize Heads!
    Reply With Quote #8

    Quote:
    Originally Posted by Franc1sco View Post
    "m_flHeadScale" is available in Counter Strike Source?
    sm_dump_netprops
    sm_dump_datamaps
    Glite is offline
    Roundcat
    Senior Member
    Join Date: Feb 2012
    Old 10-27-2012 , 13:30   Re: [TF2] Resize Heads!
    Reply With Quote #9

    I presume sm_resizehead @all works too?
    __________________
    I know not my ar*e from its elbow.
    Roundcat is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 10-27-2012 , 13:56   Re: [TF2] Resize Heads!
    Reply With Quote #10

    Quote:
    Originally Posted by Glite View Post
    sm_dump_netprops
    sm_dump_datamaps
    ok so Not found..

    This netprop (m_flHeadScale) is new in TF2?
    __________________
    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; 10-27-2012 at 13:56.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    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 03:45.


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