ConVars: Difference between revisions

From Fortress Blast
Jump to navigationJump to search
mNo edit summary
(LINKS)
Line 5: Line 5:
! ConVar !! Description !! Default
! ConVar !! Description !! Default
|-
|-
| <code>sm_fortressblast_action_use <string></code> || Sets the input to watch for when a player wants to use a [[Powerups|powerup]]. The following values are accepted: jump, duck, forward, back, use, cancel, left, right, moveleft, moveright, attack2, run, reload, alt1, alt2, score, speed, walk, zoom, weapon1, weapon2, bullrush, grenade1, grenade2 and attack3. || attack3
| <code>[[sm_fortressblast_action_use]] <string></code> || Sets the input to watch for when a player wants to use a [[Powerups|powerup]]. The following values are accepted: jump, duck, forward, back, use, cancel, left, right, moveleft, moveright, attack2, run, reload, alt1, alt2, score, speed, walk, zoom, weapon1, weapon2, bullrush, grenade1, grenade2 and attack3. || attack3
|-
|-
| <code>sm_fortressblast_bot <0-1></code> || Disables or enables bots using powerups within a random amount of time. || 1
| <code>[[sm_fortressblast_bot]] <0-1></code> || Disables or enables bots using powerups within a random amount of time. || 1
|-
|-
| <code>sm_fortressblast_bot_min <0+></code> || Sets the minimum time after which bots will use a powerup. Requires <code>sm_fortressblast_bot</code> be set to 1. || 2
| <code>[[sm_fortressblast_bot_min]] <#></code> || Sets the minimum time after which bots will use a powerup. Requires <code>sm_fortressblast_bot</code> be set to 1. || 2
|-
|-
| <code>sm_fortressblast_bot_max <#></code> || Sets the maximum time before which bots must use a powerup. Requires <code>sm_fortressblast_bot</code> be set to 1. If this is lower than <code>sm_fortressblast_bot_min</code>, it will become equal to it instead. || 15
| <code>[[sm_fortressblast_bot_max]] <#></code> || Sets the maximum time before which bots must use a powerup. Requires <code>sm_fortressblast_bot</code> be set to 1. If this is lower than <code>sm_fortressblast_bot_min</code>, it will become equal to it instead. || 15
|-
|-
| <code>sm_fortressblast_debug <0-1></code> || Disables or enables debug mode, which displays debug messages in chat and lets all players on the server use the [[Commands|command]] <code>sm_setpowerup</code>. || 0
| <code>[[sm_fortressblast_debug]] <0-1></code> || Disables or enables debug mode, which displays debug messages in chat and lets all players on the server use the [[Commands|command]] <code>sm_setpowerup</code>. || 0
|-
|-
| <code>sm_fortressblast_drop <0-2></code> || Sets how the plugin should handle players dropping powerups on death. Note that dropped powerups do not obey gravity. If set to 0, players will never drop powerups. If set to 1, drops will only occur if the current map does not have an associated [[Powerup locations|.json file]]. If set to 2, drops will always occur. || 1
| <code>[[sm_fortressblast_drop]] <0-2></code> || Sets how the plugin should handle players dropping powerups on death. Note that dropped powerups do not obey gravity. If set to 0, players will never drop powerups. If set to 1, drops will only occur if the current map does not have an associated [[Powerup locations|.json file]]. If set to 2, drops will always occur. || 1
|-
|-
| <code>sm_fortressblast_drop_rate <0-100></code> || Sets the chance that a player will drop a powerup on death, out of 100. Requires <code>sm_fortressblast_drop</code> be set to 1 or 2. || 10
| <code>[[sm_fortressblast_drop_rate]] <0-100></code> || Sets the chance that a player will drop a powerup on death, out of 100. Requires <code>sm_fortressblast_drop</code> be set to 1 or 2. || 10
|-
|-
| <code>sm_fortressblast_drop_team <1-3></code> || Sets the teams that will drop powerups on death. If set to 1, both teams will drop powerups. If set to 2, only RED players will drop powerups. If set to 3, only BLU players will drop powerups. Requires <code>sm_fortressblast_drop</code> be set to 1 or 2. || 1
| <code>[[sm_fortressblast_drop_team]] <1-3></code> || Sets the teams that will drop powerups on death. If set to 1, both teams will drop powerups. If set to 2, only RED players will drop powerups. If set to 3, only BLU players will drop powerups. Requires <code>sm_fortressblast_drop</code> be set to 1 or 2. || 1
|-
|-
| <code>sm_fortressblast_gifthunt_goal <#></code> || Sets the [[Gift Hunt]] gift goal for the first player group, such as when there is only one player on the server. || 125
| <code>[[sm_fortressblast_gifthunt_goal]] <#></code> || Sets the [[Gift Hunt]] gift goal for the first player group, such as when there is only one player on the server. || 125
|-
|-
| <code>sm_fortressblast_gifthunt_increment <#></code> || Sets how much the Gift Hunt gift goal should increase for each player group besides the first. Requires <code>sm_fortressblast_gifthunt_players</code> be set to a value between and including 1 and 31. || 25
| <code>[[sm_fortressblast_gifthunt_increment]] <#></code> || Sets how much the Gift Hunt gift goal should increase for each player group besides the first. Requires <code>sm_fortressblast_gifthunt_players</code> be set to a value between and including 1 and 31. || 25
|-
|-
| <code>sm_fortressblast_gifthunt_players <0-32></code> || Sets how large each player group is when determining the new Gift Hunt gift goal. If a group is full and there are more players left, those players will be put into a new group, and so on. The values 0 and 32 prevent the gift goal from increasing. || 4
| <code>[[sm_fortressblast_gifthunt_players]] <0-32></code> || Sets how large each player group is when determining the new Gift Hunt gift goal. If a group is full and there are more players left, those players will be put into a new group, and so on. The values 0 and 32 prevent the gift goal from increasing. || 4
|-
|-
| <code>sm_fortressblast_gifthunt_rate <0-100></code> || Sets the chance that each info_target named <code>fb_giftspawn</code> on a Gift Hunt map will spawn a gift when there are no gifts left, out of 100. || 20
| <code>[[sm_fortressblast_gifthunt_rate]] <0-100></code> || Sets the chance that each info_target named <code>fb_giftspawn</code> on a Gift Hunt map will spawn a gift when there are no gifts left, out of 100. || 20
|-
|-
| <code>sm_fortressblast_mannpower <0-2></code> || Sets whether Mannpower powerups are replaced with Fortress Blast powerups on maps with a <code>tf_logic_mannpower</code> entity. If set to 0, Mannpower powerups are never replaced. If set to 1, replacing will only occur if the current map does not have an associated .json file. If set to 2, replacing will always occur. || 2
| <code>[[sm_fortressblast_mannpower]] <0-2></code> || Sets whether Mannpower powerups are replaced with Fortress Blast powerups on maps with a <code>tf_logic_mannpower</code> entity. If set to 0, Mannpower powerups are never replaced. If set to 1, replacing will only occur if the current map does not have an associated .json file. If set to 2, replacing will always occur. || 2
|-
|-
| <code>sm_fortressblast_powerups <1-1023></code> || A bitfield that denotes which powerups are enabled. A value outside of the possible range (or a value that only enables Mystery) will forcefully enable all powerups. Add the [[Powerups|bits of your preferred powerups]] together to find the value you want. See [[sm_fortressblast_powerups]] for more details.|| -1
| <code>[[sm_fortressblast_powerups]] <1-1023></code> || A bitfield that denotes which powerups are enabled. A value outside of the possible range (or a value that only enables Mystery) will forcefully enable all powerups. Add the [[Powerups|bits of your preferred powerups]] together to find the value you want. See [[sm_fortressblast_powerups]] for more details.|| -1
|-
|-
| <code>sm_fortressblast_spawnroom_kill <#></code> || Disables or enables respawn room entities killing enemies that touch them. This is recommended if the [[Mega Mann]] powerup is enabled, as it can be used to exploit into partially solid objects. || 1
| <code>[[sm_fortressblast_spawnroom_kill]] <#></code> || Disables or enables respawn room entities killing enemies that touch them. This is recommended if the [[Mega Mann]] powerup is enabled, as it can be used to exploit into partially solid objects. || 1
|}
|}


