Raised This Month: $32 Target: $400
 8% 

[TF2] The Grand Duchess


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Plugin ID:
3879
Plugin Version:
1.2.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Resizes players wearing The Grand Duchess item set
    Old 09-04-2013 , 12:24   [TF2] The Grand Duchess
    Reply With Quote #1

    [TF2] The Grand Duchess

    Description:

    On spawn, if a player is wearing "The Grand Duchess" item set on heavy, they will be resized according to sm_fairy_size's value.

    CVars:

    sm_fairy_enabled (default: 1) Enable/Disable The Grand Duchess.
    sm_fairy_removeslot1 (deafault: 1) Remove slot 1 from the fairy heavy
    sm_fairy_removeslot2 (deafault: 0) Remove slot 2 from the fairy heavy
    sm_fairy_size (default: 0.6) The size of the fairy heavy (0.6 = 40% Smaller)

    Dependencies:

    NONE!

    Changelog:

    v1.0 - First release.
    v1.2 - Removed TF2ItemsInfo Dependency.

    Installation:

    fairy.smx to addons/plugins
    Attached Files
    File Type: sp Get Plugin or Get Source (fairy.sp - 1370 views - 3.3 KB)

    Last edited by Pelipoika; 09-09-2013 at 14:13. Reason: Removed unescessary .smx file
    Pelipoika is offline
    Automicbomb
    AlliedModders Donor
    Join Date: Nov 2012
    Old 09-04-2013 , 16:00   Re: [TF2] The Grand Duchess
    Reply With Quote #2

    Requires:
    TF2Items
    TF2ItemsInfo
    Automicbomb is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 09-04-2013 , 16:40   Re: [TF2] The Grand Duchess
    Reply With Quote #3

    Quote:
    Originally Posted by Automicbomb View Post
    For whatever reason, non-Approved plugins don't list their dependencies even if the author enters them.

    Then again, it never lists extensions (there's no field for them).
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 09-04-2013 at 16:40.
    Powerlord is offline
    Automicbomb
    AlliedModders Donor
    Join Date: Nov 2012
    Old 09-04-2013 , 18:03   Re: [TF2] The Grand Duchess
    Reply With Quote #4

    Im running this on my own server and console printed out that it need those two to work. So yeah...
    Automicbomb is offline
    ddhoward
    Veteran Member
    Join Date: May 2012
    Location: California
    Old 09-05-2013 , 02:18   Re: [TF2] The Grand Duchess
    Reply With Quote #5

    Quote:
    Originally Posted by Automicbomb View Post
    Im running this on my own server and console printed out that it need those two to work. So yeah...
    Powerlord wasn't saying that you were wrong. He was explaining why the OP didn't have the dependencies listed.
    ddhoward is offline
    VoiDeD
    AlliedModders Donor
    Join Date: Mar 2009
    Location: Illinois, USA
    Old 09-07-2013 , 02:53   Re: [TF2] The Grand Duchess
    Reply With Quote #6

    Why exactly does this require a bloated plugin?

    You shouldn't need TF2II in order to determine if a player is wearing that item set.

    Code:
    (iItemSlot == TF2ItemSlot_Hat || iItemSlot == TF2ItemSlot_Misc)
    This entire check is really unnecessary, and you can remove your TF2II dependency by not having this.
    __________________
    VoiDeD is offline
    Pelipoika
    Veteran Member
    Join Date: May 2012
    Location: Inside
    Old 09-08-2013 , 12:51   Re: [TF2] The Grand Duchess
    Reply With Quote #7

    Quote:
    Originally Posted by VoiDeD View Post
    Why exactly does this require a bloated plugin?

    You shouldn't need TF2II in order to determine if a player is wearing that item set.

    Code:
    (iItemSlot == TF2ItemSlot_Hat || iItemSlot == TF2ItemSlot_Misc)
    This entire check is really unnecessary, and you can remove your TF2II dependency by not having this.
    That was from some earlier tests, All good now.
    Pelipoika is offline
    friagram
    Veteran Member
    Join Date: Sep 2012
    Location: Silicon Valley
    Old 09-09-2013 , 04:36   Re: [TF2] The Grand Duchess
    Reply With Quote #8

    Tf2ii is bloated and breaks a lot.
    Tf2attributes is amazing but most of the time it is better to just use tf2items ongivenameditem, as it is more efficient, and the extension is more stable.

    You can query items directly to find their defindex.
    Also, there are other alternatives to tf2ii for categorizing items and getting schema info more efficiently.
    __________________
    Profile - Plugins
    Add me on steam if you are seeking sp/map/model commissions.

    Last edited by friagram; 09-09-2013 at 04:37.
    friagram is offline
    captaindeterprimary
    AlliedModders Donor
    Join Date: Sep 2012
    Old 09-09-2013 , 17:03   Re: [TF2] The Grand Duchess
    Reply With Quote #9

    Plugin thread made for the lulz plugin (which I love), starts stupid flame war about tf2ii.

    But awesome plugin. Your putting out some fun little things while I was away. I like that.
    __________________
    Last edited by ; Today at 08:20 AM. Reason: Get rid of s
    captaindeterprimary is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    Old 09-10-2013 , 00:29   Re: [TF2] The Grand Duchess
    Reply With Quote #10

    Quote:
    Originally Posted by vman315 View Post
    Plugin thread made for the lulz plugin (which I love), starts stupid flame war about tf2ii.

    But awesome plugin. Your putting out some fun little things while I was away. I like that.
    I like your avatar. Gravity Falls for the win. And I agree about the plugin. I'm liking the new variety in plugins that are being released nowadays.
    404UserNotFound 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 02:22.


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