chore: add missing cod4 configuration keys (numlives,

playerrespawndelay, waverespawndelay)
This commit is contained in:
cclecle
2023-09-28 08:45:18 +01:00
parent 6bfbc85758
commit 8797bd3ee1

View File

@@ -491,6 +491,39 @@ class GameOption_COD4_DM_roundlimit(GameOption_COD4):
szHelp = "" szHelp = ""
@GameOptions_Factory_Register
class GameOption_COD4_DM_numlives(GameOption_COD4):
TValueType = OptionType.OT_INTEGER
szOptionName: str = "dm_numlives"
szKeyName: str = "scr_dm_numlives"
bDblQuoted: bool = True
szPrefix = "set"
szDefaultValue = "0"
szHelp = ""
@GameOptions_Factory_Register
class GameOption_COD4_DM_playerrespawndelay(GameOption_COD4):
TValueType = OptionType.OT_INTEGER
szOptionName: str = "dm_playerrespawndelay"
szKeyName: str = "scr_dm_playerrespawndelay"
bDblQuoted: bool = True
szPrefix = "set"
szDefaultValue = "0"
szHelp = ""
@GameOptions_Factory_Register
class GameOption_COD4_DM_waverespawndelay(GameOption_COD4):
TValueType = OptionType.OT_INTEGER
szOptionName: str = "dm_waverespawndelay"
szKeyName: str = "scr_dm_waverespawndelay"
bDblQuoted: bool = True
szPrefix = "set"
szDefaultValue = "0"
szHelp = ""
@GameOptions_Factory_Register @GameOptions_Factory_Register
class GameOption_COD4_TDM_scorelimit(GameOption_COD4): class GameOption_COD4_TDM_scorelimit(GameOption_COD4):
TValueType = OptionType.OT_INTEGER TValueType = OptionType.OT_INTEGER
@@ -524,6 +557,39 @@ class GameOption_COD4_TDM_roundlimit(GameOption_COD4):
szHelp = "" szHelp = ""
@GameOptions_Factory_Register
class GameOption_COD4_TDM_numlives(GameOption_COD4):
TValueType = OptionType.OT_INTEGER
szOptionName: str = "tdm_numlives"
szKeyName: str = "scr_war_numlives"
bDblQuoted: bool = True
szPrefix = "set"
szDefaultValue = "0"
szHelp = ""
@GameOptions_Factory_Register
class GameOption_COD4_TDM_playerrespawndelay(GameOption_COD4):
TValueType = OptionType.OT_INTEGER
szOptionName: str = "tdm_playerrespawndelay"
szKeyName: str = "scr_war_playerrespawndelay"
bDblQuoted: bool = True
szPrefix = "set"
szDefaultValue = "0"
szHelp = ""
@GameOptions_Factory_Register
class GameOption_COD4_TDM_waverespawndelay(GameOption_COD4):
TValueType = OptionType.OT_INTEGER
szOptionName: str = "tdm_waverespawndelay"
szKeyName: str = "scr_war_waverespawndelay"
bDblQuoted: bool = True
szPrefix = "set"
szDefaultValue = "0"
szHelp = ""
@GameOptions_Factory_Register @GameOptions_Factory_Register
class GameOption_COD4_gametype(GameOption_COD4): class GameOption_COD4_gametype(GameOption_COD4):
TValueType = OptionType.OT_STRING TValueType = OptionType.OT_STRING