[[Category:Pages to update with new powerups]]
[[Category:Pages to update with new powerups]]

Revision as of 22:00, 24 November 2019

ConVars can only be executed manually in the server console or automatically through .cfg files. Override the default values in tf/cfg/server.cfg, and insert map-specific values in tf/cfg/<map name here>.cfg.

ConVar Description Default
sm_fortressblast_action_use <string> Sets the input to watch for when a player wants to use a powerup. The following values are accepted: jump, duck, forward, back, use, cancel, left, right, moveleft, moveright, attack2, run, reload, alt1, alt2, score, speed, walk, zoom, weapon1, weapon2, bullrush, grenade1, grenade2 and attack3. attack3
sm_fortressblast_bot <0-1> Disables or enables bots using powerups within a random amount of time. 1
sm_fortressblast_bot_min <#> Sets the minimum time after which bots will use a powerup. Requires sm_fortressblast_bot be set to 1. 2
sm_fortressblast_bot_max <#> Sets the maximum time before which bots must use a powerup. Requires sm_fortressblast_bot be set to 1. If this is lower than sm_fortressblast_bot_min, it will become equal to it instead. 15
sm_fortressblast_debug <0-1> Disables or enables debug mode, which displays debug messages in chat and lets all players on the server use the command sm_setpowerup. 0
sm_fortressblast_drop <0-2> Sets how the plugin should handle players dropping powerups on death. Note that dropped powerups do not obey gravity. If set to 0, players will never drop powerups. If set to 1, drops will only occur if the current map does not have an associated .json file. If set to 2, drops will always occur. 1
sm_fortressblast_drop_rate <0-100> Sets the chance that a player will drop a powerup on death, out of 100. Requires sm_fortressblast_drop be set to 1 or 2. 10
sm_fortressblast_drop_team <1-3> Sets the teams that will drop powerups on death. If set to 1, both teams will drop powerups. If set to 2, only RED players will drop powerups. If set to 3, only BLU players will drop powerups. Requires sm_fortressblast_drop be set to 1 or 2. 1
sm_fortressblast_gifthunt_goal <#> Sets the Gift Hunt gift goal for the first player group, such as when there is only one player on the server. 125
sm_fortressblast_gifthunt_increment <#> Sets how much the Gift Hunt gift goal should increase for each player group besides the first. Requires sm_fortressblast_gifthunt_players be set to a value between and including 1 and 31. 25
sm_fortressblast_gifthunt_players <0-32> Sets how large each player group is when determining the new Gift Hunt gift goal. If a group is full and there are more players left, those players will be put into a new group, and so on. The values 0 and 32 prevent the gift goal from increasing. 4
sm_fortressblast_gifthunt_rate <0-100> Sets the chance that each info_target named fb_giftspawn on a Gift Hunt map will spawn a gift when there are no gifts left, out of 100. 20
sm_fortressblast_mannpower <0-2> Sets whether Mannpower powerups are replaced with Fortress Blast powerups on maps with a tf_logic_mannpower entity. If set to 0, Mannpower powerups are never replaced. If set to 1, replacing will only occur if the current map does not have an associated .json file. If set to 2, replacing will always occur. 2
sm_fortressblast_powerups <1-1023> A bitfield that denotes which powerups are enabled. A value outside of the possible range (or a value that only enables Mystery) will forcefully enable all powerups. Add the bits of your preferred powerups together to find the value you want. See sm_fortressblast_powerups for more details. -1
sm_fortressblast_spawnroom_kill <#> Disables or enables respawn room entities killing enemies that touch them. This is recommended if the Mega Mann powerup is enabled, as it can be used to exploit into partially solid objects. 1