Creating Custom Screens
Updated 3 days agoRequired tools
You'll require either Rude or Envy, as well as the bundle HydraxousAssetPacker which needs to be put in Assets/Editor
An example asset and the script can be found on the GitHub repository.
Creation
The mod inserts Prefabs found in the exported folder (more about exporting below) so for a screen to be considered valid all you need is to have a Prefab
Use the example prefab in the GitHub repository, although with enough knowledge with Rude or Envy you can certainly go above and beyond
Exporting
Select the folder with the Prefab (or multiple!) to export, right click, and select "Build AssetBundle From Selection - Track Dependencies", this will prompt a window to save it, DO NOT replace it as CustomDeath1.resource, it'll export as CustomDeath1.resource.resource . INSTEAD remove the file, and name it CustomDeath1, this will achieve the desired effect
Additional tidbits
The mod has the function to freeze time on death, for that, the prefab (first object in the prefab hierarchy) must contain the "Speed Weed" script. It is a base game debug script, which in this case is only used as an identifier, and serves no other function.
Putting the "DeathSequence" script inside the prefab will recreate the glitchy effect from the base game death screen