How to use SetupParameters from the start menu for change modifier

Michael Wagner

Chieftain
Joined
Oct 24, 2016
Messages
23
Hi all,

Do someone know how I could use the value of a parameter from the advanced options to modify with e.g. a sql statement the value of a modifier?

I created a Parameter like this:

<Row ParameterID="InitialSettlementCapAntiquity" Name="LOC_ADVANCED_OPTIONS_INITITAL_SETTLEMENT_CAP_ANTIQUITY" Description="LOC_ADVANCED_OPTIONS_INITITAL_SETTLEMENT_CAP_ANTIQUITY_DESC" Domain="uint" Hash="0" DefaultValue="1" ConfigurationGroup="Game" ConfigurationKey="InitialSettlementCapAntiquity" GroupId="AdvancedOptions" SortIndex="2058"/>

And I know I could use the value for some Criteria like this below and then enable a database update if the criteria is fulfilled.
<Criteria id="">
<AgeInUse>AGE_ANTIQUITY</AgeInUse>
<ConfigurationValueMatches>
<Group>Game</Group>
<ConfigurationId>InitialSettlementCapAntiquity</ConfigurationId>
<Value>10</Value>
</ConfigurationValueMatches>
</Criteria>

But I would like to enable the user to set there own settlement cap in the advanced options, and for this I would need to now the value in the sql statement. But the Parameters seems to be in the frontend database and I want to change something in gameplay database. Do someone knows some tricks to solve this?
 
Back
Top Bottom