Difference between revisions of "XP Settings"

From WolfWiki
Jump to: navigation, search
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
=== Stat-Saver (XP Restore) ===
+
==cvar overview==
b_statsaver - enables/disables the stat saver feature, which will
+
save player stats across disconnects.  see the admin guide for details.
+
default: 1 valid values: 0, 1
+
set b_statsaver 1
+
  
=== Skills Settings ===
+
{| cellspacing="2" cellpadding="2"
''b_defaultskills'' (default: "")<br/>
+
|- style="background: #CCCCFF;"
New players start with these skill levels in each class. The classes in order are:<br/>
+
!width="200"|cvar
battle sense, explosives and construction (engineer), first aid (medic),
+
!width="100"|default
signals (field ops), light weapons, and heavy weapons (soldier).<br/>
+
!description
Therefore, to start everyone with level 2 battle sense and level 3 light weapons, you could set this to "2 0 0 0 3 0 0".  Leaving this setting blank or using 0s for each class uses the normal behavior. (valid values: 0-4 for each skill)
+
|- style="background-color: #F4F4F4;"
<pre>set b_defaultskills ""</pre>
+
|<tt style="color: green;">b_statsaver</tt>
 +
|align="center"|1
 +
|Enables or disables the statsaver feature
 +
|- style="background-color: #EEEEEE;"
 +
|<tt style="color: green;">b_defaultskill</tt>
 +
|align="center" style="color: gray;"|empty
 +
|New players will spawn with these skill levels in each class.
 +
|- style="background-color: #F4F4F4;"
 +
|<tt style="color:green;">b_noskillupgrades</tt>
 +
|align="center"|0
 +
|Enables or disables the gaining of skill or rank upgrades.
 +
|- style="background-color: #EEEEEE;"
 +
|<tt style="color:green;">b_levels_<class></tt>
 +
|align="center" style="color: gray;"|empty
 +
|Configures the number of XP required for each class upgrade.
 +
|}
  
b_noskillupgrades (default: 0)<br/>
 
When set to 1, players may still score XP, but they will no longer gain skill or rank upgrades.  This is especially useful in combination with b_defaultskills to even out gameplay when playing in non-campaign mode. (valid values: 0, 1)
 
<pre>set b_noskillupgrades 0</pre>
 
  
=== Skill Upgrade levels ===
+
==cvar descriptions==
b_levels_<class> (default: "") <class> is: "battlesense" or "engineer", "medic", "fieldops", "lightweapons", "soldier", "covertops" <br/>
+
Configures the number of XP required for each class upgrade.  Setting a skill level to 0 means that a player will start with that skill level, while setting a skill level to -1 or omitting it means that a skill level is disabled.  A blank value means that the default values (20, 50, 90, 140) are used. Examples:<br/>
+
<pre>set b_levels_battlesense "20 30 60 100" // upgrade battle sense faster<br/>
+
set b_levels_medic "20 50 90" // disable level 4 medics<br/>
+
  
set b_levels_battlesense ""<br/>
+
===b_statsaver===
set b_levels_engineer ""<br/>
+
set b_levels_medic ""<br/>
+
set b_levels_fieldops ""<br/>
+
set b_levels_lightweapons ""<br/>
+
set b_levels_soldier ""<br/>
+
set b_levels_covertops ""<br/></pre>
+
  
=== XP Save ===
+
If ''b_statsaver'' is 1, then player XP, skills, medals, weaponstats, team, class, and weapon selection are all saved across disconnects. These stats will still be reset whenever the server would normally reset them (e.g. at the beginng of a new campaign).
Please note that ETPro ''does not'' contain an XP save function. It only has Stat-Saver
+
  set b_statsaver 1
 +
 
 +
===b_defaultskills===
 +
 
 +
New players start with these skill levels in each class. The classes in order are:
 +
* battle sense
 +
* explosives and construction (engineer)
 +
* first aid (medic)
 +
* signals (field ops)
 +
* light weapons
 +
* heavy weapons (soldier)
 +
Therefore, to start everyone with level 2 battle sense and level 3 light weapons, you could use the following setting:
 +
set b_defaultskills "2 0 0 0 3 0 0"
 +
Leaving this setting blank or using 0s for each class uses the normal behavior. Valid values are 0–4 for each skill.
 +
 
 +
===b_noskillupgrades===
 +
 
 +
When set to 1, players may still score XP, but they will no longer gain skill or rank upgrades. This is especially useful in combination with [[XP_Settings#b_defaultskills|b_defaultskills]] to even out gameplay when playing in non-campaign mode.
 +
 
 +
===b_levels_<class>===
 +
 
 +
Configures the number of XP required for each class upgrade. Setting a skill level to 0 means that a player will start with that skill level, while setting a skill level to -1 or omitting it means that a skill level is disabled. A blank value means that the default values (20, 50, 90, 140) are used. Examples:
 +
set b_levels_battlesense  "20 30 60 100"    // upgrade battle sense faster
 +
set b_levels_medic        "20 50 90"        // disable level 4 medics
 +
 
 +
<class> is: "battlesense" or "engineer", "medic", "fieldops", "lightweapons", "soldier" or "covertops"
 +
 
 +
==XP Save==
 +
Please note that [[ETPro]] ''does not'' contain an XP save function. It only has [[XP_Settings#b_statsaver|Stat-Saver]]
  
 
[[Category:ETPro:Server_Cvars]]
 
[[Category:ETPro:Server_Cvars]]

Latest revision as of 16:04, 7 November 2006

cvar overview

cvar default description
b_statsaver 1 Enables or disables the statsaver feature
b_defaultskill empty New players will spawn with these skill levels in each class.
b_noskillupgrades 0 Enables or disables the gaining of skill or rank upgrades.
b_levels_<class> empty Configures the number of XP required for each class upgrade.


cvar descriptions

b_statsaver

If b_statsaver is 1, then player XP, skills, medals, weaponstats, team, class, and weapon selection are all saved across disconnects. These stats will still be reset whenever the server would normally reset them (e.g. at the beginng of a new campaign).

 set b_statsaver 1

b_defaultskills

New players start with these skill levels in each class. The classes in order are:

  • battle sense
  • explosives and construction (engineer)
  • first aid (medic)
  • signals (field ops)
  • light weapons
  • heavy weapons (soldier)

Therefore, to start everyone with level 2 battle sense and level 3 light weapons, you could use the following setting:

set b_defaultskills "2 0 0 0 3 0 0"

Leaving this setting blank or using 0s for each class uses the normal behavior. Valid values are 0–4 for each skill.

b_noskillupgrades

When set to 1, players may still score XP, but they will no longer gain skill or rank upgrades. This is especially useful in combination with b_defaultskills to even out gameplay when playing in non-campaign mode.

b_levels_<class>

Configures the number of XP required for each class upgrade. Setting a skill level to 0 means that a player will start with that skill level, while setting a skill level to -1 or omitting it means that a skill level is disabled. A blank value means that the default values (20, 50, 90, 140) are used. Examples:

set b_levels_battlesense  "20 30 60 100"    // upgrade battle sense faster
set b_levels_medic        "20 50 90"        // disable level 4 medics

<class> is: "battlesense" or "engineer", "medic", "fieldops", "lightweapons", "soldier" or "covertops"

XP Save

Please note that ETPro does not contain an XP save function. It only has Stat-Saver