| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
| 00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 |
/** * WebAdmin Settings class for the Double Domination gametypes. * Writen by Brian 'Snake' Alexander. Copyright(c) 2007-2008 All Rights Reserved. */ class xDoubleDomSettings extends UTDomGameSettings abstract; var class<xDoubleDom> xDoubleDomClass; function initSettings() { super.initSettings(); SetIntPropertyByName('TimeToScore', xDoubleDomClass.default.TimeToScore); SetIntPropertyByName('TimeDisabled', xDoubleDomClass.default.TimeDisabled); SetIntPropertyByName('bNoTeamPlayerStart', int(xDoubleDomClass.default.bNoTeamPlayerStart)); SetIntPropertyByName('bUseAltMultiTeamTimeToScore', int(xDoubleDomClass.default.bUseAltMultiTeamTimeToScore)); } protected function saveInternal() { local int retval; GetIntPropertyByName('TimeToScore', xDoubleDomClass.default.TimeToScore); GetIntPropertyByName('TimeDisabled', xDoubleDomClass.default.TimeDisabled); if (GetIntPropertyByName('bNoTeamPlayerStart', retval)) { xDoubleDomClass.default.bNoTeamPlayerStart = (retval != 0); } if (GetIntPropertyByName('bUseAltMultiTeamTimeToScore', retval)) { xDoubleDomClass.default.bUseAltMultiTeamTimeToScore = (retval != 0); } super.saveInternal(); } DefaultProperties { xDoubleDomClass=class'xDoubleDom' UTDomGameClass=class'xDoubleDom' UTTeamGameClass=class'xDoubleDom' UTGameClass=class'xDoubleDom' Properties(14)=(PropertyId=14,Data=(Type=SDT_Int32)) Properties(20)=(PropertyId=20,Data=(Type=SDT_Int32)) Properties(21)=(PropertyId=21,Data=(Type=SDT_Int32)) Properties(22)=(PropertyId=22,Data=(Type=SDT_Int32)) PropertyMappings(14)=(Id=14,name="TimeToScore",ColumnHeaderText="Amount Of Time Needed To Hold Both DomPoints To Score",MappingType=PVMT_Ranged,MaxVal=30.0,RangeIncrement=1.0) PropertyMappings(20)=(Id=20,name="TimeDisabled",ColumnHeaderText="Time DomPoint is Disabled After Score",MappingType=PVMT_Ranged,MaxVal=30.0,RangeIncrement=1.0) PropertyMappings(21)=(Id=21,name="bNoTeamPlayerStart",ColumnHeaderText="Dont Use Team Based PlayerStarts",MappingType=PVMT_IdMapped,ValueMappings=((name="No"),(Id=1,name="Yes"))) PropertyMappings(22)=(Id=22,name="bUseAltMultiTeamTimeToScore",ColumnHeaderText="Use Alt Scoring Method When Playing With 3 Or 4 Teams",MappingType=PVMT_IdMapped,ValueMappings=((name="No"),(Id=1,name="Yes"))) } |
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||