Jump to content

[Mod]INDY Simple SCake Consequences


Recommended Posts

Posted

INDY Simple SCake Consequences


NB - Unless for some reason you're using an old version of INDY, use the 1.3 version of the mod. It is the up-to-date version that works with the newer versions of INDY.

 

 

 

Simple SCake Consequences is a submod for "I'm Not Dead Yet" (INDY) that (when called) triggers a basic scene between the player and the character that defeated them.

 

It *absolutely requires* that I'm Not Dead Yet be installed. If this submod is installed without the main mod, Palworld *will* crash before reaching the main menu.

 

---

 

What is "I'm Not Dead Yet" / INDY?

Player Defeat mod that can have numerous registered submods under it.

It will prevent the player from being killed / respawning and instead trigger one of the submods installed.

 

---

 

 

Downloadable .7z file contains the *full* path for both Gamepass and Steam versions of the mod. If you use the Steam files for a Gamepass version of Palworld, it won't work. Same the other way.

 

If you want to just extract the mod files themselves, the .pak (& .utoc & .ucas for Gamepass) should be placed in the LogicMods folder in your Palworld install.

 

 

How to use:

After installing the mod and its requirements... MAKE SURE YOU HAVE ALL OF THE REQUIREMENTS INSTALLED CORRECTLY

Get beat up?

 

 

How to uninstall:

Nothing is saved persistently between sessions.

Just delete the .pak (& .utoc & .ucas for Gamepass) and it's gone completely.

 

 

 

Requirements:

