Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Working on map, need help.
 
Author
All times are GMT. The time now is 16:06. Post New Thread    Post A Reply
MasterofJKD
Mini-Member


Posts: 60
Registered: 12-11


I was working on a map last night, and I got stuck, I want to have the player press a switch, then once that switch is pressed to then have a door open, and a floor sector lower...I was wondering whether or not zdoom in udmf format supported a predefined action that would let you do multiple things through one action, or would I have to use the command "script execute" I was going to use scripting, but I don't know the command to have a floor lower to a certain height, the other command would just be Door_Open.

Old Post 12-22-11 17:21 #
MasterofJKD is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
MasterofJKD
Mini-Member


Posts: 60
Registered: 12-11


dont need the advice I figured it out, sorry just delete the post, I tried to but I guess I can't.

Old Post 12-22-11 17:53 #
MasterofJKD is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
purist
Senior Member


Posts: 1111
Registered: 04-04


Instead of using a door, which is essentially a ceiling raising, could you instead have a lowering floor? You can then tag the "door" sector the same as the other lowering floor and the switch will activate both. This will then work in vanilla.

Ignore me if your project is ZDoom anyway, I don't know anything about scripts.

Old Post 12-22-11 17:53 #
purist is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
40oz
And who knows, maybe I'm wrong. But that's extremely unlikely because I'm always right.


Posts: 5060
Registered: 08-07


You could skip the ZDoom stuff and just make a walkover line that lowers the floor just before the switch, so that at the time the switch is pressed, it seemingly causes the two actions to happen relatively at the same time. Something as enticing as a switch plate will surely cause the player to step over the unseen line. The possibility of walking over the line without pressing the switch is there but very unlikely. Any Doomer will tell you that they very rarely leave any switch unpressed.

Old Post 12-22-11 18:21 #
40oz is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
hawkwind
Forum Regular


Posts: 789
Registered: 04-04


Since zdoom supports Boom, why not use the "pass use on" flag. For the line that triggers the door, add the "pass use on" flag. Then place a line the same length as the door switch line behind first line ( the door trigger line "passes through" or continues on to the floor trigger line ). Make it textureless and flag it hidden. Give it the action for the lowering floor, and give the new line a new tag number and give this number to the floor lowering sector. Voila!

... Just read that you solved your problem. I was just about to upload a test wad demonstrating this. NVM.

Last edited by hawkwind on 12-24-11 at 07:12

Old Post 12-24-11 06:23 #
hawkwind is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
PRIMEVAL
Senior Member


Posts: 1394
Registered: 03-09



hawkwind said:
Since zdoom supports Boom, why not use the "pass use on" flag. For the line that triggers the door, add the "pass use on" flag. Then place a line the same length as the door switch line behind first line ( the door trigger line "passes through" or continues on to the floor trigger line ). Make it textureless and flag it hidden. Give it the action for the lowering floor, and give the new line a new tag number and give this number to the floor lowering sector. Voila!

... Just read that you solved your problem. I was just about to upload a test wad demonstrating this. NVM.



Actually, I'm curious about how that works...might make some of my maps a bit more interesting.

__________________
Facebook | Twitter | Music on Facebook | Soundclick | Youtube | SoundCloud | ReverbNation

Old Post 12-24-11 17:29 #
PRIMEVAL is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
hawkwind
Forum Regular


Posts: 789
Registered: 04-04


@PRIMEVAL ...

Well you might find my simple test wad of use then ...

http://www.megaupload.com/?d=QVX3A491

Old Post 12-24-11 21:51 #
hawkwind is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
PRIMEVAL
Senior Member


Posts: 1394
Registered: 03-09



hawkwind said:
@PRIMEVAL ...

Well you might find my simple test wad of use then ...

http://www.megaupload.com/?d=QVX3A491



Thank you!

__________________
Facebook | Twitter | Music on Facebook | Soundclick | Youtube | SoundCloud | ReverbNation

Old Post 12-26-11 02:25 #
PRIMEVAL is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 16:06. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Working on map, need help.

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory