Mise à jour de 'DoConfig.py'

This commit is contained in:
2022-07-23 13:30:12 +00:00
parent a29b0a5bd6
commit 7ed2b89d90

View File

@@ -340,6 +340,42 @@ class GameOption_UT99_WebServer(GameOption_UT99):
inifile.setAddKeyValue("UWeb.WebServer","bEnabled","False")
inifile.writeFile()
@GameOptions_Factory_Register
class GameOption_UT99_CTF_UseTranslocator(GameOption_UT99):
szOptionName = "CTF_UseTranslocator"
szSectionName = "Botpack.CTFGame"
szKeyName = "bUseTranslocator"
TValueType = OptionType.OT_BOOLEAN
szDefaultValue = "True"
szHelp = "Enable Translocator"
@GameOptions_Factory_Register
class GameOption_UT99_DM_UseTranslocator(GameOption_UT99):
szOptionName = "DM_UseTranslocator"
szSectionName = "Botpack.DeathMatchPlus"
szKeyName = "bUseTranslocator"
TValueType = OptionType.OT_BOOLEAN
szDefaultValue = "True"
szHelp = "Enable Translocator"
@GameOptions_Factory_Register
class GameOption_UT99_DOM_UseTranslocator(GameOption_UT99):
szOptionName = "DOM_UseTranslocator"
szSectionName = "Botpack.Domination"
szKeyName = "bUseTranslocator"
TValueType = OptionType.OT_BOOLEAN
szDefaultValue = "True"
szHelp = "Enable Translocator"
@GameOptions_Factory_Register
class GameOption_UT99_AS_UseTranslocator(GameOption_UT99):
szOptionName = "AS_UseTranslocator"
szSectionName = "Botpack.Assault"
szKeyName = "bUseTranslocator"
TValueType = OptionType.OT_BOOLEAN
szDefaultValue = "True"
szHelp = "Enable Translocator"
if __name__ == "__main__":
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("-v", "--verbosity", action="count", default=0,