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

[TF2] Sheens 1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pear
Member
Join Date: May 2017
Location: sea
Plugin ID:
6465
Plugin Version:
1.2.1
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Set killstreak effects on weapon
    Old 03-10-2019 , 19:19   [TF2] Sheens 1.2
    Reply With Quote #1

    This plugin allows you to apply sheens and killstreak effects on a weapon.



    Commands:
    sm_sheens [sheen] [effect]
    sm_sheen [sheen] [effect]
    Default flag: k

    Cvars:
    sm_sheens_version - Sheens Plugin Version
    sm_sheens_flag - Sheens Access Flag

    Installation:
    Put sheens.smx into tf/addons/sourcemod/plugins
    Put tf2.attributes.txt into tf/addons/sourcemod/gamedata
    Put sheens.phrases.txt into tf/addons/sourcemod/translations

    Changelog
    Attached Files
    File Type: txt tf2.attributes.txt (3.3 KB, 467 views)
    File Type: txt sheens.phrases.txt (790 Bytes, 207 views)
    File Type: sp Get Plugin or Get Source (sheens.sp - 463 views - 9.2 KB)

    Last edited by pear; 03-23-2021 at 07:08.
    pear is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 03-11-2019 , 00:51   Re: [TF2] Sheens
    Reply With Quote #2

    Why not just use tf2attributes?
    Mitchell is offline
    pear
    Member
    Join Date: May 2017
    Location: sea
    Old 03-11-2019 , 09:03   Re: [TF2] Sheens
    Reply With Quote #3

    Quote:
    Originally Posted by Mitchell View Post
    Why not just use tf2attributes?
    I don't really like using external stuff for the plugins I make.
    You can also use the gamedata/tf2attributes.txt if you rename it to sheens.txt and it will work with the plugin though.
    pear is offline
    Drixevel
    AlliedModders Donor
    Join Date: Sep 2009
    Location: Somewhere headbangin'
    Old 03-11-2019 , 09:56   Re: [TF2] Sheens
    Reply With Quote #4

    Three things:
    • If you're gonna recreate the wheel by copying tf2attributes code into the plugin for use, at least have the plugin use the same gamedata file.
    • You're leaking handles with your menus, you need to kill the menu handles in the callbacks with MenuAction_End.
    • You can methodmap a whole lot of this and create the menus early and save them for use multiple times as well.

    Last edited by Drixevel; 08-27-2020 at 01:41.
    Drixevel is offline
    pear
    Member
    Join Date: May 2017
    Location: sea
    Old 03-11-2019 , 13:18   Re: [TF2] Sheens
    Reply With Quote #5

    Quote:
    Originally Posted by Drixevel View Post
    Three things:
    • If you're gonna recreate the wheel by copying tf2attributes code into the plugin for use, at least have the plugin use the same gamedata file.
    • Your leaking handles with your menus, you need to kill the menu handles in the callbacks with MenuAction_End.
    • You can methodmap a whole lot of this and create the menus early and save them for use multiple times as well.
    Thanks! I fixed the leaks and made it use the same gamedata file then. I'm not that familiar with methodmapping yet so I'll do that once I'm more experienced with it.

    Last edited by pear; 03-11-2019 at 16:49.
    pear is offline
    KoltaiArmy
    AlliedModders Donor
    Join Date: Feb 2015
    Location: Hungary
    Old 01-18-2020 , 18:18   Re: [TF2] Sheens 1.1
    Reply With Quote #6

    May you could add clientprefs support, to keep the client settings after rejoins.
    __________________
    KoltaiArmy is offline
    Kleiner
    Member
    Join Date: Dec 2017
    Location: Russia, Chelyabinsk
    Old 01-07-2021 , 14:47   Re: [TF2] Sheens 1.1
    Reply With Quote #7

    translation support? for chat messages
    Kleiner is offline
    StrikeR14
    AlliedModders Donor
    Join Date: Apr 2016
    Location: Behind my PC
    Old 01-07-2021 , 16:51   Re: [TF2] Sheens 1.1
    Reply With Quote #8

    Quote:
    Originally Posted by Kleiner View Post
    translation support? for chat messages
    The guy has been offline for a few months, not to mention that there's barely anything to translate.
    __________________
    Currently taking TF2/CSGO paid private requests!

    My Plugins | My Discord Account
    StrikeR14 is offline
    pear
    Member
    Join Date: May 2017
    Location: sea
    Old 02-03-2021 , 10:11   Re: [TF2] Sheens 1.1
    Reply With Quote #9

    Quote:
    Originally Posted by KoltaiArmy View Post
    May you could add clientprefs support, to keep the client settings after rejoins.
    Sorry I sadly don't know how to do this for the plugin. If anyone could help me with it, that would be great

    Quote:
    Originally Posted by Kleiner View Post
    translation support? for chat messages
    Added this one in 1.1.2!
    pear is offline
    Teamkiller324
    Senior Member
    Join Date: Feb 2014
    Location: Earth
    Old 02-03-2021 , 15:29   Re: [TF2] Sheens 1.1
    Reply With Quote #10

    Welcome back pear after a while break
    Good to see ya.
    __________________

    Last edited by Teamkiller324; 02-03-2021 at 15:30.
    Teamkiller324 is offline
    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 15:22.


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