AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Void Vision (https://forums.alliedmods.net/showthread.php?t=315317)

Sreaper 04-01-2019 20:22

[ANY] Void Vision
 
1 Attachment(s)
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.


404UserNotFound 04-01-2019 20:36

Re: [ANY] Void Vision
 
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;
https://i.imgur.com/pIU26gY.png
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?

Sreaper 04-01-2019 20:44

Re: [ANY] Void Vision
 
Quote:

Originally Posted by 404UNF (Post 2645895)
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;
https://i.imgur.com/pIU26gY.png
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.

404UserNotFound 04-01-2019 20:55

Re: [ANY] Void Vision
 
Quote:

Originally Posted by Sreaper (Post 2645896)
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 :D The image in my signature also acts as an invite link.

Sreaper 04-02-2019 19:13

Re: [ANY] Void Vision
 
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.

Phil25 04-03-2019 03:59

Re: [ANY] Void Vision
 
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.

Sreaper 04-03-2019 04:15

Re: [ANY] Void Vision
 
Quote:

Originally Posted by Phil25 (Post 2646081)
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 04-06-2019 01:04

Re: [ANY] Void Vision
 
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)

lugui 04-09-2019 08:12

Re: [ANY] Void Vision
 
now, use ths plugin at the same time as: https://forums.alliedmods.net/showthread.php?t=283120
and make your players sick

Tim q 12-02-2021 22:56

Re: [ANY] Void Vision
 
Oh you can create subplugin with it for freak fortress 2


All times are GMT -4. The time now is 14:42.

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