AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   engine_i686 ( SV_AddToResourceList ) (https://forums.alliedmods.net/showthread.php?t=198612)

Bos93 10-18-2012 11:12

engine_i686 ( SV_AddToResourceList )
 
How to add resources? ( Sounds ( weapons reload ),txt files ( messages weaponlist ) )

It is not considered as a limit 512

Arkshine 10-18-2012 13:48

Re: engine_i686 ( SV_AddToResourceList )
 
It's unrelated to what you want do. This function is related to custom.hpk which is used to store other players logos in.

Bos93 10-18-2012 14:40

Re: engine_i686 ( SV_AddToResourceList )
 
Arkshine,what the function pecache list, where I can add resources?

Arkshine 10-18-2012 14:44

Re: engine_i686 ( SV_AddToResourceList )
 
precache_*() natives.

If you question is how to avoid to hit limit of 512 items per type of files ( model/sprites, sounds and generic ), even if it's technically possible to increase it, there is no practical way. So, you should stop trying something you won't find.

Bos93 10-18-2012 15:06

Re: engine_i686 ( SV_AddToResourceList )
 
I know that there is a function with PrecacheList, where you can add some resources, who are d-loaded by the client on connect from the HTTP server, I just want to to reduce sound/spritte count

Arkshine 10-18-2012 15:21

Re: engine_i686 ( SV_AddToResourceList )
 
Precaching is NOT about ONLY sending a file to the client.

Bos93 10-18-2012 15:33

Re: engine_i686 ( SV_AddToResourceList )
 
What do you mean?

Arkshine 10-18-2012 15:50

Re: engine_i686 ( SV_AddToResourceList )
 
A resource file is parsed in order to retrieve informations stored and is loaded into memory. The file is sent to the client because both client/server need to load in memory such informations.

Brian-__- 10-19-2012 12:35

Re: engine_i686 ( SV_AddToResourceList )
 
I think he has 512 limit precache problem but some sound file is unnecessary for precaching ( client_cmd(id, "spk ..."); ), I think he is asking how to make the client download these files without precaching

Bos93 10-19-2012 13:01

Re: engine_i686 ( SV_AddToResourceList )
 
Brian-__-,yes.


All times are GMT -4. The time now is 02:09.

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