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

[TF2] MakeMeInvisible! v1.3.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bobomaster
Junior Member
Join Date: Nov 2011
Plugin ID:
2654
Plugin Version:
1.3.4
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Toggles invisibility on a targeted player
    Old 11-13-2011 , 00:02   [TF2] MakeMeInvisible! v1.3.4
    Reply With Quote #1

    [TF2] MakeMeInvisible!

    Credits to pheadxdll's Roll the Dice for invisibility code and DarthNinja's Fake Gifts for toggling code

    Description:
    You can make people invisible or visible. Very handy for trolling and generally getting people to ragequit. Works with Updater (but it's not required).

    Commands:
    • sm_makemeinvis_toggle [player(s)] - Toggles invisibility on target player(s). If player(s) is not specified, the client's invisibility is toggled.
    • sm_makemeinvis [player(s)] - Turns on invisibility on target player(s), or client if not specified.
    • sm_makemenormal [player(s)] - Turns off invisibility on target player(s), or client if not specified.
    • sm_makemeinvis_timed <player(s)> [time] - Turns on invisibility on target player(s) for an amount of time (in seconds). If time is not specified, it uses the value of sm_makemeinvis_time.
    • sm_makemecolored <player(s)> [R] [G] [B] [A] - Makes target player(s) turn into the selected color. Either you include all RGBA (decimal) values, include only the RGB values, or you include none of them. If you include none of them or only the RGB values, it uses the default according to your cvars. (Get RGB values using the link, A is just transparency (0 = transparent, 255 = opaque))

    CVars:
    • sm_makemeinvis_version - Plugin version
    • sm_makemeinvis_broadcast - Who is notified when invisibility is toggled ("0" = admin, "1" = admin and target (default), "2" = all players)
    • sm_makemeinvis_time - Default time (in seconds) for invisibility timers (Default "30")
    • sm_makemeinvis_defr - Default red value to use for sm_makemecolored (Default "0")
    • sm_makemeinvis_defg - Default green value to use for sm_makemecolored (Default "0")
    • sm_makemeinvis_defb - Default blue value to use for sm_makemecolored (Default "0")
    • sm_makemeinvis_defa - Default alpha value to use for sm_makemecolored (Default "255")
    • sm_makemeinvis_offondeath - Is invisibility turned off on death ("0" = no, "1" = yes (default))
    • sm_makemeinvis_offonswitch - Is invisibility turned off on class switch ("0" = no, "1" = yes (default))
    • sm_makemeinvis_offkillcam - Is invisibility turned off during deathcams? ("0" = no (default), "1" = yes)
    • sm_makemeinvis_timerstyle - Style of invisibility timer ("0" = hint text (default), "1" = center text, "2" = hint and center text, "4" = no timer)

    Installation Directions:
    1. Place makemeinvisible.smx into your addons/sourcemod/plugins/ folder
    2. ???
    3. Profit

    To-Do List
    • Flickering mode
    • Custom Admin Flag
    • Invisibility menu

    Known Bugs
    • If a client has a invisibility timer, and then gets invisible (sm_makemeinvis), the timer will still count down and the invisibility will still be removed at the end
    • Kills in rapid succession while visible during deathcam is on makes you invisible too quickly

    Changelog:
    • v1.3.4 (11-17-2011)
      • Actually generates config now. Last version was bugged.
    • v1.3.3 (11-16-2011)
      • Automatically generates config file
    • v1.3.2 (11-16-2011)
      • Generated config files will actually run
    • v1.3.1 (11-16-2011)
      • Added Updater support (Thanks Dr. McKay!)
    • v1.3.0 (11-16-2011)
      • Added the visible during deathcam function. Not perfect, but works well enough.
      • Added function to generate a separate config if you wish
      • Changed default ALPHA value from 0 to 255
      • Added cvar for timer style
      • Added cvar for turning off invisibility on class switch
      • Fixed bug with newer player inheriting invisibility from previous player
    • v1.2.0 (11-14-2011)
      • Fixed glitch where plugin would think client was still invisible after class change
      • Added custom colors (RGBA) along with a whole slew of cvars
      • Added setting to turn off invisibility on death
    • v1.1.0 (11-13-2011)
      • Added invisibility timer
    • v1.0.1 (11-13-2011)
      • Allowed groups to be selectable (@all, @red, @blue, etc)
      • Changed commands a bit
    • v1.0.0 (11-12-2011)
      • Initial release.

    By the way, this is my first plugin, so if I did anything wrong/strangely, don't hesitate to tell me.

    Total Downloads: 43 (Not including the current ones)
    Attached Files
    File Type: sp Get Plugin or Get Source (makemeinvisible.sp - 1361 views - 19.4 KB)
    File Type: smx makemeinvisible.smx (11.6 KB, 2944 views)

    Last edited by bobomaster; 11-17-2011 at 16:24. Reason: new version
    bobomaster is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-13-2011 , 00:14   Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
    Reply With Quote #2

    FuncommandsX sm_invis?
    __________________
    Dr. McKay is offline
    bobomaster
    Junior Member
    Join Date: Nov 2011
    Old 11-13-2011 , 00:18   Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
    Reply With Quote #3

    Ah, never saw that. So what should I do with this topic?
    bobomaster is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-13-2011 , 00:22   Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
    Reply With Quote #4

    Just leave it, someone'll get around to unapproving it eventually.

    Nice first plugin, though. I don't even want to mention my first plugin.

    You'll get it, don't give up.
    __________________
    Dr. McKay is offline
    bobomaster
    Junior Member
    Join Date: Nov 2011
    Old 11-13-2011 , 10:28   Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
    Reply With Quote #5

    You know, I'll go and add some new features to it so it doesn't replicate that command. I've already got some random ideas floating around in my head.

    Edit: there we go. I added timers. I'm pretty sure the FuncommandsX plugin doesn't have timed invisibility, so now this plugin actually has a purpose

    Last edited by bobomaster; 11-13-2011 at 19:23.
    bobomaster is offline
    raaymond
    Junior Member
    Join Date: Sep 2011
    Old 11-14-2011 , 02:10   Re: [TF2] MakeMeInvisible! (v1.1.0, 11-13-2011)
    Reply With Quote #6

    i love this plugin, i can add it into rtd mod
    hope this plugin can appproved
    raaymond is offline
    bobomaster
    Junior Member
    Join Date: Nov 2011
    Old 11-14-2011 , 17:33   Re: [TF2] MakeMeInvisible! (v1.2.0, 11-14-2011)
    Reply With Quote #7

    Just uploaded a new version (1.2.0). This version adds custom colors, and a setting that can turn off invisibility for deaths.

    Last edited by bobomaster; 11-14-2011 at 17:34. Reason: wtf deaths not timers what am i writing
    bobomaster is offline
    bobomaster
    Junior Member
    Join Date: Nov 2011
    Old 11-16-2011 , 16:52   Re: [TF2] MakeMeInvisible! v1.3.0
    Reply With Quote #8

    1.3.0 up! Lots of new stuff added. Read the changelog for details.
    bobomaster is offline
    Dr. McKay
    Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
    Join Date: Aug 2011
    Location: Atlantis
    Old 11-16-2011 , 16:57   Re: [TF2] MakeMeInvisible! v1.3.0
    Reply With Quote #9

    Nice work.

    You know what'd be cool?

    https://forums.alliedmods.net/showthread.php?t=169095
    __________________
    Dr. McKay is offline
    bobomaster
    Junior Member
    Join Date: Nov 2011
    Old 11-16-2011 , 18:57   Re: [TF2] MakeMeInvisible! v1.3.0
    Reply With Quote #10

    Quote:
    Originally Posted by Dr. McKay View Post
    Nice work.

    You know what'd be cool?

    https://forums.alliedmods.net/showthread.php?t=169095
    Done. v1.3.1 up!
    bobomaster 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 21:47.


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