Last server records
Pro Nub

Additional functions of LAN server

Posted by Russian Federation Kpoluk 31 Mar in 08:32
If you are already familiar with basic commands of LAN server and Settings menu, but still want to know more about capabilities of our LAN, this article is for you.

Table of contents:

Additional settings
VIP Menu and Voting
Tops and Shortcuts
KZ-Rush Bot
Entity highlight
Sounds


Additional settings


Not all settings could be found in Settings Menu. The most important setting - demo recording mode (kz_mode) - is placed in Main Menu (you can learn more about its usage here, there is also some info about kz_name).

If you want to use a specific player model, just write /models command in chat. You will see menu with one setting:

Player Model (default: Auto)

Which model do you want to use at map launch?
Auto - choose any model (kz_playermodel 5)
GIGN - chose GIGN model (kz_playermodel 4)
SAS - chose SAS model (kz_playermodel 3)
GSG-9 - choose GSG-9 model (kz_playermodel 2)
Seal Team 6 - choose Seal Team 6 model (kz_playermodel 1)
Choose in Menu - open menu before spawning (kz_playermodel 0)

Besides, you can attune hook:

kz_hookspeed - set hook speed (default: 500)
kz_hook_red, kz_hook_green, kz_hook_blue - set hook color in RGB
(by default kz_hook_red 0, kz_hook_green 255, kz_hook_blue 0, i.e. green).

For those who want to see a HUD message after beating world record, there is kz_finishmsg cvar.
For example: kz_finishmsg "World record! Congratulations!"
By default there is no message (kz_finishmsg "")
There won't be any message if map has more than one route.
kz_finishmsg_red, kz_finishmsg_green, kz_finishmsg_blue - set finish message color
(by default the are 255, 255, 255, i.e. white). Note that there won't be any message on maps with more than one route.

As you may know, we accept demos with checkpoints on some maps. Demo recording rules for them are a bit different, for example you are allowed to use special nightvision, not affecting player's fps. It can be enabled with cvar kz_newnightvision (by default it's 0, i. e. standard nightvision used).

Besides mentioned there are a few bot cvars, we'll talk about them below.


VIP Menu and Voting


VIP Menu on LAN server is similar to our public version. You can call it from the Main Menu or by typing /vip:


From here you can mute (Gag Menu), ban (Ban Menu) and teleport (Teleport Menu) to the certain player. By the way, if you want to teleport another player to you, just use standard AXMM console command amx_teleportmenu.

In amxx.cfg (placed in ...\cstrike\addons\amxmodx\configs) among other settings you can find duration of map in minutes: mp_timelimit 0. Zero value means there is no time limit. That's why item Extend Map for 15 minutes in VIP menu is disabled. Nevertheless, you still can Force RTV.

If you use nonzero mp_timelimit, there will be a voting before map change. Maps for the voting are taken from file \cstrike\addons\amxmodx\data\maps.txt. At the first server launch all maps from cstrike/maps folder are written in this file. If later you start some map that won't be found in maps.txt, it will be updated automatically. Besides this file has one more function - if you use wrong case in map name while changing it (for example changelevel hb_shock instead of changelevel hb_ShoCk), than server will notice the mismatch with maps.txt and correct you.


Tops and Shortcuts


Top15 on LAN server can be opened with commands /top15, /pro15, /nub15 and allows to track your best times on maps. Settings of Top15 you could see on the last page of Settings Menu. Note that runs with hook, noclip and pause (yeah, you can /pause timer while not recording demo) will not get into Top15.

If you want to compare you run with site and public server times, use command /records. Also you can check shortcuts with /sc . Actually, both of these commands just shows different tabs of map profile from our site.


KZ-Rush Bot


On our LAN you can create the same bot as you saw on our public servers. Moreover, it can be controlled with menu called by /bot command:

First five items allow you to stop, speed up and down, rewind and start from the beginning. Eighths item will create or remove bot, and seventh item determine which bot all mentioned actions are applied to. Sixths item is bot settings:

1. Download New Bots (cvar kz_bot_download) - allow downloading of bots from our special server. If this is On, at server launch one or more .nav files are downloaded into folder ...\cstrike\addons\amxmodx\data\kzbot\mapname. The default is Off, i. e. nothing will be downloaded. After turning this setting on you should choose 7. Save Settings and relaunch LAN server (command restart in console). Then you will be able to create bot through /bot menu.

2. Remove Old Bots (cvar kz_bot_removeold) - if first setting is enabled, this one defines whether old .nav files should be saved. The default is Off, meaning old files will be automatically deleted.

3. Show only New Bots (cvar kz_bot_showonlynew) - if second setting is in Off state, this one defines whether old bots are available to control through the menu. The default is Off, i. e. even if old files are saved, they won't get in the way in menu.

4. Create on Connect (cvar kz_bot_autocreate) - creates bots automatically on map start (if there are any). The default is Off, so creating is done through the menu.

5. Sync with Start Timer (cvar kz_bot_sync) - if player pressed start button in demo, it can be synchronized with yours. That means that when you press button bot will start his run with you. This function is not completely accurate cause there can be a few presses during the demo. The default is Off.

Note that we update .nav files on our special server manually, so firstly bots of worlds records could be a bit outdated, and secondly we create bots only for maps added to our community. Thereby you may have a need to create your own .nav file. To do this just put a demo into cstrike, relaunch LAN, open /bot menu and choose 9. Parse Demo. You will see a menu where you can select your demo. When creating of .nav file is finished, just run your LAN on corresponding map and create a bot. At that you should disable settings Remove Old Bots (othewise your .nav will be considered as old bot will be deleted) and Show only New Bots (otherwise your bot won't be accessible through the menu).

Note: it's forbidden to use bot during demo recording.


Entity highlight


Sometimes one needs to find specific objects (entities) - buttons, doors, breakables, teleports etc. For this purpose our LAN has a menu allowing to highlight different entities


They are divided into three groups - func_ objects, triggers and others. At that unfortunately you cannot highlight triggers if map was compiled with vhlt or some similar soft, cause there is not enough enough info into the map file (compiler calls it "optimization"). For such situations there is item 6. Trigger Frame, which opens a special menu:


Let's consider its usage on fu_evening, pictured above. We choose trigger_teleport as second item and drawing mode into first item. There are options to draw only object boundaries (Outline) or also lines connecting opposite vertices (Crossline). If the teleport had a form of parallelepiped, it would be enough to choose Draw Box, but in our case the teleport has complicated form, that's why I've chosen Draw Frame. There are so many lines to draw that plugin have draw only a part of them at a time (you cannot see it on screenshot but lines are blinking). Finally, to see the stuff from the picture you just need to touch corresponding teleport (just fall into it). If later you want to touch other teleports but draw only the old one, just set 3. Lock to On. Thanks to these line we can notice that the teleport could be jumped over, which gives us a good shortcut.

Note: it's forbidden to highlight entities during the demo recording.


Sounds


At times you can meet repeating or just annoying sounds on maps. In this case all map sounds can be completely blocked by typing map's name into file ...\cstrike\addons\amxmodx\data\silent_maps.txt.

Standard sounds may be unpleasant as well (they are placed in valve/sound folder), for example some players don't like sounds of swimming under water. They can be muted too, just write a path to the corresponding sound in file ...\cstrike\addons\amxmodx\data\bad_sounds.txt. In case of water sounds it looks like this:

sound/player/pl_swim1.wav
sound/player/pl_swim2.wav
sound/player/pl_swim3.wav
sound/player/pl_swim4.wav


Note: during the demo recording it's forbidden to block sounds important for perception: steps, shots, stabs and damage sounds.