Raised This Month: $32 Target: $400
 8% 

[L4D2] VScript Director Options Unlocker


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Timocop
AlliedModders Donor
Join Date: Mar 2013
Location: Germany
Plugin ID:
5715
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Sets the VScript director option key values
    Old 07-17-2017 , 16:23   [L4D2] VScript Director Options Unlocker
    Reply With Quote #1

    Small thing i did because i hate editing VScripts.

    You can find the VScript KeyValues inside the decompiled VScript files.
    A full list of director options can be found here: https://developer.valvesoftware.com/...irectorOptions

    Cvars:
    PHP Code:
    "l4d2_directoroptions_overwrite""""Overwrites DirectorOptions key values. Seperate with ';' and assign with '=' (Assign to nothing will remove the key value). (e.g WitchLimit=;TankLimit=5)"

    "l4d2_directoroptions_use_check_delay"
    "1""Use delays to set or remove director option keyvalues, may not precise." 
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_unlock_director.sp - 2802 views - 5.1 KB)

    Last edited by Timocop; 07-17-2017 at 22:57. Reason: Some thread stuff didnt save?
    Timocop is offline
    anakmonyet
    New Member
    Join Date: Apr 2017
    Old 07-19-2017 , 00:56   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #2

    Would you make your "L4D Beta Reloading" plugin work on L4D2 ?

    Sorry if this out off topic.
    Thank You
    anakmonyet is offline
    Timocop
    AlliedModders Donor
    Join Date: Mar 2013
    Location: Germany
    Old 07-19-2017 , 02:06   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #3

    Why didnt you post that the in plugin thread?
    L4D2 doesnt have any beta weapon reloading animations. Even if, you could just lookup some in the steam workshop.
    Timocop is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 07-26-2017 , 17:04   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #4

    Works nice.

    ABM use this method now.
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux is offline
    Sev
    Veteran Member
    Join Date: May 2010
    Old 08-12-2017 , 11:49   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #5

    So what am I doing wrong?

    What's the precise usage?

    Example

    l4d2_directoroptions_overwrite smokerlimit=2
    l4d2_directoroptions_overwrite chargerlimit=0

    Chargers still spawn and I don't see more than 1 smoker.

    And does the l4d2_directoroptions_use_check_delay lock these values or not? If not, it would suck to have to re enter these values all the time.

    Last edited by Sev; 08-12-2017 at 11:49.
    Sev is offline
    Timocop
    AlliedModders Donor
    Join Date: Mar 2013
    Location: Germany
    Old 08-12-2017 , 12:52   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #6

    Quote:
    Originally Posted by Timocop View Post
    PHP Code:
    "Seperate with ';' and assign with '=' (Assign to nothing will remove the key value). (e.g WitchLimit=;TankLimit=5)" 
    Code:
    l4d2_directoroptions_overwrite "SmokerLimit=2;ChargerLimit=0"
    If l4d2_directoroptions_use_check_delay is set to 0 the director keyvalues will be set on every entity post-think, but this should only be used when the director keyvalues are fequently changed by other VScripts. This is very CPU intensive. Otherwise it sets them every 0.5 seconds.
    Timocop is offline
    NgBUCKWANGS
    Senior Member
    Join Date: Dec 2014
    Old 08-15-2017 , 10:37   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #7

    Thank you Timocop, the latest version of ABM now uses this plugin to unlock SI. You're a genius, thanks!
    NgBUCKWANGS is offline
    Arthedains
    Junior Member
    Join Date: Nov 2016
    Location: Europe
    Old 02-22-2018 , 15:42   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #8

    I don't know if it only happened to me, but I have been using this nice plugin for some time to disable spitters, chargers and jockeys from spawning at all. While this plugin seems to work most of the time, I've noticed if a map has a command to spawn new specials, it will do so. Is there any way to prevent it? It's not so bad though since it's only happening very rarely. Finally the L4D2 the players deserve.

    Nice plugin.

    Last edited by Arthedains; 03-29-2018 at 15:11.
    Arthedains is offline
    totallynotg4y
    Junior Member
    Join Date: Nov 2018
    Old 11-27-2018 , 06:19   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #9

    Hi, a little help please.

    I'm using Lux's Hell Witch plugin, and basically, what that plugin does is to spawn an SI mob (mob of 4 hunters or 4 boomers or whatever) whenever you startle a witch. Thing is, the maximum SI I get is only 3, sometimes even less. I tried putting these on my sourcemod.cfg file:

    sm_cvar z_max_player_zombies 32
    sm_cvar z_minion_limit 32
    sm_cvar survivor_limit 8
    sm_cvar survival_max_specials 32
    sm_cvar z_hunter_limit 8
    sm_cvar z_boomer_limit 8
    sm_cvar z_charger_limit 8

    and nothing changed. I tried using this plugin and set l4d2_directoroptions_overwrite to "ChargerLimit=8;HunterLimit=8;BoomerLimit=8;D ominatorLimit=8;MaxSpecials:12" and while the witch spawned the right number of SI when startled, I got a new problem. Whenever Chargers, Hunters, and Boomers spawned, they would always spawn in groups of 8 making the game literally friggin impossible.

    Any help?
    totallynotg4y is offline
    Lux
    Veteran Member
    Join Date: Jan 2015
    Location: Cat
    Old 11-29-2018 , 20:57   Re: [L4D2] VScript Director Options Unlocker
    Reply With Quote #10

    Quote:
    Originally Posted by totallynotg4y View Post
    Hi, a little help please.

    I'm using Lux's Hell Witch plugin, and basically, what that plugin does is to spawn an SI mob (mob of 4 hunters or 4 boomers or whatever) whenever you startle a witch. Thing is, the maximum SI I get is only 3, sometimes even less. I tried putting these on my sourcemod.cfg file:

    sm_cvar z_max_player_zombies 32
    sm_cvar z_minion_limit 32
    sm_cvar survivor_limit 8
    sm_cvar survival_max_specials 32
    sm_cvar z_hunter_limit 8
    sm_cvar z_boomer_limit 8
    sm_cvar z_charger_limit 8

    and nothing changed. I tried using this plugin and set l4d2_directoroptions_overwrite to "ChargerLimit=8;HunterLimit=8;BoomerLimit=8;D ominatorLimit=8;MaxSpecials:12" and while the witch spawned the right number of SI when startled, I got a new problem. Whenever Chargers, Hunters, and Boomers spawned, they would always spawn in groups of 8 making the game literally friggin impossible.

    Any help?
    have you tried only changing max specials?
    MaxSpecials=12 that should do for hellwitch spawns
    __________________
    Connect
    My Plugins: KlickME
    [My GitHub]

    Commission me for L4D
    Lux 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 17:57.


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