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 > DOOM 1 E1M8 question
 
Author
All times are GMT. The time now is 15:03. Post New Thread    Post A Reply
support4u
Warming Up


Posts: 20
Registered: 11-09


DOOM 1 E1M8 question

In this lvl with the first 2 barons of hell, when u kill them both, the wall ( star shaped ) lowers

how the hell is that done? i can only find the tag on the wall. but not on the enemies?

i wanna know how its done plz :)

Old Post 11-08-09 15:43 #
support4u is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
a ghost... only grey


Posts: 5188
Registered: 01-08


Doom Wiki to the rescue - it's a map special.

Old Post 11-08-09 16:08 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4484
Registered: 08-00


It's one of those early indicators that DOOM should have had a scripting language, along with donut line specials and crap like the Boss Brain pointers ;) It's hard-coded both to the map it occurs on, and the type of monster that must die to trigger it.

Old Post 11-08-09 16:40 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
darkreaver
Forum Regular


Posts: 985
Registered: 05-08


Also how many monsters that must be killed? Or just all of that certain type?

Old Post 11-08-09 19:58 #
darkreaver is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ultraboy94
Member


Posts: 479
Registered: 03-09


a soon as all barons of hell are dead in the level any floor tagged 666 will lower.

Old Post 11-08-09 19:59 #
Ultraboy94 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
VoltDriver
Warming Up


Posts: 13
Registered: 11-09


So basically you wont need scripting in order to lower the floor. Once all barons are dead, any floor tagged with 666 will lower? I must try this..

Old Post 11-08-09 20:40 #
VoltDriver is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Nomad
Senior Member


Posts: 1508
Registered: 04-04


Read the article that GreyGhost linked to. It only works on certain maps.

Old Post 11-08-09 20:43 #
Nomad is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ultraboy94
Member


Posts: 479
Registered: 03-09



VoltDriver said:
So basically you wont need scripting in order to lower the floor. Once all barons are dead, any floor tagged with 666 will lower?


as long as the map you are making is for doom 1/ultimate doom, the map name is E1M8, and you havent made a new MAPINFO for the wad, then yes.

Old Post 11-08-09 20:43 #
Ultraboy94 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6962
Registered: 01-03



Quasar said:
along with donut line specials



What's so bad about the donut? The stairbuilding method is far worse!

Old Post 11-08-09 20:56 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
entryway
Forum Staple


Posts: 2522
Registered: 01-04



Graf Zahl said:
What's so bad about the donut? The stairbuilding method is far worse!

Donut should not work at all because of wrong condition. It's a big luck it works in some (two?) places in doom1.

Old Post 11-08-09 21:14 #
entryway is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6962
Registered: 01-03


Yes, but that'd count as a bug, not a badly designed feature.

Old Post 11-08-09 21:15 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
LogicDeLuxe
Member


Posts: 628
Registered: 08-03


What's so bad about the stairbuilding method? I can see, they had to trick their own idbsp to handle them by having dummy tags every second step, but that's certainly not the doom engine's fault.
Other than that, I think, they are pretty straight forward and easy to use.
Of course, even without scripts, you can create the same effect with other line specials, but not only would you push the limits of the vanilla engine, you couldn't even do this with idbsp in all cases.

Old Post 11-09-09 10:51 #
LogicDeLuxe is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
-_DLD_-
Forum Regular


Posts: 1053
Registered: 10-05


I'm actually curious as to how to implement a script similar on your own to compensate for something such as changing the level's MAPINFO or to change the specific thing (to say, a Spider Mastermind instead of Barons).

Old Post 11-09-09 11:42 #
-_DLD_- is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
LogicDeLuxe
Member


Posts: 628
Registered: 08-03



-_DLD_- said:
I'm actually curious as to how to implement a script
What engine? The ZDoom wiki has some handy examples, like this: http://zdoom.org/wiki/ThingCount

Old Post 11-09-09 11:53 #
LogicDeLuxe is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6962
Registered: 01-03



LogicDeLuxe said:
What's so bad about the stairbuilding method? I can see, they had to trick their own idbsp to handle them by having dummy tags every second step, but that's certainly not the doom engine's fault.
Other than that, I think, they are pretty straight forward and easy to use.




Nothing, really. But compared to the selection method the donut is harmless.

Old Post 11-09-09 13:13 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 2710
Registered: 05-03


