Gound Stamp Problem

Here is what I'm trying to do.

I want apeice of dirt to be displaded after a certain time. So I use a stamp in the local initialization of a map. Then I call a conditional to see if it time to put it down. I link this to a stamp control that places the dirt on the ground. All this works like it's supposed to.

Here's the problem. I have placed a NPC close to the dirt and with a range of 2 he walks under the dirt (and so can I). I don't want to be able to walk under the dirt but ON the dirt(NPC too). How do I make it do that?

------------------
Albadar
- - - - - - - - - -
Just trying...

Quote

Originally posted by Albadar:
**Here is what I'm trying to do.

I want apeice of dirt to be displaded after a certain time. So I use a stamp in the local initialization of a map. Then I call a conditional to see if it time to put it down. I link this to a stamp control that places the dirt on the ground. All this works like it's supposed to.

Here's the problem. I have placed a NPC close to the dirt and with a range of 2 he walks under the dirt (and so can I). I don't want to be able to walk under the dirt but ON the dirt(NPC too). How do I make it do that?
**

NPCs and the playing character can walk under a stamp if their feet are higher on the screen than the lowest edge of the stamp. I found a solution for this in my plugin when I needed an NPC to walk across a plank. I created the NPC with a lot of white space below it and at the very bottom of the pct I put one pixel of color. This is out of view when playing the game. Because the NPC graphic's bottom edge is now below the stamp, the NPC walks on top of the plank rather than under it. I don't know if you can adapt that method to what you want to do, but it is one way to make it work. If you are using an animated NPC, you will have to have that dot of color on every frame of the animation but you can adjust the feet of the NPC to where they should normally be with the centering option. You might want to switch to this altered NPC only for the time you use your ground stamp. Post back if what I said doesn't make sense.

Edit: typo
------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damsels.sit")Damsels in Distress(/url) - A plugin for PoG.

(This message has been edited by Rubber Ducky (edited 06-30-2003).)

Quote

Originally posted by Rubber Ducky:
**Post back if what I said doesn't make sense.
**

No it makes sense. But I didn't want to do it that way, Isn't there some other way that doesn't make me edit something complex (read- way to many frames) like a new character.? Please tell me there is a way, without putting down 'no-access' squares on the ground first!
This a fresh map of my on making.

------------------
Albadar
- - - - - - - - - -
Just trying...

In the things you can do in an event I think there is something called change tile picture (or something like that) which I haven't tried. I don't know how you would change a ground tile though and that's what you really want to do. Using a stamp could place the stamp on top of an NPC which is worse than having him walk under it. But neither looks good.

To go back to experience, I had one scene in which the hero jumps with a small girl to a rock in the middle of a stream. I spent two days trying to figure out why my hero would make the jump and the girl didn't jump with him. Turned out the girl WAS making the jump but she kept jumping under the rock rather than on top of it. Because the rock was a big one, she was completely hidden and I didn't know where she went. Unfortunately, the game engine does not appear to give you a choice of which layer you place a stamp on.

That just gave me a thought though. Suppose you changed your stamp to an item which is marked "back" meaning under the player. The item would have to have, as its idle picture a one frame animation replaced by a "used" picture of the same animation. Sort of like the holes of money in PoG except that the idle and used picts are identical.

------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damsels.sit")Damsels in Distress(/url) - A plugin for PoG.

Quote

Originally posted by Albadar:
**Here is what I'm trying to do.

I want apeice of dirt to be displaded after a certain time. So I use a stamp in the local initialization of a map. Then I call a conditional to see if it time to put it down. I link this to a stamp control that places the dirt on the ground. All this works like it's supposed to.

Here's the problem. I have placed a NPC close to the dirt and with a range of 2 he walks under the dirt (and so can I). I don't want to be able to walk under the dirt but ON the dirt(NPC too). How do I make it do that?

**

I believe the change map cell function would do what you need. Not only does it change access but also tiles.

------------------
Thanks,
GrahamVH
graham@warcraftcentral.com
Coldstone Developer (url="http://"http://www.warcraftcentral.net/legends/main.html")http://www.warcraftc...gends/main.html(/url)

Quote

Originally posted by GrahamVH:
**I believe the change map cell function would do what you need. Not only does it change access but also tiles.
**

Oh, if that would work, that would be great. But I'm using the soil from the POG farm (tilled earth) and it has white space around it.

Quote

Originally posted by RubberDucky
**
Suppose you changed your stamp to an item which is marked "back" meaning under the player. The item would have to have, as its idle picture a one frame animation replaced by a "used" picture of the same animation. Sort of like the holes of money in PoG except that the idle and used picts are identical.
**

This sounds like a good idea. I just have to make sure it isn't a 'take' right.? yeah. Then I could "launch Item to place it on the exact spot i nedd. Thanks man, err duck! 😄

------------------
Albadar
- - - - - - - - - -
Just trying...