MajorMagee
SOH-CM-2022
In the thread discussing Gecko's new High Rez mapping file that sets the color of the water for ETO, he revealed that we can use a file named State.txt added to the Effects\Fxtextures folder to trigger the different sea states listed at the top of SeaWater.fx.
http://www.sim-outhouse.com/sohforu...Water-Colors?p=1207368&viewfull=1#post1207368
The valid entries are:
Calm
Light
Medium
Heavy
(having no text in the file uses Default)
With the ability to try these all out now I've been able to put together some updated parameters for the SeaWater.fx entries that provides a progression of different sea states. This is set up to have the Default fall in the sequence between Calm and Light.
#if defined Sea_Calm
#define BaseOpacity 0.95
#define WaveBump 6.0
#define WaveScale 6.0
#define FoamAmount 0.33
#define AddFoam
#elif defined Sea_Light
#define BaseOpacity 0.97
#define WaveBump 4.0
#define WaveScale 4.0
#define FoamAmount 0.31
#define AddFoam
#elif defined Sea_Medium
#define BaseOpacity 0.99
#define WaveBump 3.0
#define WaveScale 3.0
#define FoamAmount 0.30
#define AddFoam
#elif defined Sea_Heavy
#define BaseOpacity 1.0 // assumed 1 if not defined
#define WaveBump 2.0
#define WaveScale 2.0
#define FoamAmount 0.29
#define AddFoam
#else // default (i.e. stock CFS3)
#define BaseOpacity 0.99
#define WaveBump 5.0
#define WaveScale 5.0
#define FoamAmount 0.32
#define AddFoam
#endif
Calm
Default
Light
Medium
Heavy
http://www.sim-outhouse.com/sohforu...Water-Colors?p=1207368&viewfull=1#post1207368
The valid entries are:
Calm
Light
Medium
Heavy
(having no text in the file uses Default)
With the ability to try these all out now I've been able to put together some updated parameters for the SeaWater.fx entries that provides a progression of different sea states. This is set up to have the Default fall in the sequence between Calm and Light.
#if defined Sea_Calm
#define BaseOpacity 0.95
#define WaveBump 6.0
#define WaveScale 6.0
#define FoamAmount 0.33
#define AddFoam
#elif defined Sea_Light
#define BaseOpacity 0.97
#define WaveBump 4.0
#define WaveScale 4.0
#define FoamAmount 0.31
#define AddFoam
#elif defined Sea_Medium
#define BaseOpacity 0.99
#define WaveBump 3.0
#define WaveScale 3.0
#define FoamAmount 0.30
#define AddFoam
#elif defined Sea_Heavy
#define BaseOpacity 1.0 // assumed 1 if not defined
#define WaveBump 2.0
#define WaveScale 2.0
#define FoamAmount 0.29
#define AddFoam
#else // default (i.e. stock CFS3)
#define BaseOpacity 0.99
#define WaveBump 5.0
#define WaveScale 5.0
#define FoamAmount 0.32
#define AddFoam
#endif
Calm
Default
Light
Medium
Heavy