You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Reported in forum post https://forums.dfworkshop.net/viewtopic.php?f=22&t=3881&p=45292#p45254. Loading a dungeon save from fresh open does not register custom activation objects. Transitioning out then back into dungeon registers custom activations, as does loading save after transitioning in/out of dungeon.
To Reproduce
Steps to reproduce the behavior are outlined in forum post. To summarise:
Install Climates & Calories mod
Save in dungeon (TODO: Provide test save) in front of fireplace
Exit and restart game
Load test save and note custom activations not working.
Exit and re-enter dungeon and custom activations are working.
Expected behavior
Custom activations to be registered on fresh load in additon to entering dungeon from outside.
@TheLacus Are you able to provide any insight on this one? I'll take a closer look when I can.
The text was updated successfully, but these errors were encountered:
This feature was added with #1768. It should be a pretty straightforward process, maybe the issue is that object names inside dungeons are different in these two situations?
// Invoke any matched custom flat / model activations registered by mods.
string flatModelName = hit.transform.gameObject.name;
int pos = flatModelName.IndexOf(']');
if (pos > 0 && pos < flatModelName.Length - 1)
flatModelName = flatModelName.Remove(pos + 1);
I'll try to replicate with a minimal mod setup one of these days, unless someone precedes me. I'm not sure if we excluded that this is simply an issue with what the mod does on trigger, rather than trigger itself.
Ralzar is also reporting his mods do not start at all in 0.10.24 when using "[Invoke(StateManager.StateTypes.Start, 0)]". Instead he has to use "[Invoke(StateManager.StateTypes.Game, 0)]", which in turn seems to cause other issues.
Can you think of anything that might have changed in the 0.10.24 round of commits that might cause this? Edit: I should add that I can't reproduce this with a test mod on my side. I'm working with Ralzar to try and help isolate why this might be happening on his side.
Describe the bug
Reported in forum post https://forums.dfworkshop.net/viewtopic.php?f=22&t=3881&p=45292#p45254. Loading a dungeon save from fresh open does not register custom activation objects. Transitioning out then back into dungeon registers custom activations, as does loading save after transitioning in/out of dungeon.
To Reproduce
Steps to reproduce the behavior are outlined in forum post. To summarise:
Expected behavior
Custom activations to be registered on fresh load in additon to entering dungeon from outside.
@TheLacus Are you able to provide any insight on this one? I'll take a closer look when I can.
The text was updated successfully, but these errors were encountered: