Nifflas' Support Forum
Level Editing Support => Knytt Stories Level Editing Support => Topic started by: Shenjoku on March 09, 2009, 22:41:40
-
Hey there, I'm trying to add rooms to a map that run through and check flags 0-7 to shift to the next room but I can't get it to work. The first room works fine but after that I can't get anything. like for example we have this room repeated 8 times:
(http://img19.imageshack.us/img19/8525/roomv.png)
You get shifted in on top of ShiftA which checks for flag 0 then shifts to the next room where that room checks for flag 1 to shift to the next room and so on. But for some reason only the first shift works. Any ideas?
-
Warps require you entering the warp screen. Perhaps you could explain more?
-
not sure what else there is to explain...I guess i should say shift instead of warp though since that's what I'm using.
-
Oh. You need to use flag warps. There's no such thing as a flag shift.
-
ohhhhhh....so the flag check only happens when you change screens or something? I have no idea how to get that to work with this situation then x.x Unless there's some way to force a warp?
-
Actually, you use a shift to turn a flag on and/or off. You will only be able to turn on/off three flags in one room. This is because there are only three shifts, A, B, and C. So, you would have to repeat the room like you are doing to turn every Flag on.
I could write up something on Flags if you need me to. Or maybe try reading through My Cut Scene Tutorial (http://nifflas.ni2.se/forum/index.php?topic=20.0) if you haven't already. Let me know, and I'll try to go as in depth as I can. :D I just dont have the time tonight, sleepy time is on it's way!
-
The problem isn't in turning the flags on, they should already be on by this point and what I want to do is make sure the user can not get to the correct room without checking all 8 (0-7) flags
-
Have 8 separate screens, each with a shift to the next. Then, have each shift turn off one of those flags. Then, havve another shift on the same screen and tile, so when you don't warp with ShiftA, you'll warp back with ShiftB to a screen where the old guy tells you that you don't have the Triforce. :O
-
but the other guy mentioned already that you can't use flags with shifts. I tried that already. And I don't want to turn off the flags. If I do that then you won't ever be able to come back if you happen to leave for whatever reason.
-
but the other guy mentioned already that you can't use flags with shifts. I tried that already. And I don't want to turn off the flags. If I do that then you won't ever be able to come back if you happen to leave for whatever reason.
Yes you can. ._. Click on the shift and go to "flags" in the lower-right corner. And you can have a warp out of there back to wherever that warps you to 8 different screens that turns on your flags when you leave. ;)
And, you mean shifts, as in the green boxes, not warps, with the orange, 4 arrow box, right?
-
Well, guess I just wasted my time making this demo. X-P Ah well.
-
Use warps. (The orange 4-arrow box thingy.) If the first flag is enabled, warp the player to an identical screen. If the next flag is enabled, warp to the next, and on and on. Only the final screen should have the new room. Then, the warps on all the previous screens should warp back to the adjoining room.
-
I almost have it working x.x The warp from the last screen is the only broken one now. For some reason it works perfectly fine if I play it using the play test from the editor, but when I actually run through the entire game from start to finish the last room never catches flag 7 no matter how many time I go and set it.
-
Use warps. (The orange 4-arrow box thingy.)
You don't actually need that for flag warps.
Also, did you look at my demo? I think it adequately shows how to do it. :|