SRCDS:Komendy
Od HLDS.pl
(Różnice między wersjami)
(standardowo poprawiam literówki) |
(→Opis: błąd merytoryczny) |
||
Linia 9: | Linia 9: | ||
- saves current video configuration to the registry | - saves current video configuration to the registry | ||
Najlepiej jednak jest je wykonywać w [[konsoli]] gry, ale [[rcon|rconem]] czy bezpośrednio w konsoli serwera też można. | Najlepiej jednak jest je wykonywać w [[konsoli]] gry, ale [[rcon|rconem]] czy bezpośrednio w konsoli serwera też można. | ||
− | |||
− | |||
− | |||
*Lista zmiennych wywoływana jest komendą: | *Lista zmiennych wywoływana jest komendą: |
Aktualna wersja na dzień 23:25, 28 wrz 2006
Ten artykuł jest niepełny i wymaga uzupełnienia. Jeżeli jesteś w stanie - postaraj się go uzupełnić.. Pamiętaj, że nawet najmniejsza zmiana jest cenna i pomocna :) |
Spis treści |
Opis
- Nie będę wpisywał wszystkich komend, jest ich dzika masa - lepiej słownik do łapy i sobie tłumaczyć korzystając z niżej opisanych komend.
- Najpierw najlepiej użyć komendy find <tekst>, nap przykład
find video "mat_configcurrent" - show the current video control panel config for the material system "mat_savechanges" - saves current video configuration to the registry
Najlepiej jednak jest je wykonywać w konsoli gry, ale rconem czy bezpośrednio w konsoli serwera też można.
- Lista zmiennych wywoływana jest komendą:
cvarslit
Niesteyty cvarlist niepoprawnie pokazuje zmienne znakowe (np hostname, servercfgfile i tym podobne, gdzie sie tekst wpisuje a nie wartość) . W takim przypadku starczy w konsoli wpisać zmienną i zwróci wartość zmiennej.
Szukanie
Czasem aby ograniczyć ilość linii można dac początkowe litery komendy/zmiennej, np
cvarlist sv_
cvarlist sv_ cvar list -------------- sv_accelerate : 10 : , "sv", "nf", "rep" : sv_airaccelerate : 10 : , "sv", "nf", "rep" : sv_allowdownload : 1 : , "matsys" : Allow clients to download files sv_allowupload : 1 : , "matsys" : Allow clients to upload customizations files sv_alltalk : 0 : , "sv", "nf" : Players can hear all other players, no team restrictions sv_alternateticks : 0 : , "sp", "sv" : If set, server only simulates entities on alternate ticks. sv_autosave : 1 : , "sv" : Set to 1 to save game on level transition. Does not affect autosave triggers. sv_backspeed : 0 : , "a", "sv", "rep" : How much to slow down backwards motion sv_bounce : 0 : , "sv", "nf", "rep" : Bounce multiplier for when physically simulated objects collide with other objects. sv_cacheencodedents : 1 : , "matsys" : If set to 1, does an optimization to prevent extra SendTable_Encode calls. sv_cheats : 0 : , "nf", "rep", "matsys" : Allow cheats on server sv_consistency : 1 : , "rep", "matsys" : Whether the server enforces file consistency for critical files sv_contact : 0 : , "matsys" : Contact email for server sysop sv_debug_player_use : 0 : , "sv", "rep" : Visualizes +use logic. Green cross=trace success, Red cross=trace too far, Green box=radius success sv_debugmanualmode : 0 : , "matsys" : Make sure entities correctly report whether or not their network data has changed. sv_debugresponses : 0 : , "sv" : Show verbose matching output (1 for simple, 2 for rule scoring). If set to 3, it will only show response success/failure for np sv_deltaprint : 0 : , "matsys" : Print accumulated CalcDelta profiling data (only if sv_deltatime is on) sv_deltatime : 0 : , "matsys" : Enable profiling of CalcDelta calls sv_downloadurl : 0 : , "rep", "matsys" : Location from which clients can download missing files sv_dumpresponses : 0 : , "sv" : Dump all response_rules.txt and rules (requires restart) sv_enableoldqueries : 0 : , "matsys" : Enable support for old style (HL1) server queries sv_filterban : 1 : , "matsys" : Set packet filtering by IP mode sv_findsoundname : cmd : : Find sound names which reference the specified wave files. sv_footsteps : 1 : , "sv", "nf", "rep" : Play footstep sound for players sv_forcepreload : 0 : , "a", "matsys" : Force server side preloading. sv_friction : 4 : , "sv", "nf", "rep" : World friction. sv_gravity : 800 : , "sv", "nf", "rep" : World gravity. sv_instancebaselines : 1 : , "matsys" : Enable instanced baselines. Saves network overhead. sv_lagflushbonecache : 1 : , "sv" : Flushes entity bone cache on lag compensation sv_lan : 0 : , "matsys" : Server is a lan server ( no heartbeat, no authentication, no non-class C addresses ) sv_log_onefile : 0 : , "a", "matsys" : Log server information to only one file. sv_logbans : 0 : , "a", "matsys" : Log server bans in the server logs. sv_logblocks : 0 : , "matsys" : If true when log when a query is blocked (can cause very large log files) sv_logdownloadlist : 1 : , "matsys" : sv_logecho : 1 : , "a", "matsys" : Echo log information to the console. sv_logfile : 1 : , "a", "matsys" : Log server information in the log file. sv_logflush : 0 : , "a", "matsys" : Flush the log file to disk on each write (slow). sv_logsdir : 0 : , "a", "matsys" : Folder in the game directory where server logs will be stored. sv_massreport : 0 : , "sv" : sv_max_queries_sec : 3 : , "matsys" : Maximum queries per second to respond to from a single IP address. sv_max_queries_sec_global : 60 : , "matsys" : Maximum queries per second to respond to from anywhere. sv_max_queries_window : 30 : , "matsys" : Window over which to average queries per second averages. sv_max_usercmd_future_ticks : 8 : , "sv" : Prevents clients from running usercmds too far in the future. Prevents speed hacks. sv_maxrate : 0 : , "matsys" : Max bandwidth rate allowed on server, 0 == unlimited sv_maxreplay : 0 : , "matsys" : Maximum replay time in seconds sv_maxspeed : 320 : , "sv", "nf", "rep" : sv_maxunlag : 1 : , "sv" : Maximum lag compensation in seconds sv_maxupdaterate : 60 : , "matsys" : Maximum updates per second that the server will allow sv_maxvelocity : 3500 : , "sv", "rep" : Maximum speed any ballistically moving object is allowed to attain per axis. sv_minrate : 0 : , "matsys" : Min bandwidth rate allowed on server, 0 == unlimited sv_minupdaterate : 10 : , "matsys" : Minimum updates per second that the server will allow sv_netvisdist : 10000 : , "sv", "cheat" : Test networking visibility distance sv_noclipaccelerate : 5 : , "a", "sv", "nf", "rep" : sv_noclipduringpause : 0 : , "sv", "cheat", "rep" : If cheats are enabled, then you can noclip with the game paused (for doing screenshots, etc.). sv_noclipspeed : 5 : , "a", "sv", "nf", "rep" : sv_npc_talker_maxdist : 1024 : , "sv" : NPCs over this distance from the player wont attempt to speak. sv_password : 0 : , "nf", "prot", "matsys" : Server password for entry into multiplayer games sv_pausable : 0 : , "nf", "matsys" : Is the server pausable. sv_precacheinfo : cmd : : Show precache info. sv_pushaway_clientside : 0 : , "sv", "rep" : Clientside physics push away (0=off, 1=only localplayer, 1=all players) sv_pushaway_clientside_size : 15 : , "sv", "rep" : Minimum size of pushback objects sv_pushaway_force : 30000 : , "sv", "rep" : How hard physics objects are pushed away from the players on the server. sv_pushaway_hostage_force : 20000 : , "sv", "cheat", "rep" : How hard the hostage is pushed away from physics objects (falls off with inverse square of distance). sv_pushaway_max_force : 1000 : , "sv", "rep" : Maximum amount of force applied to physics objects by players. sv_pushaway_max_hostage_force : 1000 : , "sv", "cheat", "rep" : Maximum of how hard the hostage is pushed away from physics objects. sv_pushaway_max_player_force : 10000 : , "sv", "cheat", "rep" : Maximum of how hard the player is pushed away from physics objects. sv_pushaway_min_player_speed : 75 : , "sv", "rep" : If a player is moving slower than this, dont push away physics objects (enables ducking behind things). sv_pushaway_player_force : 200000 : , "sv", "cheat", "rep" : How hard the player is pushed away from physics objects (falls off with inverse square of distance). sv_rcon_banpenalty : 0 : , "matsys" : Number of minutes to ban users who fail rcon authentication sv_rcon_maxfailures : 10 : , "matsys" : Max number of times a user can fail rcon authentication before being banned sv_rcon_minfailures : 5 : , "matsys" : Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned sv_rcon_minfailuretime : 30 : , "matsys" : Number of seconds to track failed rcon authentications sv_region : -1 : , "matsys" : The region of the world to report this server in. sv_rollangle : 0 : , "sv", "nf", "rep" : Max view roll angle sv_rollspeed : 200 : , "sv", "nf", "rep" : sv_runcmds : 1 : , "sv" : sv_sendtables : 0 : , "matsys" : Force full sendtable sending path. sv_showanimstate : -1 : , "sv", "cheat" : Show the (server) animation state for the specified entity (-1 for none). sv_showanimstate_log : 0 : , "sv", "cheat" : 1 to output sv_showanimstate to Msg(). 2 to store in AnimStateServer.log. 3 for both. sv_showhitboxes : -1 : , "sv", "cheat" : Send server-side hitboxes for specified entity to client (NOTE: this uses lots of bandwidth, use on listen server only). sv_showimpacts : 0 : , "sv", "rep" : Shows client (red) and server (blue) bullet impact point (1=both, 2=client-only, 3=server-only) sv_showladders : 0 : , "sv" : Show bbox and dismount points for all ladders (must be set before level load.) sv_showlagcompensation : 0 : , "sv", "cheat" : Show lag compensated hitboxes whenever a player is lag compensated. sv_showplayerhitboxes : 0 : , "sv", "rep" : Show lag compensated hitboxes for the specified player index whenever a player fires. sv_skyname : 0 : , "a", "sv", "rep" : Current name of the skybox texture sv_soundemitter_filecheck : cmd : : Report missing wave files for sounds and game_sounds files. sv_soundemitter_flush : cmd : : Flushes the sounds.txt system (server only) sv_soundemitter_trace : 0 : , "sv", "rep" : Show all EmitSound calls including their symbolic name and the actual wave file they resolved to sv_soundscape_printdebuginfo : cmd : : print soundscapes sv_specaccelerate : 5 : , "a", "sv", "nf", "rep" : sv_specnoclip : 1 : , "a", "sv", "nf", "rep" : sv_specspeed : 3 : , "a", "sv", "nf", "rep" : sv_stats : 1 : , "matsys" : Collect CPU usage stats sv_stepsize : 18 : , "sv", "nf", "rep" : sv_stopspeed : 100 : , "sv", "nf", "rep" : Minimum stopping speed when on ground. sv_stressbots : 0 : , "matsys" : If set to 1, the server calculates data and fills packets to bots. Used for perf testing. sv_strict_notarget : 0 : , "sv" : If set, notarget will cause entities to never think they are in the pvs sv_suppress_viewpunch : 0 : , "sv", "rep" : sv_teststepsimulation : 1 : , "sv" : sv_thinktimecheck : 0 : , "sv" : Check for thinktimes all on same timestamp. sv_timeout : 65 : , "matsys" : After this many seconds without a message from a client, the client is dropped sv_turbophysics : 0 : , "sv", "rep" : Turns on turbo physics sv_unlag : 1 : , "sv" : Enables player lag compensation sv_unlag_debug : 0 : , "sv" : sv_unlag_fixstuck : 0 : , "sv" : Disallow backtracking a player for lag compensation if it will cause them to become stuck sv_unlockedchapters : 1 : , "a", "sv" : sv_visiblemaxplayers : -1 : , "matsys" : Overrides the max players reported to prospective clients sv_voicecodec : 0 : , "matsys" : Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension. sv_voiceenable : 1 : , "a", "nf", "matsys" : sv_wateraccelerate : 10 : , "sv", "nf", "rep" : sv_waterdist : 12 : , "sv", "rep" : Vertical view fixup when eyes are near water plane. sv_waterfriction : 1 : , "sv", "nf", "rep" : -------------- 112 convars/concommands for [sv_]
Ciekawostki
Takie ciekawe komendy
- mp3 - aktywuje wewnętrznego playera mp3 , podgląd na Valve Developer Wiki
Linki
Więcej na angielskich stronach