Fix port cinematics and expand ship attractions
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Soundings
|
||||
ScreenGreen = 35, ScreenAmber = 36, BridgeFloor = 37, Upholstery = 38, SafetyGreen = 39,
|
||||
ScreenWater = 40, ScreenLand = 41, ScreenRed = 42, WindowGlass = 43, PoolWater = 44, PoolTile = 45,
|
||||
SuiteCarpet = 46, Brass = 47, ShowVelvet = 48, PoolDeck = 49, LoungeLeather = 50, Marble = 51,
|
||||
PromenadeRunner = 52, Linen = 53;
|
||||
PromenadeRunner = 52, Linen = 53, CasinoFelt = 54;
|
||||
private static readonly string[] Paint =
|
||||
{
|
||||
"142C3F", "E1DBCA", "B88754", "8A613C", "283846", "678B93", "B45944", "497975",
|
||||
@@ -24,7 +24,7 @@ namespace Soundings
|
||||
"B7BFC0", "AD825C", "91A9AF", "284550", "385361", "DCE1DB", "FFF1D7", "202D36",
|
||||
"111D25", "8ED9E0", "65C89B", "E7B868", "3F565C", "416172", "527D65", "29485A", "A8AB71",
|
||||
"D66D57", "80B6C5", "3796A3", "47878F", "485C6C", "BD9660", "85424D", "9BAFA8", "59716B", "E7E0D5",
|
||||
"43696C", "E9DEBD"
|
||||
"43696C", "E9DEBD", "346952"
|
||||
};
|
||||
|
||||
private readonly Transform shipRoot;
|
||||
@@ -205,6 +205,8 @@ namespace Soundings
|
||||
animationTime += Mathf.Max(0, delta);
|
||||
if (bridgeView)
|
||||
return;
|
||||
if (activeIndex < 0)
|
||||
TickSunAttraction(session, delta);
|
||||
Layout layout = activeIndex < 0 ? promenade : decks[activeIndex];
|
||||
if (!layout.Crowd.activeSelf)
|
||||
layout.Crowd.SetActive(true);
|
||||
@@ -254,16 +256,18 @@ namespace Soundings
|
||||
if (plan.HasPool)
|
||||
{
|
||||
float waterY = BridgeHeight + VesselExterior.PoolWaterHeight;
|
||||
float swimLength = poolLength * (plan.OvalPool ? .82f : 1);
|
||||
float wadeLength = plan.OvalPool ? poolLength * .80f : poolLength;
|
||||
AddGuest(layout, GuestActivity.Swim, new Vector3(pool, waterY, -poolWidth * (plan.Resort ? .61f : .47f)),
|
||||
440, 90, sunDeckService, .20f, swimHalfLength: poolLength - 1.11f);
|
||||
440, 90, sunDeckService, .20f, swimHalfLength: swimLength - 1.11f);
|
||||
AddGuest(layout, GuestActivity.Swim, new Vector3(pool - .32f, waterY, plan.Resort ? 0 : .25f),
|
||||
587, -90, sunDeckService, .53f, swimHalfLength: poolLength - 1.43f);
|
||||
587, -90, sunDeckService, .53f, swimHalfLength: swimLength - 1.43f);
|
||||
if (plan.Resort)
|
||||
AddGuest(layout, GuestActivity.Swim, new Vector3(pool - .64f, waterY, poolWidth * .61f),
|
||||
387, 90, sunDeckService, .62f, swimHalfLength: poolLength - 1.76f);
|
||||
AddGuest(layout, GuestActivity.Wade, new Vector3(pool + poolLength - .89f, waterY, poolWidth * .55f),
|
||||
387, 90, sunDeckService, .62f, swimHalfLength: swimLength - 1.76f);
|
||||
AddGuest(layout, GuestActivity.Wade, new Vector3(pool + wadeLength - .89f, waterY, poolWidth * .55f),
|
||||
768, -96, sunDeckService, .33f);
|
||||
AddGuest(layout, GuestActivity.Wade, new Vector3(pool + poolLength - 1.61f, waterY, poolWidth * .64f),
|
||||
AddGuest(layout, GuestActivity.Wade, new Vector3(pool + wadeLength - 1.61f, waterY, poolWidth * .64f),
|
||||
921, 82, sunDeckService, .67f);
|
||||
AddGuest(layout, GuestActivity.Photograph, new Vector3(pool + poolLength + .31f, y, -poolWidth - .52f), 62, -53,
|
||||
sunDeckService, .64f);
|
||||
@@ -285,6 +289,7 @@ namespace Soundings
|
||||
-90, shows, .24f + seat * .18f + row * .15f, .37f);
|
||||
}
|
||||
}
|
||||
AddSunAttractionGuests(layout, plan, y);
|
||||
return layout;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user