Raised This Month: $ Target: $400
 0% 

[ANY] Void Vision


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sreaper
髪を用心
Join Date: Nov 2009
Plugin ID:
6492
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    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 - 784 views - 2.2 KB)

    Last edited by Sreaper; 04-07-2019 at 00:49. Reason: fixed chat messages not printing
    Sreaper is offline
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    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?

    Last edited by 404UserNotFound; 04-01-2019 at 20:41.
    404UserNotFound is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    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
    404UserNotFound
    BANNED
    Join Date: Dec 2011
    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.

    Last edited by 404UserNotFound; 04-01-2019 at 20:59.
    404UserNotFound is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    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
    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
    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: GetClientAbsOrigin();
    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
    __________________
    Add me for commissions!
    Steam: [U:1:88621772]
    Discord: lugui#0889
    My Plugins
    lugui is offline
    Tim q
    Senior Member
    Join Date: Aug 2020
    Old 12-02-2021 , 22:56   Re: [ANY] Void Vision
    Reply With Quote #10

    Oh you can create subplugin with it for freak fortress 2
    Tim q 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 16:11.


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