【CS2】ResourcePrecacher 预缓存自定义资源 服务器管理

我不当学长 管理员组 5天前 60

插件介绍:

这个插件可以预缓存自定义资源

What can it do  它能做什么

You can upload or add any number of resources either in the Assets folder or in the configuration file and it will automatically precache them when the map starts.
你可以上传或添加任意数量的资源,无论是在 Assets 文件夹还是配置文件里,地图开始时会自动预缓存它们。

These files are supported:
支持以下文件:

"vmdl",     "vmdl_c",
"vpcf",     "vpcf_c",
"vmat",     "vmat_c",
"vcompmat", "vcompmat_c",
"vtex",     "vtex_c",
"vsnd",     "vsnd_c",
"vdata",    "vdata_c",
"vpost",    "vpost_c",
"vsurf",    "vsurf_c",
"vanmgrph", "vanmgrph_c",
"vmix",     "vmix_c",
"vnmclip",  "vnmclip_c",
"vrman",    "vrman_c",
"vrr_c",    "vrr_c",
"vsc",
"vsmart",   "vsmart_c",
"vsnap",    "vsnap_c",
"vsndevts", "vsndevts_c",
"vsndgrps",
"vsndstck", "vsndstck_c",
"vsvg",     "vsvg_c",
"vts",      "vts_c",
"vxml",     "vxml_c"
 

What cannot it do  它做不到的

It cannot download the resources for the clients.
它无法为客户端下载资源。

Configuration  配置

Upload your workshop packages (the ones that you have uploaded to workshop) into the "Assets" folder inside the plugin folder. (plugins/ResourcePrecacher/Assets) You don't have to list these, each of them will be checked so you can upload as many as possible.
把你已经上传到创意工坊的套件,上传到插件文件夹里的“Assets”文件夹里。( plugins/ResourcePrecacher/Assets ) 你不必列出这些,每一个都会被勾选,以便你尽可能多地上传。

Folder Structure:  文件夹结构:

plugins  插件

  • ResourcePrecacher   资源预缓存
    • Assets   资产
      • 123456789.vpk
      • 987654321.vpk
      • assets.vpk
      • models.vpk

OR  

Add your resources in the configuration:
在配置中添加你的资源:

{
  "Resources": [
     "models/props_office/file_cabinet_03.vmdl",
     "models/props_exteriors/guardrail512.vmdl",
     // ..
     // ..
     // ..
  ]
}
 

You can use both ways even together, just dont include resources that is already in an uploaded vpk.
你也可以同时使用这两种方式,只要不要包含已经在上传的 VPK 里的资源。

Warning  警告

Hotreloading this plugin has no effect because the resources can only be precached on map start. If you hotreload the plugin you are supposed to change the map atleast to take effect.
热重载这个插件没有效果,因为资源只能在地图开始时预缓存。如果你热重载插件,至少应该修改地图才能生效。

 
上传的附件:

CSGO插件分享-申明 1、本网站名称:CSGO插件分享-中文站  网址:https://bbs.csgocn.net
2、本站的宗旨在于为CSGO玩家提供一个插件分享的中文资源平台,多数插件来源于SourceMod论坛,并配以中文介绍和安装教程。
3、欢迎有能力的朋友共享有趣的CSGO插件资源。
4、本站资源大多为百度网盘,如发现链接失效,可以点: 这里进行反馈,我们会第一时间更新。
最新回复 (1)
返回