ESF天神殿CS七龙珠|ESFKAMI Earth's Special Forces Homepage
Forum Home Forum Home > 资源|Sfuff > 插件|Plugins
  New Posts New Posts
  FAQ FAQ  Forum Search    RegisterRegister  Login Login

[模块|Module]缓存资源列表|Precache List

 Post Reply Post Reply
Author
Message
Jerry小坏 View Drop Down
Admin Group
Admin Group
Avatar

Joined: 10 Dec 2016
Location: China
Posts: 271
Post Options Post Options   Quote Jerry小坏 Quote  Post ReplyReply Direct Link To This Post Topic: [模块|Module]缓存资源列表|Precache List
    Posted: 28 Feb 2017 at 2:23pm
作者|Author:
Akatsuki

下载地址|Download Link:

命令|Command:
reslist

说明|Description:
[CN]我们常听到半条命的MOD设有512缓存限制,用这个模块可以列出游戏缓存了多少资源[]
[EN]We all know that HL Mod has 512 Precache Limit, this module can list the precached resources.

提示|Note:
[CN]
模型(包括SPR和地图)的缓存限制是512个[]
声音的缓存限制是512个[]
事件的缓存限制是256个[]
[EN]
Model(including Sprite and Map) Precache Limit: 512
Sound Precache Limit: 512
Event Precache Limit: 256

#define MAX_MODELS 512
#define MAX_SOUNDS 512
#define MAX_EVENTS 256

#define MAX_RESOURCES ( MAX_MODELS + MAX_SOUNDS + MAX_EVENTS )

if ( sv.num_resources > MAX_RESOURCES )
{
  Sys_Error( "Too many resources on server." );
}



Edited by Jerry小坏 - 19 Mar 2017 at 5:12pm
Back to Top
 Post Reply Post Reply

Quick Reply
Name:

Message:
   Enable BBcodes to format post
Security Code:
Code Image - Please contact webmaster if you have problems seeing this image code Load New Code
CAPTCHA Software by Web Wiz CAPTCHA version 4.0 wwf
Copyright ©2005-2008 Web Wiz
Please enter the Security Code exactly as shown in image format.
Cookies must be enabled on your web browser.
 

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.64 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in .109 seconds.