mac53
Mini-Member

Posts: 78
Registered: 09-06 |
You have to copy & paste. I use Microsoft's Photo Editor. Using Xwe extract the switches, [just the small switch, not the whole wall], to a folder. Then open this switch texture with an editor, right-click, then copy. Now open the wall texture you want to make into a switch, then paste the copied switch onto this texture. Now, the tricky part is you have to do this twice, one with the [closed] position switch, then again with the [opened] position switch, so you have to align both of these exactly the same. Be careful NOT to place these switch boxes exactly in the middle! If you do, this will place the switch about 64 pixel high on the wall, I usually go about 1/3 up from the bottom, thus putting the switch right at eye level. Play around with this procedure, it's pretty easy to do once you get the hang of it. Now, let's do the actual switching function. Once you have completed the [2] switches, you need to make them work. First thing you have to give them a name, you'll want to do this so that they are in order. Example; name01.png for your closed switch, then name02.png for your opened switch. Once this is done, now let's make them work. Open a text editor like "Notepad", at the very top line place your entry as follows:
SWITCH NAME01 off sound DSSWTCHN pic NAME02 tics 0
SWITCH NAME02 on sound DSSWTCHX pic NAME01 tics 0
now, save it...
Using Xwe, open your map and check to see if you have an entry called [ANIMDEFS]. If you do just copy and paste in the switch command you just had written in your text document. If you don't have this entry in your map, then you'll have to put one in. With your map open in Xwe, click the "Entry" tab, go to "New", then type in [ALL CAPS]...
[ANIMDEFS], click "OK", then copy and paste your switch command in.
There you go... there's your switch... if you need anymore assistance, just post it over in the main forum under "Classic Doom"... Doom Editing!
Last edited by mac53 on 02-22-07 at 15:55
|