Full Version : Secret Panel
xmlspawner >>XMLSpawner Cool Stuff >>Secret Panel
<< Prev | Next >>
ArteGordon- 01-12-2006
This is a simple demonstration of some of the new features of the TimedSwitchableItem, in particular the linking and offset capabilities.
This spawner will create a short section of wall with a suit of armor in front of it. The armor is actually a TimedSwitchableItem which, when double-clicked, will slide to the left. It is linked to another TimedSwitchableItem behind it which looks like a wall which will also slide to the left.
This reveals an opening which can be passed through. The panel will slide back after 5 seconds.
Notice that one of the items is set to make a rumbling noise when switched, and the other has the default clicking noise. The two of these get played together when activated for a nice effect.
Note, you dont actually need the spawner for setting something like this up and could just do it manually. The spawner is only there to automatically set up the items, then it turns itself off when it's done.
To test it out somewhere just drop the XML file in your Spawns folder and do a
[xmlloadhere secretpanel.xml
also added another variation called secretpanel2.xml
[xmlloadhere secretpanel2.xml