AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] MakeMeInvisible! v1.3.4 (https://forums.alliedmods.net/showthread.php?t=171950)

bobomaster 11-13-2011 00:02

[TF2] MakeMeInvisible! v1.3.4
 
2 Attachment(s)
[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)

Dr. McKay 11-13-2011 00:14

Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
 
FuncommandsX sm_invis?

bobomaster 11-13-2011 00:18

Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
 
Ah, never saw that. So what should I do with this topic?

Dr. McKay 11-13-2011 00:22

Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
 
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. :)

bobomaster 11-13-2011 10:28

Re: [TF2] MakeMeInvisible! (v1.0.0, 11-12-2011)
 
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 :D

raaymond 11-14-2011 02:10

Re: [TF2] MakeMeInvisible! (v1.1.0, 11-13-2011)
 
i love this plugin, i can add it into rtd mod:mrgreen:
hope this plugin can appproved:wink:

bobomaster 11-14-2011 17:33

Re: [TF2] MakeMeInvisible! (v1.2.0, 11-14-2011)
 
Just uploaded a new version (1.2.0). This version adds custom colors, and a setting that can turn off invisibility for deaths.

bobomaster 11-16-2011 16:52

Re: [TF2] MakeMeInvisible! v1.3.0
 
1.3.0 up! Lots of new stuff added. Read the changelog for details.

Dr. McKay 11-16-2011 16:57

Re: [TF2] MakeMeInvisible! v1.3.0
 
Nice work.

You know what'd be cool?

https://forums.alliedmods.net/showthread.php?t=169095

bobomaster 11-16-2011 18:57

Re: [TF2] MakeMeInvisible! v1.3.0
 
Quote:

Originally Posted by Dr. McKay (Post 1597721)
Nice work.

You know what'd be cool?

https://forums.alliedmods.net/showthread.php?t=169095

Done. v1.3.1 up!


All times are GMT -4. The time now is 03:12.

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