Page 1 of 1

Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 4:42 pm
by rico345
this is code of monster.

Code: Select all

actor Zombie_AI_1 replaces WolfensteinSS
{
	MONSTER
	+LOOKALLAROUND
	+SHOOTABLE
	Health 200
	Speed 8
	Scale 0.2
	Height 96
	Radius 20
	MaxStepHeight 96
	Painchance 255
	DamageFactor "Explosives", 2.0
	
	States
	{
		Spawn :
			ZOM1 A 3 A_Wander
			ZOM1 A 0 A_Look
			ZOM1 B 3 A_Wander
			ZOM1 A 0 A_Look
			ZOM1 C 3 A_Wander
			ZOM1 A 0 A_Look
			ZOM1 D 3 A_Wander
			ZOM1 A 0 A_Look
			ZOM1 E 3 A_Wander
			ZOM1 A 0 A_Look
			ZOM1 F 3 A_Wander
			ZOM1 A 0 A_Look
			Loop
		See :
			ZOM1 ABCDEF 3 A_Chase
			Loop
			...
			Stop
	}
}
each interval of stairs are enough to pass through, but monster
cannot climb up stairs.

Image


What is the problem?

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 4:46 pm
by Xenaero
Are they wide enough?

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 5:16 pm
by Ivan
It's probably too tall to fit in, try reducing it's height.

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 5:36 pm
by rico345
Ivan wrote: It's probably too tall to fit in, try reducing it's height.
Nono, I pushed them forcibly(used gun) and they climbed up.
Xenaero wrote: Are they wide enough?
Nope... Is that important?
I will try it.

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 7:41 pm
by Llewellyn
rico345 wrote:
Ivan wrote: It's probably too tall to fit in, try reducing it's height.
Nono, I pushed them forcibly(used gun) and they climbed up.
He might actually be right here, just try making the ceiling higher and see if they will pass through it then.

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 7:46 pm
by Konda
I've also noticed this behavior with demon in my map, while an imp could easily climb the stairs.

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 7:51 pm
by Ænima
What's the horizontal distance between each stair ledge?

Your monster could simply have too large of a radius to climb those stairs.

RE: Monster cannot walk stairs.

Posted: Sat Oct 06, 2012 7:51 pm
by Llewellyn
Konda wrote: I've also noticed this behavior with demon in my map, while an imp could easily climb the stairs.
Ah, if he's having a similar problem it is the length of the stairs. If the monster is too wide though, he will be longer than the length of one of your stairs and will not pass because he would be floating off the edge.