View Single Post
xZk
Senior Member
Join Date: Nov 2017
Location: cl
Old 01-15-2020 , 18:32   Re: [L4D2 & CS:GO] VScript File Replacer (1.1) [01-Nov-2019]
Reply With Quote #8

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, 457 views)

Last edited by xZk; 01-15-2020 at 18:35.
xZk is offline