Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Topic started by: Duffking on March 03, 2009, 20:15:40

Title: How to walk of the right and appear in another screen?
Post by: Duffking on March 03, 2009, 20:15:40
Something I'm sure I've seen in other's levels is having a room on one map square (say x1000 y1000 for example), then when they walk off the right hand side, you appear in a square 5 to the right instead. How is this done? I've looked at other's levels in the editor and can't see any shifts, and checked the properties.

I ask, because I'm new to the editor and basically want a section where you make some simple jumps in a cave, reach the next screen to grab a powerup, then head back. When you return to the first screen (the one with the jumps), I want a few enemies to have appeared in there - so presumable I'd need 2 versions of the screen, one with enemies and one without, so if the screen is approached from the left it does not have enemies, but if from the right you get the one WITH enemies (and even better, if possible, once you've got the powerup, you ALWAYS get the one with enemies, no matter which side you enter from).

I've seen this done, but can't work out how....

Also, how do you do the 'walk off right side of screen, appear on left of same screen' trick?

Thanks guys :)
Title: Re: Quick questions
Post by: Miss Paula on March 03, 2009, 20:41:57
As far as I know, that's done with Warps. I'm sure when you try the various resources that are linked/posted in the stickied topics in this forum, you'll find more information about them. :)
Title: Re: Quick questions
Post by: Duffking on March 03, 2009, 20:49:59
Thanks, I scanned the little manual thing but didn't spot anything. I was under the impression that warps were placed like shifts though? I'll check it out anyhow.

EDIT: Just watched a video, I see with warps now! I the manual said they had to be placed so I assumed they worked liked shifts and were triggered by walking over them. Going to  give this a go now.

EDIT 2: Ugh, can't get it right :( Managed to make it do something not ordinary but still can't get my head round it. I'm currently on x998 y1001, and the variant of the room I want to visit is on x999y1002?
Title: Re: Quick questions
Post by: AA on March 04, 2009, 19:29:31
EDIT 2: Ugh, can't get it right :( Managed to make it do something not ordinary but still can't get my head round it. I'm currently on x998 y1001, and the variant of the room I want to visit is on x999y1002?

Assuming you want to warp when exiting the room at x998y1001 from the right, you set the Right Warp to Y +1 (i.e. while by going right you would normally end up at x999y1001, putting Y + 1 will make you go one room lower). I hope it's clear enough.

And, about warping only on certain conditions, you can use Flags, which are a bit more complicated, but very useful; unfortunately I never use the Manager, so I can't help with the details.
Title: Re: Quick questions
Post by: Pumpkinbot on March 05, 2009, 00:58:18
Ahh, flags.  <3 First, put bank 0, object 20 anywhere on the screen. Anywhere. Then, go to "3rd Party Tools" and then "Knyt Stories Manager (Current Screen)" If you want to go off the left of the screen and go, let's say, 2 rooms over, check the box near the top of the screen that says, "Warp Left." Then, put a 2 in the "Map X" field. Another way to do this is put the X position and the Y position in the "Target X" and "Target Y" field of your destination. It takes a while to get used to, but you'll get it eventually. ;)
Title: Re: How to walk of the right and appear in another screen?
Post by: LPChip on March 05, 2009, 12:49:51
I've changed the topic title, cus "Quick questions" really is a bad title. No one will ever find it, and on some forums, these topics are even not being read at all.
Title: Re: How to walk of the right and appear in another screen?
Post by: Duffking on March 05, 2009, 17:35:52
Thanks guys, I got it in the end. I then decided to use a shift anyway  :oops:

I'll make use of this stuff later on in my level I think. I don't suppose there's a way you can copy screens en masse is there? I noticed that for multi-difficulty levels it's basically a shift that switches between an easy/hard version of a map. Was that done by cloning screens as you go, or doing the whole lot afterwards?

LPChip - I'll keep that in mind for the inevitable next time I get stuck. Or I could just use this thread instead.
Title: Re: How to walk of the right and appear in another screen?
Post by: Razzorman on March 05, 2009, 19:02:32
You can copy/paste screens by pressin Ctrl+C in the screen you want to copy, and then Ctrl+V In an empty screen. There is no way to copy more than one though. :/
Title: Re: How to walk of the right and appear in another screen?
Post by: Miss Paula on March 05, 2009, 19:24:59
...wouldn't the KSLC copy screens en masse?
Title: Re: How to walk of the right and appear in another screen?
Post by: LPChip on March 05, 2009, 20:10:54
LPChip - I'll keep that in mind for the inevitable next time I get stuck. Or I could just use this thread instead.
Please create a new topic. :) Otherwise its going offtopic. :)