Wave: Difference between revisions
Jump to navigation
Jump to search
(Created page with " CustomWaveNumber 419 [$SIGSEGV] Display custom wave number. 511 is the max value CustomMaxWaveNumber 0 [$SIGSEGV] Display custom max wave number. 0 hides the max wave numb...") |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Listed below are all of the custom keyvalues accepted in the Wave{} block by our server mods | |||
==Custom Wave Number== | |||
CustomWaveNumber 419 [$SIGSEGV] | CustomWaveNumber 419 [$SIGSEGV] | ||
Display custom wave number. 511 is the max value | Display custom wave number. 511 is the max value | ||
Line 4: | Line 7: | ||
CustomMaxWaveNumber 0 [$SIGSEGV] | CustomMaxWaveNumber 0 [$SIGSEGV] | ||
Display custom max wave number. 0 hides the max wave number | Display custom max wave number. 0 hides the max wave number | ||
==Custom Loss Conditions== | |||
RedTeamWipeCausesWaveLoss 1 [$SIGSEGV] | RedTeamWipeCausesWaveLoss 1 [$SIGSEGV] | ||
If red team is wiped, it loses | If red team is wiped, it loses | ||
Line 16: | Line 20: | ||
FinishingWaveAndPlayerWipeCausesWaveLoss 1 [$SIGSEGV] | FinishingWaveAndPlayerWipeCausesWaveLoss 1 [$SIGSEGV] | ||
If non support wavespawns are finished, and all players are dead, wave is lost | If non support wavespawns are finished, and all players are dead, wave is lost | ||
<syntaxhighlight> | |||
Explanation [$SIGSEGV] //Dispayed once the wave is initialized | Explanation [$SIGSEGV] //Dispayed once the wave is initialized | ||
{ | { | ||
Line 22: | Line 27: | ||
Line "{red}Red sentries will help you win this wave!" | Line "{red}Red sentries will help you win this wave!" | ||
} | } | ||
</syntaxhighlight> | |||
==Custom Attributes== | |||
<syntaxhighlight> | |||
PlayerAttributes [$SIGSEGV] //Add attributes to players when the wave is active | PlayerAttributes [$SIGSEGV] //Add attributes to players when the wave is active | ||
{ | { | ||
Line 31: | Line 40: | ||
"reload time decreased" 0.25 | "reload time decreased" 0.25 | ||
} | } | ||
</syntaxhighlight> | |||
==Miscellaneous== | |||
<syntaxhighlight> | |||
PlayerAddCond [$SIGSEGV] //Add condition to players when wave starts | PlayerAddCond [$SIGSEGV] //Add condition to players when wave starts | ||
{ | { | ||
Line 40: | Line 53: | ||
Origin "0 -800 500" | Origin "0 -800 500" | ||
} | } | ||
</syntaxhighlight> |
Latest revision as of 06:49, 21 February 2022
Listed below are all of the custom keyvalues accepted in the Wave{} block by our server mods
Custom Wave Number[edit | edit source]
CustomWaveNumber 419 [$SIGSEGV]
Display custom wave number. 511 is the max value
CustomMaxWaveNumber 0 [$SIGSEGV]
Display custom max wave number. 0 hides the max wave number
Custom Loss Conditions[edit | edit source]
RedTeamWipeCausesWaveLoss 1 [$SIGSEGV]
If red team is wiped, it loses
BlueTeamWipeCausesWaveLoss 1 [$SIGSEGV]
If blue human team is wiped, it loses
FinishingWaveCausesWaveLoss 1 [$SIGSEGV]
If non support wavespawns are finished, wave is lost
FinishingWaveAndPlayerWipeCausesWaveLoss 1 [$SIGSEGV]
If non support wavespawns are finished, and all players are dead, wave is lost
Explanation [$SIGSEGV] //Dispayed once the wave is initialized
{
Line "{blue}Sentry tanks will spawn this wave"
Line "{red}Red sentries will help you win this wave!"
}
Custom Attributes[edit | edit source]
PlayerAttributes [$SIGSEGV] //Add attributes to players when the wave is active
{
"increased jump height" 0.5
}
ItemAttributes [$SIGSEGV] //Adds attributes to specified item given to players
{
ItemName "The Scottish Resistance"
"reload time decreased" 0.25
}
Miscellaneous[edit | edit source]
PlayerAddCond [$SIGSEGV] //Add condition to players when wave starts
{
Index 56
}
SpawnTemplate [$SIGSEGV] //spawn template once mission starts
{
Name "Sentry"
Origin "0 -800 500"
}