qc-vars.htm

来自「Quake 的 各 种 文 档 格 式 说 明」· HTM 代码 · 共 39 行

HTM
39
字号
<HTML><HEAD>
<TITLE>Quake-C Specificacions  v1.0</TITLE>
<LINK REV="MADE" HREF="mailto:100625.2622@compuserve.com">
</HEAD>  
<BODY BGCOLOR="#FFFFFF">

<H1><FONT COLOR="#007F00"><A NAME="QC-VARS">Quake-C Console Variables</A></FONT></H1>

<A NAME="d_consolev"></A>

<p>These variables can be read or modified from the console, during game play.
The player can change them, to affect the program behavior.</p>

<p><pre>
"teamplay"      // boolean, true if playing in teams.
"samelevel"     // boolean, if true, then cannot change level.
"noexit"        // boolean, true if can't exit level in deathmatch.
"timelimit" 	// number of minutes the deathmatch will last.
"fraglimit"     // maximum number of frags before deathmatch ends.
"skill"         // text of skill message (?)
"sv_gravity"    // gravity pull, normal value is 800.
"registered"    // boolean, game is registered (do not change).
"temp1"         // to store custom <b>floating point</b> values
</pre>
</p>

<p>Beware that the variables you can read in Quake-C are those that are
<b>defined on the server</b>, not those defined on the client. So if a
player sets a value on his console, there is no chance that you can
ever get this value (unless his console is also the server console).
</p>
<p>Well, at least you can read values set by the server administrator,
for what it's worth.
</p>


<hr>

</BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?