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

DECORATE/Thing_Hate/monster not teleporting...

Recommended Posts

OK so I've set up this part in my TC where you set some prisoners free, and they are supposed to run towards a teleport and "vanish" from the game. Well, they're not teleporting, and I have no idea why. Here's all the details.

DECORATE for the prisoner:

ACTOR Prisoner1 10100
{
	Health 5000
	Radius 20
	Height 96
	Mass 100
	Speed 12
	PainChance 1
	Monster
	+INVULNERABLE
	+NODAMAGE
	+NOTELEFRAG
	+NOBLOOD
	+NEVERFAST
	+DORMANT
	-COUNTKILL
	States
	{
	Spawn:
		PRS1 G 2 A_Look
		Loop
	See:
		PRS1 GHIJKLMNO 3
		Goto Escape
	Escape:
		PRS1 AABBCCDDEEFF 2 A_Chase
		Loop
	}
}
ACS script that sets up the "hate" as well as everything else during that part:
script 201 (void)
{
	if (prisoners == FALSE) // don't do this one twice
	{
			prisoners = TRUE;
			Thing_Activate(2);
			delay(70);
			print(s:"mission success");
			mission = 1;
			Ceiling_RaiseByValue(209,10,112);
			Thing_Activate(3);
			Thing_Activate(4);
			Thing_Activate(5);
			Thing_Activate(6);
			Thing_Activate(7);
			delay(35);
			Ceiling_RaiseByValue(210,10,112);
			Thing_Activate(8);
			Thing_Activate(9);
			Thing_Activate(10);
			Thing_Activate(11);
			Thing_Activate(12);
			delay(35);
			Ceiling_RaiseByValue(211,10,112);
			Thing_Activate(13);
			Thing_Activate(14);
			Thing_Activate(15);
			Thing_Activate(16);
			Thing_Activate(17);
			delay(35);
			Thing_Hate(3,18,6);
			Thing_Hate(4,18,6);
			Thing_Hate(5,18,6);
			Thing_Hate(6,18,6);
			Thing_Hate(7,18,6);
			Thing_Hate(8,18,6);
			Thing_Hate(9,18,6);
			Thing_Hate(10,18,6);
			Thing_Hate(11,18,6);
			Thing_Hate(12,18,6);
			Thing_Hate(13,18,6);
			Thing_Hate(14,18,6);
			Thing_Hate(15,18,6);
			Thing_Hate(16,18,6);
			Thing_Hate(17,18,6);
	}
}
There are 15 prisoners with TIDs from 3 to 17. I've also created a hate target with a TID of 18 for them to "chase". Here's the map section:



The prisoners are the gray circles to the right. The green arrow on the bottom is a teleport sparkle. The gray arrow on the bottom is the hate target, with a TID of 18. The two green lines at the bottom are teleport lines... the lower one is configured for the player, the top one is configured for the "monsters":



Also, the three line segments through the middle of the map are monster blocking lines, so the prisoners are "guided" towards the hate target.

So what happens currently is this: the switch is hit (the green box at the top of the image with the gray circle in it... it's a floor-mounted lever switch using an MD2 model) and the prison bars raise. The prisoners "awaken" and start running away. They do run towards the hate target, but then they don't teleport and just end up running around the room like goons.

I checked to make sure that they sectors weren't too short, both in width and in height. Everything checks out ok.

Share this post


Link to post

I seem to have resolved it... sort of. The prisoners weren't running to the inmost part of the teleporter for some reason, and since they weren't getting deep enough into it, the teleport wasn't working. I increased the size of the monster teleport sector and now it's working. It doesn't explain why they won't run full-in but at least I managed to find a solution.

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
×