Raised This Month: $ Target: $400
 0% 

[L4D2/CS:GO/TF2/NMRiH] VScript File Replacer (1.17) [28-Jan-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Plugin ID:
6676
Plugin Version:
1.17
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    38 
    Plugin Description:
    Replaces any VScript file with a custom one. Modify lines or the whole file.
    Old 01-15-2020 , 18:32   Re: [L4D2 & CS:GO] VScript File Replacer (1.1) [01-Nov-2019]
    Reply With Quote #1

    Hi Silvers, What would it be like to overwrite a finale vscript?.
    for example, I added this in the cfg file:
    PHP Code:
      "c1m4_atrium"
        
    {
            
    // VScript filename to override, searches the Valve file system and gamedir.
            // This matches the script "some_vscript_file".
            
    "c1m4_atrium_finale"
            
    {
                
    // The "override" key is reserved for replacing the whole VScript file with a custom one, if both files exist.
                // The specified value must point to a filename in your servers /scripts/vscripts/vscripts_custom/ folder.
                // The file is copied to the your servers /scripts/vscripts/vscripts_override/ folder.
                
    "override"                                "c1m4_atrium_finale_custom"

                
    // Can still use other keys to find and replace strings within the override file.
                //"some_random_var = false;"                "some_random_var = true;"
            
    }
        } 
    i used the same file(c1m4_atrium_finale) obtained from the vscripts_dump folder, copied this to vscripts_custom folder and and rename it with "c1m4_atrium_finale_custom". But when the finale is activated it is as if the rescue arrived, will I have been wrong about something?
    pd: i tested this with sm1.9/1.10 on windows
    Attached Files
    File Type: cfg vscripts_override.cfg (4.3 KB, 476 views)

    Last edited by xZk; 01-15-2020 at 18:35.
    xZk 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 22:26.


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