Raised This Month: $168 Target: $400
 42% 

[L4D2] Charger Steering (1.5) [22-May-2012]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
2813
Plugin Version:
1.5
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    131 
    Plugin Description:
    Allows chargers to turn while charging.
    Old 02-24-2012 , 23:03   [L4D2] Charger Steering (1.5) [22-May-2012]
    Reply With Quote #1

    About:
    • Allows chargers to steer/turn with the mouse while charging.
    • Allows humans to strafe, bots cannot.


    CVars:

    Saved to l4d2_charger_steering.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Allow steering with mouse, 2=Allow strafing, 3=Both.
    l4d2_charger_steering_allow "3"

    // Who can steer with the mouse. 0=Humans Only, 1=AI only, 2=Humans and AI.
    l4d2_charger_steering_bots "2"

    // Display hint when charging? 0=Off, 1=Chat text, 2=Hint box, 3=Instructor hint (Prints to Chat if clients have instructor hints off), 4=Instructor hint (Hint Box).
    l4d2_charger_steering_hint "2"

    // How many times to display hints, count is reset each map/chapter.
    l4d2_charger_steering_hints "5"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d2_charger_steering_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d2_charger_steering_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d2_charger_steering_modes_tog "0"

    // 0.0=Off. Other value sets the amount humans strafe to the side.
    l4d2_charger_steering_strafe "50.0"

    // Charger Steering plugin version.
    l4d2_charger_steering_version 


    Changes:
    Code:
    1.5 (22-May-2012)
        - Fixed error: "SetEntPropFloat reported: Entity -1 (-1) is invalid".
    
    1.4 (20-May-2012)
        - Added German translations - Thanks to "Dont Fear The Reaper".
        - Fixed errors reported by "Dont Fear The Reaper".
    
    1.3 (15-May-2012)
        - Fixed cvar "l4d2_charger_steering_modes_tog" missing.
        - Small fixes.
    
    1.2 (30-Mar-2012)
        - Fixed a bug which could allow strafing as a survivor.
    
    1.1 (30-Mar-2012)
        - Added cvar "l4d2_charger_steering_modes_off" to control which game modes the plugin works in.
        - Added cvar "l4d2_charger_steering_modes_tog" same as above.
        - Added cvars to control hints and what humans/bots have access to.
        - Added Strafing - Thanks to "dcx2".
        - Added translations and hint messages.
        - Added Russian translations - Thanks to "disawar1".
        - Fixed being able to punch while charging.
    
    1.0 (25-Feb-2012)
        - Initial release.


    Installation:
    1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
    2. Download "translations.zip" and extract the "translations" folder to your servers \addons\sourcemod\ folder.

    Updating from 1.0:
    • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.

    Current Translations: English (en), German (de), Russian (ru).
    Attached Files
    File Type: zip translations.zip (1.4 KB, 3322 views)
    File Type: sp Get Plugin or Get Source (l4d2_charger_steering.sp - 5242 views - 13.7 KB)
    __________________

    Last edited by Silvers; 07-01-2012 at 16:10.
    Silvers is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 02-24-2012 , 23:50   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #2

    Cool !!!! finally ... someone made this plugin

    They should appreciate you
    http://forums.alliedmods.net/showthr...hlight=charger
    http://forums.alliedmods.net/showthr...hlight=charger
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 02-25-2012 , 03:42   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #3

    video demonstration please

    Last edited by Visual77; 02-25-2012 at 08:16.
    Visual77 is offline
    adrianman
    Senior Member
    Join Date: Sep 2010
    Old 02-25-2012 , 04:27   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #4

    simple,you can turn your charger while charging by looking in that direction with your mouse,even after you picked up a survivor

    Last edited by adrianman; 02-25-2012 at 04:29.
    adrianman is offline
    Elektramode
    Senior Member
    Join Date: Mar 2010
    Old 02-25-2012 , 08:27   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #5

    Quote:
    Originally Posted by Visual77 View Post
    video demonstration please
    Voilla: http://www.youtube.com/watch?v=h1cQc3B-de0

    Video demonstration.

    Oh and If I could possibly request, A cvar on the sensitivity of the turn.
    Elektramode is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 02-25-2012 , 09:10   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #6

    Quote:
    Originally Posted by Elektramode View Post
    Voilla: http://www.youtube.com/watch?v=h1cQc3B-de0

    Video demonstration.

    Oh and If I could possibly request, A cvar on the sensitivity of the turn.
    Thank you for the video.

    Sorry not possible to make rotation. I did try.

    P.S AI chargers do not steer.
    __________________
    Silvers is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 02-25-2012 , 09:29   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #7

    looks nice Silvers, keep up the good work

    Last edited by Visual77; 02-25-2012 at 09:29.
    Visual77 is offline
    adrianman
    Senior Member
    Join Date: Sep 2010
    Old 02-26-2012 , 08:00   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #8

    bot charger DOES steer
    adrianman is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 02-26-2012 , 08:04   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #9

    Edit: I probably had it disabled when testing, that's good news must check it out later!
    __________________

    Last edited by Silvers; 02-26-2012 at 08:47.
    Silvers is offline
    dcx2
    Senior Member
    Join Date: Sep 2011
    Old 02-26-2012 , 11:18   Re: [L4D2] Charger Steering (1.0) [25-Feb-2012]
    Reply With Quote #10

    Wow. I'm amazed that this hasn't been done already, given it's as simple as stripping the frozen flag from the client...

    Can you strafe while charging, too?

    Regarding the sensitivity of the turn, perhaps you could listen in OnPlayerRunCmd for IN_LEFT or IN_MOVELEFT (/RIGHT) and rotate the charger there? Problem is I doubt most people have IN_LEFT bound to anything...
    dcx2 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 21:08.


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