Raised This Month: $319 Target: $400
 79%   Almost there!

[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:
    4 
    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 - 467 views - 2.2 KB)
    __________________

    Last edited by Sreaper; 04-07-2019 at 00:49. Reason: fixed chat messages not printing
    Sreaper is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 04-01-2019 , 20:44   Re: [ANY] Void Vision
    Reply With Quote #2

    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
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 04-02-2019 , 19:13   Re: [ANY] Void Vision
    Reply With Quote #3

    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 #4

    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 #5

    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 #6

    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 #7

    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#7902
    My Plugins
    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 19:52.


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