Hi,
I would like to affect AssignStartPlot() without altering the original lua file for maximum compatibility.
The distance used is coming from GlobalParameters.START_DISTANCE_MAJOR_NATURAL_WONDER
This is stored in \Data\GlobalParameters.xml so the easy way would be to modify that file by a replacement (or sql).
Now what I would like to do is build a slider in the UI under advanced option that would be replacing this value ?
So I could get a slider using a Config.xml
<Row ParameterId="Slider" Name="LOC_SLIDER_NAME" Description="LOC_SLIDER_DESC" Domain="SliderRange" DefaultValue="2" ConfigurationGroup="Game" ConfigurationId="Distance" GroupId="AdvancedOptions" Hash="0" SortIndex="2900" />
But then how can I tie it to an existing parameters and then ensure it would be overriden ?
I would like to affect AssignStartPlot() without altering the original lua file for maximum compatibility.
The distance used is coming from GlobalParameters.START_DISTANCE_MAJOR_NATURAL_WONDER
This is stored in \Data\GlobalParameters.xml so the easy way would be to modify that file by a replacement (or sql).
Now what I would like to do is build a slider in the UI under advanced option that would be replacing this value ?
So I could get a slider using a Config.xml
<Row ParameterId="Slider" Name="LOC_SLIDER_NAME" Description="LOC_SLIDER_DESC" Domain="SliderRange" DefaultValue="2" ConfigurationGroup="Game" ConfigurationId="Distance" GroupId="AdvancedOptions" Hash="0" SortIndex="2900" />
But then how can I tie it to an existing parameters and then ensure it would be overriden ?