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

[L4D & L4D2] Weapon Zoom


Post New Thread Reply   
 
Thread Tools Display Modes
Author
panxiaohai
Senior Member
Join Date: Mar 2010
Plugin ID:
1671
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Press mouse wheel to zoom
    Unapprover:
    Reason for Unapproving:
    author is unresponsive, changing client settings without their knowledge
    Old 05-16-2010 , 14:12   [L4D & L4D2] Weapon Zoom
    Reply With Quote #1

    Press mouse wheel to zoom, suport all weapon in l4d2 now.


    Attached Thumbnails
    Click image for larger version

Name:	l4d_smalltown01_caves0042.jpg
Views:	5175
Size:	65.8 KB
ID:	65913   Click image for larger version

Name:	l4d_smalltown01_caves0043.jpg
Views:	5172
Size:	44.4 KB
ID:	65914  
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_zoom_en.sp - 2634 views - 7.4 KB)

    Last edited by panxiaohai; 06-14-2011 at 04:17. Reason: fix the key binding problem
    panxiaohai is offline
    crazydog
    AlliedModders Donor
    Join Date: Jan 2006
    Old 05-18-2010 , 18:20   Re: [L4D] Weapon Zoom
    Reply With Quote #2

    Screenshot? Does it just zoom in on the crosshair or does it do something like ironsights?

    Does it work on L4D2 also?
    crazydog is offline
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 05-18-2010 , 18:40   Re: [L4D] Weapon Zoom
    Reply With Quote #3

    Yup it works for l4d2, though I would prefer this only available to sniper class weapons as it it improves on that.
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    triggerman
    Senior Member
    Join Date: Jun 2009
    Old 05-18-2010 , 21:48   Re: [L4D] Weapon Zoom
    Reply With Quote #4

    This plugin is horrible.

    It rebinds the mousewheel to say a chat command and overwrites whatever they had bound to there mousewheel, most likely weapon switching.

    Furthermore these bond chat commands stay bond after the player has left the server and cause players to say them when they would try to use the mousewheel in a server that does not feature this plugin.

    I would be seriously pissed if i joined a server and had my controls changed without consent or warning.
    __________________
    triggerman is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 05-18-2010 , 22:19   Re: [L4D] Weapon Zoom
    Reply With Quote #5

    Quote:
    Originally Posted by triggerman View Post
    This plugin is horrible.

    It rebinds the mousewheel to say a chat command and overwrites whatever they had bound to there mousewheel, most likely weapon switching.

    Furthermore these bond chat commands stay bond after the player has left the server and cause players to say them when they would try to use the mousewheel in a server that does not feature this plugin.

    I would be seriously pissed if i joined a server and had my controls changed without consent or warning.
    Thank for you suggestion, It just for test, so do not be serious, do you have an good idea for solve this?
    It still works when do nothing to mouse wheelup and mouse wheeldown.
    Just change

    Code:
    public PlayerConnectFull(Handle:event, const String:name[], bool:dontBroadcast)
    {
        new client = GetClientOfUserId(GetEventInt(event, "userid"));
        ClientCommand(client, "bind mwheelup \"say /zoominc\"");
        ClientCommand(client, "bind mwheeldown \"say /zoomdec\"");
     }
    public OnClientDisconnect(client)
    {
        ClientCommand(client, "bind mwheelup invprev");
        ClientCommand(client, "bind mwheeldown invnext");
    }
    to

    Code:
    pu blic PlayerConnectFull(Handle:event, const String:name[], bool:dontBroadcast)
    {
        new client = GetClientOfUserId(GetEventInt(event, "userid"));
        //ClientCommand(client, "bind mwheelup \"say /zoominc\"");
       // ClientCommand(client, "bind mwheeldown \"say /zoomdec\"");
     }
    public OnClientDisconnect(client)
    {
        //ClientCommand(client, "bind mwheelup invprev");
        //ClientCommand(client, "bind mwheeldown invnext");
     }
    every thing will be ok.

    Last edited by panxiaohai; 05-19-2010 at 05:31.
    panxiaohai is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 05-18-2010 , 22:35   Re: [L4D] Weapon Zoom
    Reply With Quote #6

    Quote:
    Originally Posted by crazydog View Post
    Screenshot? Does or does it do something like ironsights?

    Does it work on L4D2 also?
    Because of my poor English, I can not write more description and forgive me please .
    when press mouse middle button, it just chang the parameter of perspective, just like a telescope, every thing remain unchange.
    panxiaohai is offline
    nanito13
    BANNED
    Join Date: Jul 2011
    Old 07-18-2011 , 16:14   Re: [L4D & L4D2] Weapon Zoom
    Reply With Quote #7

    hey what does this plugin exactly do ? can i zoom in , in all weapons ? just like black ops zombie zooming ?
    nanito13 is offline
    Dr. Greg House
    Professional Troll,
    Part-Time Asshole
    Join Date: Jun 2010
    Old 08-26-2011 , 16:13   Re: [L4D & L4D2] Weapon Zoom
    Reply With Quote #8

    The bind works for l4d2 as well?
    Dr. Greg House is offline
    panxiaohai
    Senior Member
    Join Date: Mar 2010
    Old 08-26-2011 , 21:51   Re: [L4D & L4D2] Weapon Zoom
    Reply With Quote #9

    Quote:
    Originally Posted by Dr. Greg House View Post
    The bind works for l4d2 as well?
    Not need bind it works fine.

    Last edited by panxiaohai; 08-26-2011 at 23:20.
    panxiaohai is offline
    RAPTORMOOSE
    Member
    Join Date: Sep 2011
    Location: California
    Old 10-13-2011 , 14:49   Re: [L4D & L4D2] Weapon Zoom
    Reply With Quote #10

    ClientCommand(client, "bind uparrow \"say /zoominc\"");
    ClientCommand(client, "bind downarrow \"say /zoomdec\"");

    This binds it to zoom in with the up arrow, and out with the down arrow.
    __________________
    Well, it took 30 men, 7 chainsaws, and 12 pickup trucks, but we did it.
    RAPTORMOOSE 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 03:47.


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