Raised This Month: $75 Target: $400
 18% 

[ANY] Void Vision


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sreaper
髪を用心
Join Date: Nov 2009
Location: Source SDK
Plugin ID:
6492
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 04-01-2019 , 20:22   [ANY] Void Vision
    Reply With Quote #1

    Description:

    This plugin will allow you to force someone to look at the void.
    It's also my first plugin. It's only been tested Team Fortress 2.


    Commands:
    • sm_void <#userid|name> <1/0>: (Root) Forces a player to look at the void.

    Bugs:
    Third person or taunting will break the effect.

    Attached Files
    File Type: sp Get Plugin or Get Source (sm_voidvision.sp - 115 views - 2.2 KB)
    __________________

    Last edited by Sreaper; 04-07-2019 at 00:49. Reason: fixed chat messages not printing
    Sreaper is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 04-01-2019 , 20:36   Re: [ANY] Void Vision
    Reply With Quote #2

    You don't need to use FCVAR_PLUGIN in your convar. That FCVAR literally does nothing (even says so in the include). It was the first thing I noticed when I viewed the source code of this plugin;

    My syntax highlighting highlights old syntax/deprecated/unused things red.

    Also, I had no clue that this sv_rollangle convar existed, nor that setting it to such an insanely high value would cause this. How did you figure this out?
    __________________
    Don't buy plugins from [G]amerX/_GamerX or FREAK (formerly Sourcemod.shop).
    Most plugins they sell are either stolen from here outright, or can be found here for free.



    Last edited by 404UNF; 04-01-2019 at 20:41.
    404UNF is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 04-01-2019 , 20:44   Re: [ANY] Void Vision
    Reply With Quote #3

    Quote:
    Originally Posted by 404UNF View Post
    You don't need to use FCVAR_PLUGIN in your convar. That FCVAR literally does nothing (even says so in the include). It was the first thing I noticed when I viewed the source code of this plugin;

    My syntax highlighting highlights old syntax/deprecated/unused things red.

    Also, I had no clue that this convar existed, nor that setting it to such an insanely high value would cause this. How did you figure this out?
    Thanks for your feedback, it's fixed now. As for how I figured it out, I've just spent a long time messing around with the game and have found weird stuff over the years.
    __________________

    Last edited by Sreaper; 04-01-2019 at 20:44.
    Sreaper is offline
    404UNF
    ( ͡ ͜ʖ ͡)
    Join Date: Dec 2011
    Location: 🍁
    Old 04-01-2019 , 20:55   Re: [ANY] Void Vision
    Reply With Quote #4

    Quote:
    Originally Posted by Sreaper View Post
    Thanks for your feedback, it's fixed now. As for how I figured it out, I've just spent a long time messing around with the game and have found weird stuff over the years.
    Well please do disclose more of this weird stuff, if you'd be so kind. I love finding out new weird quirks with TF2.

    And if you're not in there already, come join the SourceMod Discord The image in my signature also acts as an invite link.
    __________________
    Don't buy plugins from [G]amerX/_GamerX or FREAK (formerly Sourcemod.shop).
    Most plugins they sell are either stolen from here outright, or can be found here for free.



    Last edited by 404UNF; 04-01-2019 at 20:59.
    404UNF is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 04-02-2019 , 19:13   Re: [ANY] Void Vision
    Reply With Quote #5

    Updated to version 1.1:

    The 1/0 is optional for removing the void vision.
    Code is better optimized, thanks 404UNF and FlaminSarge for suggestions / fixes.
    __________________
    Sreaper is offline
    Phil25
    AlliedModders Donor
    Join Date: Feb 2015
    Old 04-03-2019 , 03:59   Re: [ANY] Void Vision
    Reply With Quote #6

    This is pretty cool. Do you mind if I add it as a bad perk to my RTD plugin? Not anything too soon though as I'm kinda busy, unless anyone is willing to make a PR.
    Phil25 is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 04-03-2019 , 04:15   Re: [ANY] Void Vision
    Reply With Quote #7

    Quote:
    Originally Posted by Phil25 View Post
    This is pretty cool. Do you mind if I add it as a bad perk to my RTD plugin? Not anything too soon though as I'm kinda busy, unless anyone is willing to make a PR.
    I don't mind at all but thanks for asking.
    __________________
    Sreaper is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Location: Source SDK
    Old 04-06-2019 , 01:04   Re: [ANY] Void Vision
    Reply With Quote #8

    Updated plugin. Fixed @all and the missing IsFakeClient check which could cause the plugin to not work. Also fixed [sm] messages not printing. (4/6)
    __________________

    Last edited by Sreaper; 04-06-2019 at 23:59.
    Sreaper is offline
    lugui
    Senior Member
    Join Date: Feb 2016
    Location: Brasil
    Old 04-09-2019 , 08:12   Re: [ANY] Void Vision
    Reply With Quote #9

    now, use ths plugin at the same time as: https://forums.alliedmods.net/showthread.php?t=283120
    and make your players sick
    __________________
    lugui 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 20:41.


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