construction does not work

Questions about how to create your own dungeons and replacement graphics and sounds.

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

construction does not work

Post by THOM »

Hey

I've rebuilt the construction in the first upper room (the one with the sun-picture and the alcove) I think I did it really propper - but it does not work. Any Ideas why? - did I forget something?
Here ist whats written down at my textfile:

Code: Select all

ref000411-3	WALLITEM_ALCOVE_SQUARE		0	11	0	EAST		STATE=(INVISIBLE)	OPBY=(MISC_TAPESTRY)	ACTION=(ACTIVATE)	TARGET=(ref000012-1)	OPTIONS=(DESTROY_ITEM,SOUND:NULL)
ref000411-4	WALLITEM_TAPESTRY			0	11	0	EAST		OPBY=(HAND_EMPTY)	ACTION=(ACTIVATE)	TARGET=(ref000012-1,ref000412-1)	OPTIONS=(SOUND:NULL)
ref000012-1	WALLITEM_RELAY			0	12	0	CENTRE	ACTION=(TOGGLE)	TARGET=(ref000411-3,ref000411-4)

could anyone help me?
regards

THOM


forgot: strangly what exact happens is - I can "take" the Tapestry away (CREATE_NEW_IN_MOUSE) but when I try to put it back nothing happens.
Once I gave the alcoveaction a sound - I could hear it on touching it with the Tapestry, that was all...
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Not entirely sure, but I suspect destroying the tapestry isn't helping much (DESTROY_ITEM). What is item ref000412-1? It's missing from this code portion.
User avatar
THOM
Artisan
Posts: 198
Joined: Sat Feb 28, 2004 9:22 pm
Location: Cologne, Germany
Contact:

Post by THOM »

the missing Item is

Code: Select all

ref000412-1	WALLITEM_ACTION			4	12	0	CENTRE	ACTION=(ACTION_CREATE_NEW_IN_MOUSE,MISC_TAPESTRY,NULL)	STRENGTH=(0)
Destroying Item is whats written in the DMII File - and there it works!
And indeed: you have to get off your Tapestry - otherwise it would remain in your hand and that doesn#t look like as if it's sticked back to the wall.
Post Reply