-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
389 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -362,3 +362,4 @@ MigrationBackup/ | |
FodyWeavers.xsd | ||
|
||
AnnouncementDraft.txt | ||
Cutscenes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Reflection; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using UnityEngine; | ||
using UnityEngine.Video; | ||
|
||
namespace HKSecondQuest.Endings | ||
{ | ||
internal class CutsceneChanger : MonoBehaviour | ||
{ | ||
bool changed = false; | ||
public string Cutscene; | ||
void Update() | ||
{ | ||
if (!changed && GetComponent<VideoPlayer>()) | ||
{ | ||
changed = true; | ||
string dir = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Cutscenes", Cutscene); | ||
GetComponent<VideoPlayer>().Stop(); | ||
GetComponent<VideoPlayer>().url = dir; | ||
GetComponent<VideoPlayer>().aspectRatio = VideoAspectRatio.FitInside; | ||
GetComponent<VideoPlayer>().Play(); | ||
} | ||
} | ||
} | ||
internal class EndingA : Room | ||
{ | ||
public EndingA() : base("Cinematic_Ending_A") { } | ||
|
||
public override void OnLoad() | ||
{ | ||
GameObject.Find("Cinematic Player").AddComponent<CutsceneChanger>().Cutscene = "Ending1.mp4"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using UnityEngine; | ||
|
||
namespace HKSecondQuest.Endings | ||
{ | ||
internal class EndingC : Room | ||
{ | ||
public EndingC() : base("Cinematic_Ending_C") { } | ||
|
||
public override void OnLoad() | ||
{ | ||
GameObject.Find("Cinematic Player").AddComponent<CutsceneChanger>().Cutscene = "Ending2.mp4"; | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace HKSecondQuest.Rooms.Area7 | ||
{ | ||
internal class Edge12 : Room | ||
{ | ||
public Edge12() : base("Deepnest_East_12") { } | ||
public override void OnLoad() | ||
{ | ||
DestroyGO("Hornet Encounter Outskirts"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using ItemChanger; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace HKSecondQuest.Rooms.Area8 | ||
{ | ||
internal class Area8 : Room | ||
{ | ||
public Area8() : base("Area 8") { Revision = 2; } | ||
|
||
public override void OnWorldInit() | ||
{ | ||
SetTransition("Deepnest_East_03", "right1", "White_Palace_11", "left1"); | ||
SetTransition("White_Palace_11", "door2", "White_Palace_05", "right1"); | ||
SetTransition("White_Palace_05", "left1", "White_Palace_03_hub", "bot1"); | ||
SetTransition("White_Palace_03_hub", "left2", "White_Palace_13", "left2"); | ||
SetTransition("White_Palace_03_hub", "left1", "White_Palace_13", "left1"); | ||
SetTransition("White_Palace_13", "right1", "Room_Mender_House", "left1"); | ||
SetTransition("Room_Mender_House", "left1", "White_Palace_03_hub", "left1", oneWay: true); | ||
SetTransition("White_Palace_03_hub", "right1", "White_Palace_15", "left1"); | ||
SetTransition("White_Palace_15", "right2", "White_Palace_04", "right2"); | ||
SetTransition("White_Palace_04", "top1", "White_Palace_15", "right1"); | ||
//SetTransition("White_Palace_03_hub", "top1", "GG_Hollow_Knight", "door1"); | ||
} | ||
|
||
public override void OnInit() | ||
{ | ||
ReplaceText("MENDER_DIARY", "Hi, my name is Toboter. We've probably never talked, but it seems you are enjoying my mod. And I just wanted to thank you with all my heart for playing it.<page>Many people have contributed to this. I couldn't have changed the game's world like I did without the ItemChanger Mod by homothety and Flibber. And Gaia - the Dancer On The Sun did wonderful work on the cutscenes, which truely elevate the story. homothety also made the MenuChanger mod that made it possible for me to make this a seperate game mode.<page>I want to thank Exempt-Medic, DwarfWoot, Rye and all the other playtesters for enduring a less than stellar version of this mod.<br>And I want to thank everyone in the Hollow Knight Modding Discord who offered guidance and technical help.<page>But the final person I want to thank...<page>Is the one who recommended you the mod.<page>They're the real hero of this story.<page>You want to be thanked for playing? I did that at the very start! Were you even listening?!<page>Okay...<page>fine...<page>Thank you so much for playing. If you want to chat, there's a channel in the Modding Discord. I hope I could temporarily ease some of the burdens on your current path in life. So... Good luck with the rest of the mod, I guess!"); | ||
ReplaceText("WHITE_PALACE", "The Glimmering Palace"); | ||
ReplaceText("WHITE_PALACE_SUPER", "The Glimmering"); | ||
ReplaceText("HK_PRIME_MAIN", "The Glimmering King"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace HKSecondQuest.Rooms.Area8 | ||
{ | ||
internal class MenderHouse : Room | ||
{ | ||
public MenderHouse() : base("Room_Mender_House") { IsFlipped = true; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using HutongGames.PlayMaker; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Reflection; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using UnityEngine; | ||
|
||
namespace HKSecondQuest.Rooms.Area8 | ||
{ | ||
internal class EndingController : MonoBehaviour | ||
{ | ||
bool started = false; | ||
void Update() | ||
{ | ||
GameObject pvCorpse = GameObject.Find("Corpse HK Prime(Clone)"); | ||
if (pvCorpse != null) | ||
{ | ||
Fsm control = pvCorpse.LocateMyFSM("corpse").Fsm; | ||
if (!started && control.ActiveStateName == "End Scene") | ||
{ | ||
started = true; | ||
GameManager.instance.ChangeToScene("Cinematic_Ending_C", "door1", 0); | ||
} | ||
} | ||
} | ||
} | ||
internal class PureVessel : Room | ||
{ | ||
public PureVessel() : base("GG_Hollow_Knight") { } | ||
public override void OnBeforeLoad() | ||
{ | ||
|
||
} | ||
public override void OnLoad() | ||
{ | ||
DestroyGO("Godseeker Crowd"); | ||
GameObject.Find("HK Prime").GetComponent<HealthManager>().hp = 1000; | ||
GameObject.Find("Boss Scene Controller").AddComponent<EndingController>(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using UnityEngine; | ||
|
||
namespace HKSecondQuest.Rooms.Area8 | ||
{ | ||
internal class WhitePalace11 : Room | ||
{ | ||
public WhitePalace11() : base("White_Palace_11") { } | ||
|
||
public override void OnBeforeLoad() | ||
{ | ||
GameObject left1 = PlaceGO(Prefabs.LEFT_TRANSITION.Object, 11, 18, Quaternion.identity); | ||
left1.SetActive(true); | ||
left1.name = "left1"; | ||
left1.transform.GetChild(2).gameObject.SetActive(false); | ||
} | ||
|
||
public override void OnLoad() | ||
{ | ||
DestroyGO("dream_nail_base"); | ||
DestroyGO("dream_beam_animation"); | ||
DestroyGO("doorWarp"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace HKSecondQuest.Rooms.Area8 | ||
{ | ||
internal class WhitePalace13 : Room | ||
{ | ||
public WhitePalace13() : base("White_Palace_13") { IsFlipped = true; } | ||
public override void OnLoad() | ||
{ | ||
PlaceGO(Prefabs.LARGE_PLATFORM.Object, 105, 212); | ||
} | ||
} | ||
} |
Oops, something went wrong.