You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
1.5k views
in Bug by (550 points)
closed by
I don't know if this really has something to do with PSDK or not, but it is driving me nuts. I have a specific setup for transitions between rooms in my game. The problem is that the same setup (I mean sequence of commands) works on some tp events, but not on others (meaning in some events, the fade in/out sequence is instantaneous when it's meant to last 20 frames). I can't figure out what's the problem, so after searching on the internet with no success, I decided to ask here. Here's the command sequence for the tp events:

-Change screen color tone to black

-Wait 8 frames

-Teleport

-Play door se

-Change screen color tone to normal

Update: Solution found!

I just disabled the tint system before fading the screen and turned it on again after everything is done. Works fine!
closed with the note: I found a solution for my problem. Thanks for helping anyways!

1 Answer

0 like 0 dislike
by (28.0k points)
Maybe those events has the fade flag set to off in the command (when you press space over the teleport command).
Is it always the same events that does not warp properly or is it kind of random?
by (550 points)
Hi! All of them have the fading property activated. By testing it again, I've noticed that the bug only happens when going from an outdoors zone to an indoors zone. Nothing happens when going to other rooms inside the same house or when exiting it. It just gets bugged when entering an indoor zone from the outside. Could it be something related to the tint system?
by (28.0k points)
It could also be related to the switch 15 being activated.
by (550 points)
i don't think so, it's off. I tried some more things and noticed the same error replicates when going from an outdoors map to other outdoors map. I don't know what's wrong...
by (28.0k points)
Ok then I'll check to see what's the problem :)
I have enough Info for that I think, thanks for the report!
by (28.0k points)
Hi, I just tested and it's 100% the tint system messing up (since it's changing tone).

I found a nice solution that will help you to overcome this issue: right after the teleport command, add a change tone to black with 0 frame and it'll fix the issue :)
by (550 points)
This makes the fading work, but it's delayed. I mean the fading happens afer entering the house.
by (28.0k points)
For event going out you have this right?

-Change screen color tone to black for 8 frames
-Wait 8 frames
-Teleport
-Change screen color tone to black for 0 frames
-Play door se
-Change screen color tone to normal for 8 frames
by (550 points)
Yes, that's it. (Reminder: The problem happens when TPing from an outdoors to an outdoors zone or an outdoors to an indoors zone)
by (28.0k points)
Oh I did not test outdoor to outdoor but I did outdoor => indoor & indoor => outdoor on stock PSDK and what I did was working fine. Ar you using any shader script?
by (550 points)
I don't know what's a shader script, but I don't remember using any new scripts besides two I made to create new particles.
...