Nifflas' Support Forum

Level Editing Support => Knytt Stories Level Editing Support => Topic started by: Texasman on July 07, 2009, 18:46:41

Title: How to use detect target object?
Post by: Texasman on July 07, 2009, 18:46:41
I everyone!

I was making one of my worlds and I wanted to make a target detection very close to juni when she passed.

However my intuition isn't working properly and I don't seem to get it right. X-P

How do I use the detect target object?
Title: Re: How to use detect target object?
Post by: Teper on July 07, 2009, 19:19:31
There are 3 detect target objects in bank 0, one dark green, for a close secret passage, one dark red, for a close danger, and one light green, for when you are very close or in the secret passage. -With thye 2 first, juni will glow a little, with the last one she will glow brightly
Title: Re: How to use detect target object?
Post by: LPChip on July 07, 2009, 19:55:43
And in order to actually see it, you also need the detector powerup. :) (the same that makes juni glow red when near enemies)
Title: Re: How to use detect target object?
Post by: Salmoneous on July 07, 2009, 21:07:09
There are 3 detect target objects in bank 1, one dark green, for a close secret passage, one dark red, for a close danger, and one light green, for when you are very close or in the secret passage.

When near enemies you will glow red but in order to glow green you must add 'detect target' tiles that you can find in bank 0, object 27 and 28. But if you Juni to glow you must have the detector that can be found in bank 0 as object 8. That should be helpful enough.
Title: Re: How to use detect target object?
Post by: Evil on July 08, 2009, 04:05:12
When juni glows it makes me think shes a lightning bug
Title: Re: How to use detect target object?
Post by: Texasman on July 09, 2009, 17:53:59
so the objects target detection are just for making Juni glow?

I thought they were for (for example) a trap detecting Juni and not the other way around.

how do I make an enemy attack on close range?
Title: Re: How to use detect target object?
Post by: Dandelion on July 09, 2009, 18:14:23
Enemies attack automatically, many of them when the player gets close. You could make use of shifts, but it would be a bit choppy and require a custom tileset.
Title: Re: How to use detect target object?
Post by: inky84 on July 09, 2009, 23:55:20
one idea I had for custom enemies was have a CO of the enemy moving a little, and when juni moves forward a little, hits a shift, moving the "kill" object, and replaying the animation of the enemy, but this time one block forward.

you could use this type of system yourself to create a new type of "enemy" that "detects" to your liking.
Title: How to make custom objects
Post by: Texasman on July 14, 2009, 14:23:02
one idea I had for custom enemies was have a CO of the enemy moving a little, and when juni moves forward a little, hits a shift, moving the "kill" object, and replaying the animation of the enemy, but this time one block forward.

you could use this type of system yourself to create a new type of "enemy" that "detects" to your liking.

"killer" idea  inky84  C)p.

one more thing. if I want to create an custom object that moves such as an enemy how do I do it?

on photoshop or on other kind of picture software?
Title: Re: How to make custom objects
Post by: Evil on July 14, 2009, 15:48:55
one idea I had for custom enemies was have a CO of the enemy moving a little, and when juni moves forward a little, hits a shift, moving the "kill" object, and replaying the animation of the enemy, but this time one block forward.

you could use this type of system yourself to create a new type of "enemy" that "detects" to your liking.

"killer" idea  inky84  C)p.

one more thing. if I want to create an custom object that moves such as an enemy how do I do it?

on photoshop or on other kind of picture software?

I know im not inky or anything, but if you want it to move, its in the image...
such as comhons cat: http://www.volny.cz/honstep/Knytt%20Stories/Custom%20Objects/browncat.png

I dont know how to explain it :P

Title: Re: How to use detect target object?
Post by: Bored2death on July 14, 2009, 18:28:31
one idea I had for custom enemies was have a CO of the enemy moving a little, and when juni moves forward a little, hits a shift, moving the "kill" object, and replaying the animation of the enemy, but this time one block forward.

you could use this type of system yourself to create a new type of "enemy" that "detects" to your liking.


"killer" idea  inky84  C)p.

one more thing. if I want to create an custom object that moves such as an enemy how do I do it?

on photoshop or on other kind of picture software?


Well, you could use the Gimp, or paint (but you'll need transparency), but you need to create a sprite sheet that's as big as the area the enemy will move around in, per sprite. There are other things on the forum you can check to learn how to do that. However, you cannot, currently, make an enemy that will kill you when you hit it, without a shift scene.
Title: Re: How to make custom objects
Post by: Texasman on July 15, 2009, 21:51:09
thanks for the tips guys.


I know I'm not inky or anything, but if you want it to move, its in the image...
such as comhons cat: http://www.volny.cz/honstep/Knytt%20Stories/Custom%20Objects/browncat.png

I dint know how to explain it :P



About that. I have seen it before but I wasn't sure how it worked.

Is there any regalement space to separate the various frames of the object?

And by the way, does each frame correspond to a defined period of time?
and it feels like a loop right?
Title: Re: How to use detect target object?
Post by: Miss Paula on July 15, 2009, 22:10:04
the specifications that an image has to meet to work as a custom object are explained in at least two topics that you should be able to find via the [search]. (-:
Title: Re: How to use detect target object?
Post by: Texasman on July 15, 2009, 22:28:49
the specifications that an image has to meet to work as a custom object are explained in at least two topics that you should be able to find via the [search]. (-:

Thanks Miss Paula ;)