Police Story - Catch a criminal.

Started by RobinTendo, February 28, 2019, 02:43:12 PM

Previous topic - Next topic

RobinTendo

In this level you catch a criminal who's hiding in Histreet 74. So, time to go catch some criminal. :viridian:

Also, you get to steal a donut.

Here are the screenshots:




Looks kinda cool, right. Anyway, I do not want to brag too much, you will see everything when you play the level

Balneor

#1
This is pretty nice :viridian:

(Picture 1) : All of the scripts in this level are repeating, but since the level itself is linear, you usually don't need to backtrack, hence avoiding triggering them again. But it is encounterable in this particular room. By its nature, if you wait long enough the moving platforms are eventually going to desynchronise (They don't move by the same units depending on if there are walls near the platform bounds), making progress a bit troublesome as time goes on. The player could leave and re-enter the room to reset their positions, triggering the script twice in the meantime. The very first cutscene have this problem, though to a lesser extend because it's very unlikely to die until the first checkpoint is activated.
You can generally fix this issue by using internal scripting (Mostly ifflags and iftrinkets), along with a load script. But it's okay if you don't know how to do that yet.

(Pic 2) : This script doesn't work in-game, most likely because of that incorrect "react" command. Dunno how it got there in the first place, since all the other scripts are using the correct ones. And forget about that flag command, I put it there for unrelated reasons.