Raised This Month: $51 Target: $400
 12% 

[HL2DM/ANY?] point_viewcontrol fix


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Alienmario
Senior Member
Join Date: Aug 2013
Plugin ID:
4896
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Half-Life 2 Deathmatch
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Fixes point_viewcontrol not exiting for multiple players
    Old 11-13-2015 , 18:43   [HL2DM/ANY?] point_viewcontrol fix
    Reply With Quote #1

    This is a rather dirty fix for point_viewcontrol entity, which was designed for singleplayer and doesn't exit properly when multiple players are looking through it.

    • On deactivation, the camera will be deactivated for all players using it, one by one.
    • Blocks kill and explode commands while being used by the player
    • Using this, the OnEndFollow output will be called multiple times!

    If you're a mapper, activate this entity via trigger for every player that should see through it. Deactivating it once will do so for all players.
    Attached Files
    File Type: sp Get Plugin or Get Source (point_viewcontrol_fix.sp - 905 views - 1.7 KB)
    Alienmario is offline
    Reply



    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 03:31.


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