Teleport To Line won't work with DECORATE actors.

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
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Teleport To Line won't work with DECORATE actors.

Post by Ceeb »

In my train level (like I saw in Enjay's Runaway Train) I'm using Teleport To Line to warp trees so the areas around the track don't look so bland. The problem? My trees (which I got the sprites from Witchaven from, hence the name :roll: ) won't teleport when they hit the line, but a regular old stalagtite works, and so does the player. Here's the tree's code. (The other tree is the same, but with another sprite, so I'll only post one for simplicity's sake.)

Code: Select all

ACTOR WitchavenTree1 30039
{
height 100
radius 34
+SOLID
	States
	{
	Spawn:
	WTRE A -1
	Stop
	}
}
EDIT: I solved my own problem by parenting the trees off of the Stalagtite. I hate when that happens. (Solve my own problem five minutes after I post it... :roll: ) Either way, I'll leave this topic in case anyone has a similar problem.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Teleport To Line won't work with DECORATE actors.

Post by Graf Zahl »

Can it be that your tree was just too large for the destination spot? The Stalagtite is not that different from your tree:

Code: Select all

ACTOR Stalagtite 47
{
	Game Doom
	Radius 16
	Height 40
	+SOLID
	States
	{
	Spawn:
		SMIT A -1
		Stop
	}
}
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Teleport To Line won't work with DECORATE actors.

Post by Ceeb »

No, there was plenty of room. Not to mention when I parented my tree off of the Stalagtite, I kept it's increased size, and it still worked.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Teleport To Line won't work with DECORATE actors.

Post by Graf Zahl »

It can't be DECORATE as all internal actors are done the same way.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Teleport To Line won't work with DECORATE actors.

Post by Ceeb »

Graf Zahl wrote:It can't be DECORATE as all internal actors are done the same way.
Well, I dunno, but I at least found a way around it (even if it's a bit hacky).
Locked

Return to “Editing (Archive)”