Probably this one is for @LeeS
In the August patch we now have a natural wonder selector.
That's driven by the ConfigurationId "EXCLUDE_NATURAL_WONDERS", and we now have a setupparameters able to pass on array.
So GameConfiguration.GetValue("EXCLUDE_NATURAL_WONDERS") returns an array listing the excluded wonder e.g. GameConfiguration.GetValue("EXCLUDE_NATURAL_WONDERS")[1] is "FEATURE_BARRIER_REEF"
Which now point to my question: how can we change the default value of "EXCLUDE_NATURAL_WONDERS" from the XML side ?
e.g. in my Config.xml
<Row Key1="Ruleset" Key2="RULESET_STANDARD" ParameterId="NaturalWonders" Name="LOC_EXCLUDE_NATURAL_WONDER_NAME" Description="LOC_EXCLUDE_NATURAL_WONDER_DESC" Domain="StandardNaturalWonders" Hash="0" Array="1" ConfigurationGroup="Game" ConfigurationId="EXCLUDE_NATURAL_WONDERS" GroupId="MapOptions" UxHint="InvertSelection" SortIndex="230"/>
How can I put a DefaultValue = XXX where XXX would be an array ? Normally it is text or number, any syntax to pass an array in that?
Thanks !
In the August patch we now have a natural wonder selector.
That's driven by the ConfigurationId "EXCLUDE_NATURAL_WONDERS", and we now have a setupparameters able to pass on array.
So GameConfiguration.GetValue("EXCLUDE_NATURAL_WONDERS") returns an array listing the excluded wonder e.g. GameConfiguration.GetValue("EXCLUDE_NATURAL_WONDERS")[1] is "FEATURE_BARRIER_REEF"
Which now point to my question: how can we change the default value of "EXCLUDE_NATURAL_WONDERS" from the XML side ?
e.g. in my Config.xml
<Row Key1="Ruleset" Key2="RULESET_STANDARD" ParameterId="NaturalWonders" Name="LOC_EXCLUDE_NATURAL_WONDER_NAME" Description="LOC_EXCLUDE_NATURAL_WONDER_DESC" Domain="StandardNaturalWonders" Hash="0" Array="1" ConfigurationGroup="Game" ConfigurationId="EXCLUDE_NATURAL_WONDERS" GroupId="MapOptions" UxHint="InvertSelection" SortIndex="230"/>
How can I put a DefaultValue = XXX where XXX would be an array ? Normally it is text or number, any syntax to pass an array in that?
Thanks !