Add riverboat captain career and distinct ship classes

Add class-specific vessel geometry and sea motion, a guided helm qualification path, dockside sailing orders, and local excursions at all 24 ports.
This commit is contained in:
josh
2026-11-29 20:41:00 -05:00
parent 46624bf5ba
commit 290e4cb45d
67 changed files with 1783 additions and 301 deletions

View File

@@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: a06717a292f9696c2b30b2ae098981c8
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: f3e687d2e63d56f53ad71ede794a575a
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 09f229b4f2b7d1a3aa517fcdfb34ea4d
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,23 @@
fileFormatVersion: 2
guid: 5181a9e0aeedf8fd4bad1bbb685c4ad1
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -697,3 +697,9 @@
border-color: #ffd58f;
border-width: 2px;
}
.navigation-chart .port-sailing-selected {
background-color: #315957;
border-color: #769c86;
color: #f6e7c1;
}

View File

@@ -151,7 +151,7 @@ Shader "BigShipTycoon/Harbor Water"
float swellDetail = 1 - smoothstep(175, 700, distance);
float textureDetail = 1 - smoothstep(68, 525, distance);
float surfaceDetail = 1 - smoothstep(23, 175, distance);
float roughness = lerp(.60, 1.18, _WeatherSeverity);
float roughness = lerp(.60, 1.18, _WeatherSeverity) * lerp(1, .66, _TycoonRiverWater);
float2 slope = waves.yz * swellDetail + WindSlope(position, chop.b, _SeaTime) * textureDetail * roughness
+ ((chop.rg - .5) * .34 + rippleSlope * .29) * textureDetail * roughness
+ surfaceSlope * (.115 * surfaceDetail * roughness);
@@ -162,6 +162,8 @@ Shader "BigShipTycoon/Harbor Water"
float cap = saturate(dot(normal, Sun) * .84 + (chop.b - .5) * textureDetail * .63 + .35);
float3 fromBelow = lerp(float3(.028,.125,.192), float3(.078,.250,.294), cap);
fromBelow = lerp(fromBelow, fromBelow * .57 + float3(.022,.032,.036), _WeatherSeverity);
float3 riverWater = lerp(float3(.061,.130,.113), float3(.139,.249,.215), cap);
fromBelow = lerp(fromBelow, riverWater, _TycoonRiverWater);
if (_PortMotion > .5)
{
float3 shallowWater = lerp(float3(.03,.31,.32), float3(.15,.52,.48), cap);
@@ -173,10 +175,11 @@ Shader "BigShipTycoon/Harbor Water"
float reflectedLight = pow(sunHit, lerp(28, 15, _WeatherSeverity));
color += (nearSun * .43 + reflectedLight * .13) * float3(1,.86,.65) * (1 - _WeatherSeverity * .88);
float crest = waves.x / lerp(.35, 1.46, _WeatherSeverity * _WeatherSeverity);
float crest = waves.x / WaveAmplitude(_WeatherSeverity);
float churn = .55 * chop.b + .28 * ripples.b + .17 * surface.b;
float capFoam = smoothstep(.65, .85, churn + crest * .19 + length(slope) * .17);
color = lerp(color, float3(.64,.74,.76), capFoam * textureDetail * (.035 + _WeatherSeverity * .58));
color = lerp(color, float3(.64,.74,.76), capFoam * textureDetail * (.035 + _WeatherSeverity * .58)
* lerp(1, .26, _TycoonRiverWater));
if (_HullSpan.x > 1)
{

View File

@@ -1,18 +1,24 @@
#ifndef TYCOON_OCEAN_WAVES
#define TYCOON_OCEAN_WAVES
float _TycoonRiverWater;
float WaveAmplitude(float storm)
{
return lerp(lerp(.61, 1.95, storm * storm), lerp(.22, .44, storm), _TycoonRiverWater);
}
float3 OceanWave(float2 position, float time, float storm)
{
float amplitude = lerp(.35, 1.46, storm * storm);
float2 windWave = float2(.052, .115);
float2 swellWave = float2(-.073, .170);
float2 crossWave = float2(.217, -.136);
float2 windWave = lerp(float2(.052, .115), float2(.197, .235), _TycoonRiverWater);
float2 swellWave = lerp(float2(-.024, .054), float2(-.088, .13), _TycoonRiverWater);
float2 crossWave = lerp(float2(.217, -.136), float2(.40, -.31), _TycoonRiverWater);
float s1, c1, s2, c2, s3, c3;
sincos(dot(position, windWave) - time * .93, s1, c1);
sincos(dot(position, swellWave) - time * 1.22 + 1.3, s2, c2);
sincos(dot(position, crossWave) - time * 1.64 + 2.9, s3, c3);
float2 gradient = .65 * windWave * c1 + .25 * swellWave * c2 + .10 * crossWave * c3;
return amplitude * float3(.65 * s1 + .25 * s2 + .10 * s3, gradient);
sincos(dot(position, windWave) - time * lerp(.93, 1.55, _TycoonRiverWater), s1, c1);
sincos(dot(position, swellWave) - time * lerp(.75, 1.02, _TycoonRiverWater) + 1.3, s2, c2);
sincos(dot(position, crossWave) - time * lerp(1.64, 2.03, _TycoonRiverWater) + 2.9, s3, c3);
float2 gradient = .49 * windWave * c1 + .39 * swellWave * c2 + .12 * crossWave * c3;
return WaveAmplitude(storm) * float3(.49 * s1 + .39 * s2 + .12 * s3, gradient);
}
#endif

View File

@@ -295,3 +295,10 @@
.voyage-map-north { position: absolute; top: 8px; left: 10px; color: #c4d6d1; font-size: 12px; }
.voyage-map-key { margin-left: 10px; }
.voyage-map-swatch { width: 12px; height: 2px; margin-right: 4px; }
.helm-practice-readout {
color: #d9cba3;
font-size: 13px;
white-space: normal;
margin: 3px 0 6px;
}

View File

@@ -79,6 +79,12 @@ Shader "BigShipTycoon/Port Scenery Surface"
albedo *= 1 + TycoonStipple(face, 18) * .17 + TycoonStipple(face, 7.8) * .070;
else if (_Detail == 7)
albedo *= 1 + TycoonGrain(face, 33) * .105;
else if (_Detail == 8)
{
float reeds = smoothstep(-.27,.24, coarse * .67 + relief * .51);
float thatch = TycoonStipple(face + fine, 20) * .13 + TycoonGrain(face, 13) * .09;
albedo = lerp(albedo * float3(.71,.84,.79), albedo * float3(1.16,1.07,.87), reeds) * (1 + fine * .20 + thatch);
}
float diffuse = saturate(dot(n, sun));
float sky = n.y * .5 + .5;