Bunch o questions

How do you make doors that work? How do you make treasure chests that when you click on them they open and drop idems and/or gold? How do I make it so the player can't see through doors and walls?

------------------
Thanks,
GrahamVH

Graham

Doors can be made to open/close via stamps and access tile changes but in order to keep the interior non-visible I would follow Dee's suggestion of a event that changes the players location to another part of the map as he opens the door (You just make a bigg map with or interior draw off screen so youre not loading a new map just "blinking" to a different part. as Dee's explains here:

Quote

Originally posted by Dee:
**Exactly. You can create a local event within the map editor and then link it to the tile (see the event mode part of the map editor section, in the user manual for complete details).

There is 2 ways to do such a thing:

1) Less memory, but longer loading
(The common way you would think about)

The map is one map (or multiple maps). Each house interior is another map. You then link the door within the map to an event that teleport the player to the appropriate house interior map. (see above)

2) More memory, instant loading
(this method would really be better I think)

You create a huge map. You create all the city in the left part of the map and all the house interiors in the right part of the map (so that everything will be loaded at once), at a reasonable distance from each other so that the player won't see the other interiors when in one. You fill the void in the right part of the map with black to create the "interior" illusion. You link each doors of your city to an event, like above, but you these events will only have a "Map Position" action that will instantly teleport the player into the house.

Note: you may want to put the "map position" action between a fade in and fade out effect and play some door sound to improve it.

**

{edit added Dee's original post}

the gold drop is an separate anime file that can be added via the CGE editor

namatse
~stray

------------------
Shift Pattern Graphics at (url="http://"http://shiftprint.com")http://shiftprint.com(/url)
See Coldstone_Tips at: (url="http://"http://coldroom.150m.com/CGE_Stuff/CGE_Tips.html")CGE_Tips(/url)

(This message has been edited by straytoaster (edited 10-26-2002).)

Probably use the location stack actions instead of map positions, its faster and requires no parameters

------------------