Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
EANB

Getting monsters to spawn

Recommended Posts

I am wondering how to get monsters to spawn within a map (Zdoom-Doom in Hexen format). When the player crosses a line, I want a demon to spawn in a pit of lava.

Heres what I have so far-

Lindef action: 135 thing spawn
Activation: Player walks over
Spawn Thing: 8
Thing angle: 180

However, I dont understand this which is from the Zdoom wiki article:

Mapspot tag:?

TID is a number that makes a thing unique, the default is zero, and therefore a TID is usually set to something else, like 1. In Doom Builder you have to right click on a thing, select the Effects tab and change the Thing Tag to something besides 0.


How to I get it to work?

Share this post


Link to post

well, to get somtm to spawn in ZDoom, you need a map spot. Just place that in your map, give it a Thing ID tag, and tell the line to spawn thingtype 8 at mapspot <insert tag here>

Share this post


Link to post

I have another question. Why is it that sometimes I have to walk over the line twice, or Backwards to get it to work?

The line is facing < and the player moves >

Share this post


Link to post

flip the linedef, then try it. Can sometimes happen with teleporters, you walk onto them and then have to walk off before the teleport happens, because the linedefs are "facing the wrong way"

Share this post


Link to post

The lindef is facing the right way (the little stick thingy points in the direction that the player comes from), but it doesnt seem to happen anymore (problem is fixed).

Question #3

I have seen some nice lava effects in wads that cause the pool to 'ooze' (in KDIZD, for example). How would I go about implementing this? Floor Waggle just seems to make the pool rize and fall, without oozing.

Share this post


Link to post

The ANIMDEFS lump is the way to go. Look for warp and warp2. The first one warps a flat (or texture) like quake did and the second one is used for a more water-like effect.

I suggest using a static flat,as an animated one just looks plain ugly when warped.

Share this post


Link to post

Thanks. As you can probably tell, I have just started toying around with doom in hexen format- I didnt realize it was so easy to use.

Share this post


Link to post

Alright heres another question-

Is there a way I can get a random monster to spawn in a desired location? (Without using Icon of Sin thingies)

Share this post


Link to post

You could spawn a DECORATE actor which will spawn a random monster in its Spawn state: I'm not a DECORATE wizard but I'm sure that it's a combination of A_Jump and Thing_Spawn. The ZDOOM wiki has documentation about DECORATE.

Share this post


Link to post

fuck decorate
use acs and put all the doom monster spawn numbers in an array and use a combination of thing_spawn() and random() in a script.

Share this post


Link to post

I think I will go for the array thing, but I just looked up arrays on the zdoom wiki and they look awful complicated...

How would I go about writing it?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×