UE4SS (https://github.com/UE4SS-RE/RE-UE4SS)   -- at least version 3.0.1 works, untested with experimental

UniPalUI (https://www.nexusmods.com/palworld/mods/1894)  Dev version 0.1  (on loading game, it'll say v1000 in top left in blue)

Project Sugar Cake (https://www.loverslab.com/files/file/33158-project-sugar-cake-scake-animation-and-stat-framework/)

I'm Not Dead Yet (https://www.nexusmods.com/palworld/mods/2266)   -- newest version is best.

 

 

Versions:

SCake Consequences -- this is the old / original file. IDK if it's 1.0, 1.1, or 1.2 but it's BEFORE I updated INDY to use interfaces. If you do not have the expected version of INDY, this version of Consequences will crash the game

SCake Consequences 1.3 -- this is the updated / proper file. It works with newer versions of INDY, it will NOT crash your game even you don't have the right version of INDY installed.


 

Posted

Sorry if I'm annoying but could you please explain in more detail what this mod does or how it functions? Does it just start any animation between the pal that would have killed you instead of killing you? Does the player then die after the animation ends?

Posted (edited)

Any chance this mod could automatically unequip player armor when a scene starts?

 

EDIT: Upon second attempt, it appears the camera not working before was a fluke.

Edited by jharise
Making a correction
Posted
1 hour ago, Serverscrying said:

Sorry if I'm annoying but could you please explain in more detail what this mod does or how it functions? Does it just start any animation between the pal that would have killed you instead of killing you? Does the player then die after the animation ends?

 

I suppose I should explain INDY briefly on this page.

But in short: If you would've been killed, INDY will keep you alive and trigger a submod.

 

This is a submod, and if it is called it will trigger a scene in SCake between the player and the individual that defeated them.

 

It's using the basic scene start in scake; so it will just pick a random animation. No tags / etc. to control what kind of animation. It is after all *Simple* SCake Consequences :P

(It's unlikely to break across updates, but I mostly created it as a proof for doing it)

Posted
57 minutes ago, jharise said:

Any chance this mod could automatically unequip player armor when a scene starts?

 

EDIT: Upon second attempt, it appears the camera not working before was a fluke.

 

Honestly I have no idea how to affect player's gear.

 

It probably could be modified to do that, but I don't know how XD

Posted
12 minutes ago, HappyFoca said:

So basically, something like Skyrim's Defeat mod? Sounds pretty neat!

Simplified, but yes. More or less.

 

INDY is expandable by anyone who wants to, but idk if others will make any submods.

Posted

when i first saw INDY, i knew something like this would be made. didn't quite expect it to be from the mod dev themselves, but nice to see

 

would love to use it, but playing with other ppl that don't wanna use scake so unfortunately out of the question

Posted
11 hours ago, NexusOfChaos said:

when i first saw INDY, i knew something like this would be made. didn't quite expect it to be from the mod dev themselves, but nice to see

 

would love to use it, but playing with other ppl that don't wanna use scake so unfortunately out of the question

 

INDY actually started basically as this submod but a standalone thing.

 

Requests on the TBC Discord server (SCake & more) wanted something like this. People kept saying: "Can someone make this?" and eventually I thought: "screw it, I kinda wanna learn how to use UE so whatever." Then I figured it out and made it.

 

After that, I thought to myself: "Well fuck, this won't play nice with anyone else doing similar things..."

 

So I ripped it in half: defeat side, consequence side, and made it possible to hook multiple consequence submods into INDY + possible for random internet people to make their own submods. =)

 

 

The irony is I haven't actually played Palworld since shortly after Christmas, and I play vanilla / unmodded.

Posted

INDY crashes my game upon launch, error msg is as follows:

 

"LowLevelFatalError [File:C:\works\Pal-UE-EngineSource\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 3489] Could not find SuperStruct ASD_INDY_DefeatedTrigger to create ASD_INDY_DefeatedTrigger"

 

 

I downloaded the mod properly in the 'Logic Mods' section, not sure what could be causing the crash

Posted (edited)
4 hours ago, Ryan247 said:

INDY crashes my game upon launch, error msg is as follows:

 

"LowLevelFatalError [File:C:\works\Pal-UE-EngineSource\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 3489] Could not find SuperStruct ASD_INDY_DefeatedTrigger to create ASD_INDY_DefeatedTrigger"

 

 

I downloaded the mod properly in the 'Logic Mods' section, not sure what could be causing the crash

After some troubleshooting on this issue, we determined the cause was an older version of UniPalUI in the ~mods folder. Which was somehow overwriting the version in the LogicMods folder. Palworld modding black magic, I guess.

After removing that (which had been overwriting the up-to-date version in LogicMods) along with a few other old-duplicates, INDY worked fine.

No idea why the crash log said something about a SuperStruct / DefeatedTrigger... But unhelpful crash reports are par for the course with Palworld mod-related crashes.

 

 

Anyone running into crashes... Make sure UniPalUI says v1000 when loading in the top left (in blue text) otherwise INDY [and other mods] could cause crashes due to calling new/changed functions.

 

Similar problem can happen if you install an older version of Altermatic with the newer version of UniPalUI -- it'll call the old version of the function(s) and crash the game.

Edited by alphabetsoupdog1234
Posted
On 3/5/2025 at 2:33 AM, alphabetsoupdog1234 said:

After some troubleshooting on this issue, we determined the cause was an older version of UniPalUI in the ~mods folder. Which was somehow overwriting the version in the LogicMods folder. Palworld modding black magic, I guess.

After removing that (which had been overwriting the up-to-date version in LogicMods) along with a few other old-duplicates, INDY worked fine.

No idea why the crash log said something about a SuperStruct / DefeatedTrigger... But unhelpful crash reports are par for the course with Palworld mod-related crashes.

 

 

Anyone running into crashes... Make sure UniPalUI says v1000 when loading in the top left (in blue text) otherwise INDY [and other mods] could cause crashes due to calling new/changed functions.

 

Similar problem can happen if you install an older version of Altermatic with the newer version of UniPalUI -- it'll call the old version of the function(s) and crash the game.

Same issue for me too, and i do have UI v1000; SCake v5000; Altermatic v4000 and OK. V2.01 (do to i don't use "Unfairjackal-pals", I use separate pal replacers), showing on the left top when i start the game without this mod.

Posted
8 hours ago, kewpiepasta said:

When I 'die' for the first time it triggers but not the second time, is it something wrong in my side or is it normal?

It's not a problem with this submod but actually a feature of I'm Not Dead Yet itself, the base mod. Simply put, INDY has a cooldown, it won't keep your alive again in such rapid succession, you need to stay alive for long enough for the cooldown to expire before it can protect you again.

Posted
9 hours ago, tomhun1 said:

Same issue for me too, and i do have UI v1000; SCake v5000; Altermatic v4000 and OK. V2.01 (do to i don't use "Unfairjackal-pals", I use separate pal replacers), showing on the left top when i start the game without this mod.

To confirm: Did you also install ASD_indy_PlayerDefeat? SimpleSCakeConsequences is a submod for that, and will not work without it.

 

I just tested (probably should've done so earlier, but never thought to), and having just the submod (this mod) installed without that will crash with this error:

LowLevelFatalError [File:C:\works\Pal-UE-EngineSource\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 3489] Could not find SuperStruct ASD_INDY_DefeatedTrigger to create ASD_INDY_DefeatedTrigger

 

I have absolutely no idea what that error is trying to SAY. But it seems to yell the same thing both if you have an invalid/old version of UPI while INDY is installed... Or if you have a submod without INDY installed...

 

 

If you don't have the INDY main mod, get that. If you do, try it without this submod and see if it loads.

Posted
14 hours ago, kewpiepasta said:

When I 'die' for the first time it triggers but not the second time, is it something wrong in my side or is it normal?

5 hours ago, SwissxPiplup said:

It's not a problem with this submod but actually a feature of I'm Not Dead Yet itself, the base mod. Simply put, INDY has a cooldown, it won't keep your alive again in such rapid succession, you need to stay alive for long enough for the cooldown to expire before it can protect you again.

 

Changing that so it's customizable is my next objective, I'm just currently knocked on my ass by something. Tuesday my fever chills were so bad I was, when I had to get up, walking around in my snowpants and winter jacket inside the heated house.

Posted (edited)

The mod description says it runs animations, but isn't this supposed to run animation mods like banim, lukers, temtem, etc. on Discord? I have other animation mods, and character don't die at 1 hp, but don't run animations.

 

Edited by kdu0714
Posted
On 3/8/2025 at 6:17 PM, kdu0714 said:

The mod description says it runs animations, but isn't this supposed to run animation mods like banim, lukers, temtem, etc. on Discord? I have other animation mods, and character don't die at 1 hp, but don't run animations.

 

 

Assuming you have correctly installed UE4SS / UniPalUI / Project Sugar Cake / INDY & this submod (simple SCake consequences)... When you get beat up, it will call Project Sugar Cake to start an animation.

 

The behavior you describe suggests you installed INDY but not the submod.

Posted
On 3/8/2025 at 9:55 PM, alphabetsoupdog1234 said:

To confirm: Did you also install ASD_indy_PlayerDefeat? SimpleSCakeConsequences is a submod for that, and will not work without it.

 

I just tested (probably should've done so earlier, but never thought to), and having just the submod (this mod) installed without that will crash with this error:

LowLevelFatalError [File:C:\works\Pal-UE-EngineSource\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 3489] Could not find SuperStruct ASD_INDY_DefeatedTrigger to create ASD_INDY_DefeatedTrigger

 

I have absolutely no idea what that error is trying to SAY. But it seems to yell the same thing both if you have an invalid/old version of UPI while INDY is installed... Or if you have a submod without INDY installed...

 

 

If you don't have the INDY main mod, get that. If you do, try it without this submod and see if it loads.

Yea i did not had PlayerDefeat. It works now (at least the game starts).

Posted
16 hours ago, Reepus said:

"Failed to save JSON File to path"

 

Idk what exactly I'm doing wrong, there isn't a lot of information here.

 

That message should not be appearing o.o

 

Before I left for the week (and thus also before I was completely ded for the last week, just about recovered finally -- 10~ days of death woo) I had been trying to figure out how to use JSON files to save / load data with INDY... But they are completely disconnected from the active code.

 

Even if they were connected [which again, they're not - the json code shouldn't even be part of the compiled files], that's STILL not a message that you should be getting.

 

Are you sure it's coming from INDY / SimpleSCakeConsequences?

Posted

Speaking of JSON files...

 

As of 1.0.3 INDY finally actually saves and loads settings.

Admittedly it's only two settings so far (repeat_delay and trigger_percent) but it's a start!

 

It also fixes *another* submod randomization bug.

I'm really not used to basically all variables having global/permanent scope. I'm not a master coder to begin with, and it feels weird having a while loop that uses its own old data if I don't manually clean it up. Which I forgot to do X.x

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...