Raised This Month: $89 Target: $400
 22% 

[L4D2 & CS:GO] VScript File Replacer (1.0) [10-Aug-2019]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Plugin ID:
6676
Plugin Version:
1.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Replaces any VScript file with a custom one. Modify lines or the whole file.
    Old 08-09-2019 , 19:00   [L4D2 & CS:GO] VScript File Replacer (1.0) [10-Aug-2019]
    Reply With Quote #1

    About:
    • Provides a config to specify which VScript files to override.
    • You can replace the whole script or search and replace specific strings.
    • Supports RegEx matching for filenames and for matching strings within the VScripts.
    • Currently supports: CS:GO and L4D2. Can be extended to other games which use VScripts. Please request if required.
    • Some games or maps will have embedded and possibly encrypted scripts preventing any reasonable method to modify them. This plugin makes that happen.



    Thanks:
    • "Peace-Maker" - Fixing dHooks SetParamString.
    • "Lux" - Testing
    • "Dragokas" - Testing
    • "Mr. Man" - Testing



    Admin Commands:
    • Requires "z" - ADMFLAG_ROOT flag
    PHP Code:
    sm_vs_dump       // Dumps all found VScripts from the servers /scripts/vscripts/ file system to /scripts/vscripts/vscripts_dump/. Automatically decodes if required.
    sm_vs_encrypt    // Usage: sm_vs_encrpt <filename.nut>. Encode the specified script, must be inside the servers /scripts/vscripts/ folder, include the extension.
    sm_vs_file       // Usage: sm_vs_file <filename>. Extracts the specified VScript from the Valve file system to the servers /scripts/vscripts/vscripts_dump/ folder. Automatically decodes if required.
    sm_vs_list       // Show data config tree of modified scripts for the current map.
    sm_vs_reload     // Reloads the data config. This also replaces files in the override folder. 


    ConVars:
    PHP Code:
    // VScript File Replacer plugin version.
    vscript_replacer_version 


    Config:
    • Plugin data config saved to \addons\sourcemod\data\vscripts_override.cfg.

      Here is an example demonstrating various features and techniques.
      Spoiler



    Changes:
    Code:
    1.0 (10-Aug-2019)
        - Initial release.


    Requirements:

    Installation:
    1. Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder.
    Attached Files
    File Type: zip vscript_replacer.zip (27.5 KB, 38 views)
    __________________
    Silvers is offline
    xZk
    Member
    Join Date: Nov 2017
    Old 08-09-2019 , 22:47   Re: [L4D2 & CS:GO] VScript File Replacer (1.0) [10-Aug-2019]
    Reply With Quote #2

    Amazing!, could this also apply to the final campaigns?
    https://developer.valvesoftware.com/.../Custom_Finale
    xZk is offline
    zipcore
    Veteran Member
    Join Date: Mar 2010
    Location: m_flZipcore
    Old 08-10-2019 , 07:44   Re: [L4D2 & CS:GO] VScript File Replacer (1.0) [10-Aug-2019]
    Reply With Quote #3

    Awesome stuff
    __________________
    zipcore is offline
    Silvers
    AlliedModders Donor
    Join Date: Aug 2010
    Location: SpaceX
    Old 08-10-2019 , 12:10   Re: [L4D2 & CS:GO] VScript File Replacer (1.0) [10-Aug-2019]
    Reply With Quote #4

    Quote:
    Originally Posted by xZk View Post
    Amazing!, could this also apply to the final campaigns?
    https://developer.valvesoftware.com/.../Custom_Finale
    Yep
    __________________
    Silvers 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 06:28.


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