Spawning a thing over another thing

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Spawning a thing over another thing

Post by Pinky's ass »

If a thing is in a certain point, another thing can't be spawned on it. :| I want to spawn a thing over another thing to create a pyramid. :mrgreen:

Ho can I do?
User avatar
.+:icytux:+.
Posts: 2661
Joined: Thu May 17, 2007 1:53 am
Location: Finland

Re: Spawning a thing over another thing

Post by .+:icytux:+. »

have you tried giving the thing a tag and then spawning the thing with a height that is above the other thing?
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: Spawning a thing over another thing

Post by CaptainToenail »

Hmm, I have tried giving the Doom explosive barrels a zheight and stacking them in Doom Builder but they just spawn inside each other on the floor. :?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Spawning a thing over another thing

Post by HotWax »

CaptainToenail wrote:Hmm, I have tried giving the Doom explosive barrels a zheight and stacking them in Doom Builder but they just spawn inside each other on the floor. :?
I believe the Z-height is relative to the floor, so a barrel set to a Z of 64 in a sector whose floor height is 128 would actually be spawned at a Z-coordinate of 192. ... Or maybe it's vice versa. ;)

Also make sure you're using Doom in Hexen format, not Doom in Doom format. (Which I'm sure you are because I don't think Z is an option in the latter...)
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Spawning a thing over another thing

Post by Pinky's ass »

.+:icytux:+. wrote:have you tried giving the thing a tag and then spawning the thing with a height that is above the other thing?
The problem is that I'm using SpawnSpot and heigh isn't requested by it. :?
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Spawning a thing over another thing

Post by XutaWoo »

Try giving the map spot a z-height.
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Spawning a thing over another thing

Post by Pinky's ass »

XutaWoo wrote:Try giving the map spot a z-height.
Good idea only for two monsters. :|
User avatar
Nerdking13
Posts: 71
Joined: Tue Apr 22, 2008 4:33 pm

Re: Spawning a thing over another thing

Post by Nerdking13 »

Pinky's ass wrote:If a thing is in a certain point, another thing can't be spawned on it. :| I want to spawn a thing over another thing to create a pyramid. :mrgreen:

Ho can I do?
what if you just made a Gzdoom model of the pyramid?
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Spawning a thing over another thing

Post by XutaWoo »

Nerdking13 wrote:
Pinky's ass wrote:If a thing is in a certain point, another thing can't be spawned on it. :| I want to spawn a thing over another thing to create a pyramid. :mrgreen:

Ho can I do?
what if you just made a Gzdoom model of the pyramid?
Collision.

It'd end up acting like a cube.
User avatar
Pinky's ass
Posts: 507
Joined: Wed Sep 05, 2007 2:17 am
Location: ZDoom Forums

Re: Spawning a thing over another thing

Post by Pinky's ass »

I put a SpawnSpot in a large room and gave it 512 height. I also wrote a restarting script to make a pyramid but it spawns 2 monsters only, one over the other.
Locked

Return to “Editing (Archive)”