Author of the article: Shalun ( SISA )
Hello =)
I want to share their extraordinary knowledge of CS server and about the method that to me (I think), yet no one applied.
Just say. I am a noob in this, his feet do not hit. My ZM server is made on the basis of this method and had been working for 30 days.
Why do we need this method and what its advantages?
All of you know that the replacement model means amxx creates an additional load on the server, and sometimes the cause of his fall (with a large number of replacement models).
This method allows you to change the model by means of the server itself, even using metamod (and even more so amxx). No plug-ins and other izvraschenstvo.
As well, many of you have with a limit of 512 sounds (when creating ZP servers)
This method is also possible to overcome it and to push the client to -200 (the) sound (depending on the card and the number of weapons).
What do we need?
1) Direct hands
2) Brain
3) The program WinHex (kryaknite its required)
Download:
winhex.rar [1.36 Mb]
4) Plug precache_management
Let's go ...
1) Open the program
2) Find the file mp.dll (\ cstrike \ dlls)
3) We throw it in WinHex
OMG! We see a lot of confusing numbers and letters. Do not worry, we do not need =)
All further work will be carried out buttons ctrl + f (ie, search).
Replacement models.
In general:
Each weapon has three models (except knife):
v_ this model we can see at the screen while playing a first-person (as do the hands and arms)
p_ this model we see in the hands of another player
w_ this model we see on the ground or in the air (if it's a grenade)
Example:
We want to replace the model v_ (the first person) on automatic AK 47
What do we do?
Poke in WinHex search (ctrl + f) and search v_ak47.mdl
Found? Approx. Now what ...
Now we have to change the path from the original on his own.
for example: models/v_ak47.mdl on models/ts/ak7.mdl
Just want to note that your changed the way must not exceed (number of characters), the original path. That is,
models/v_ak47.mdl - 17 characters
models/ts/ak7.mdl - 17 characters
Create your own folder in the models (eg ts), throws back all of their new models and prescribe ways to mp.dll
That's it! No plug-ins, server load, and other dances with a tambourine!
Replacement sounds.
There is already difficult without dancing with a tambourine not do ...
Just want to say that "Overcome" limit of 512 sounds impossible ... I've read a lot of things, and tried to do, but the limit was not conquered.
Try to optimize the server and remove all unnecessary plugins (especially if they are not related to fashion), or they'll cut out the sound.
So where do we get the free space for our sound? The only source - it sounds from the standard weapon =)
Yes, yes ...... we take away from the sounds of prekesha standard weapons (recharge, taking out the arms squeak bombs, etc.), as all these sounds have a client and they do not need a server prekeshe as All these sounds are called model weapons.
Let's go ...
Install the plugin precache_management. What is he doing? It creates a PrecacheList.log (\ cstrike \ addons \ amxmodx \ logs) and writes it prikeshiruemye files. But he says there is not everything, and we do not need it ...
We need the very end of the log, ie
files precached
Here he shows just what a cherished number of sounds that prekeshitsya at the moment (that is, on this map.)
I note that the card itself can gobble up a lot of sounds. You can compare (for example) de_dust2 and cs_sibiria
http://www.fpsbanana.com/maps/126329 and see the difference in the 35-40 sounds! When the fight is for every sound, the difference is palpable 35-40, on the need to keep the stock for saturated maps.
A little theory ...
Sam ZP (the busiest modes) in its pure form, being stuffed with the sounds of most tomatoes, loosely fit in the limit of 512 ... All the problems started when this very cluttered ZP plugins that are driven into prekesh many additional sounds.
That's just it, we shove instead of the standard sounds of weapons.
All the sounds of weapons are available here (\ cstrike \ sound \ weapons). Open the notebook and make a list of replaceable sounds. For example:
famas_boltpull.wav
famas_boltslap.wav
famas_clipin.wav
famas_clipout.wav
famas_forearm.wav
famas-burst.wav
Here's what for need these sounds in 6 prekeshe server, one hell knows ...
Now what?
To begin, create a folder in the (\ cstrike \ sound \ weapons). For example, let's call her st
In this folder, we will store all the extra sounds from the plug-ins.
Open the plug-in, for example, "Chainsaw". Edrene-loaf, as much as 9 sounds!
We change them the way to the weapons / st /
Actually sound names themselves are formed in the process, depending on how long the source (sound exchangeable).
Well, after all, by analogy with the models. We find in WinHex (eg weapons / famas_boltpull.wav) and change it to weapons/st/chain_depl1.wav
weapons / famas_boltpull.wav - 26 characters
weapons/st/chain_depl1.wav - 26 characters
Here we got the first name to sound "chain_depl1.wav"
Now the plugin appends it and do the same with the other sounds.
That's all =)
Translated from russian to english in google translate. taken from zombie-mod.ru.
this is not my idea. i just wanted to post it here so other can see.
EDIT :
Created this topic to help others who have problems with 512, you can use these plugins too, they help ALOT, i got all the weapons i want, items, menus, everything i want with these 3 plugins :
precache_limit.amxx
unprecache2.amxx
anti-limit.amxx
If u want these plugins, contact me in pm, or add me on steam. (Cant post them here due to rules?)
SteamName : Bikzzan
Or just enter chatroom, and invite me on this steamgroup :
http://steamcommunity.com/groups/1nfinityGaming
Then i will give u the link!
I think thats all !
Got some files u might need for this tutorial.. below