With DeHackEd, you can change what monsters have the BossDeath codepointer, so the effect can theoretically be used with any monsters, although the same conditions apply. With the KeenDie codepointer, however, you can make a door open on any map after all of a certain monster is killed. Not sure if this is available on Doom/Ultimate Doom though, but it gives you some vanilla-compatible solutions.

Old Post 11-09-09 14:58 #
EarthQuake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 6458
Registered: 07-07



EarthQuake said:
With DeHackEd, you can change what monsters have the BossDeath codepointer, so the effect can theoretically be used with any monsters, although the same conditions apply.

Only with the pre-1.9 version of Doom that allowed UAC_DEAD to work. After that was changed, the bossdeath code specifically checked for level numbers and monster types.

ZDoom lets you change that quite easily with MAPINFO, since you can define any level special for a given map, and associate it to any monster you want (though if it doesn't call A_BossDeath when it dies, it's not going to work). Of course, if you use ZDoom, you can as well use ACS... Still, the MAPINFO approach is probably simpler for a newbie.

I suppose that all ports that have externalized map information (Eternity, Doomsday, etc.) have a similar capacity to let you redefine which monster triggers what when they're all dead.


EarthQuake said:
With the KeenDie codepointer, however, you can make a door open on any map after all of a certain monster is killed. Not sure if this is available on Doom/Ultimate Doom though, but it gives you some vanilla-compatible solutions.

As far as I remember, there's no map check, so it should work in an ExMy map as well.

Old Post 11-09-09 15:26 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 6962
Registered: 01-03


There's no map check and no game check. It opens a door on any map you use it on.

Old Post 11-09-09 15:56 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
-_DLD_-
Forum Regular


Posts: 1053
Registered: 10-05



LogicDeLuxe said:
What engine? The ZDoom wiki has some handy examples, like this: http://zdoom.org/wiki/ThingCount
Yeah, ZDoom. I'm trying to get an E1M8 effect (for my E1M8, actually) of a wall to lower when you kill the Spider Mastermind.

I put the following into DB2's script editor:

script 1 OPEN
{
While(ThingCount(T_SPIDERMASTERMIND, 0) > 0)
Delay(35);

Floor_LowerToLowest(666, 20);
}

Saved it, then imported it into SLumpEd (new lump from file). It shows up as an "Unknown" type, so I right clicked and hit Compile ACS only to get this error:

Line 3 in file "\DooM\FINALDOOM\dlde1m8.acs" ...
\DooM\FINALDOOM\dlde1m8.acs:3: t_spidermastermind : Identifier has not been declared.
> While(ThingCount(T_SPIDERMASTERMIND,
> ^
ainedgla'Ø;ÿ’

Which kind of puzzles me, because according to my interpretation, this is a list of thing names, and that's what the name "should" be.

I'd have given it a tid instead of 0, but for some reason DB2 doesn't appear to let you tag things (that or I'm retarded).

Again, I apologize for all my questions, but I don't know the first thing about scripting or implementing them and I haven't been able to find a simple guide for it related to what I want to do from hours of searching various websites.

Old Post 11-09-09 20:46 #
-_DLD_- is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 6458
Registered: 07-07


You seem to have forgotten the mandatory line in your script lump...
code:
#include "zcommon.acs"

Put that at the top of the lump and try compiling again.

Old Post 11-09-09 21:18 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
-_DLD_-
Forum Regular


Posts: 1053
Registered: 10-05


That would do it.

After testing it, it appears I did something wrong, be it scripting, implementation, or the map itself.

Here is the file that I'm wrestling with. I'm trying to make the middle pillar (as a dummy until I make the real map) lower when you kill the Spider Mastermind. The script seems to be there in SLumpEd, DB2, etc, and the file loads with no errors, but nothing happens when I off the Spider Mastermind.

[Edit] I actually ended up fixing the problem by deleting the script and editing the MAPINFO to read:

map E1M8 "Nerve Centre"
cluster 1
music D_E1M8
sky1 sky1 0.0
next EndGame1
spidermastermindspecial
specialaction_lowerfloor

And tag the sector I wanted lowered as 666.

I still remain curious as to how I'm supposed to write and implement similar scripts so I (and possibly the author of this topic) won't be restricted from directly ripping off the vanilla Doom scripts as to give more variety.

Last edited by -_DLD_- on 11-10-09 at 01:31

Old Post 11-09-09 21:59 #
-_DLD_- is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 15:03. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > DOOM 1 E1M8 question

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