Difference between revisions of "XP Settings"
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | === | + | ==cvar overview== |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | === | + | {| cellspacing="2" cellpadding="2" |
− | + | |- style="background: #CCCCFF;" | |
− | New players | + | !width="200"|cvar |
− | + | !width="100"|default | |
− | + | !description | |
− | + | |- style="background-color: #F4F4F4;" | |
− | < | + | |<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. | ||
+ | |} | ||
− | |||
− | |||
− | |||
− | === | + | ==cvar descriptions== |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ===b_statsaver=== | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | === XP | + | 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. | + | 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
Contents
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