Monster cannot walk stairs.

Discuss all aspects related to modding Zandronum here.
Post Reply
rico345
 
Posts: 68
Joined: Sun Jul 08, 2012 2:13 pm
Location: Republic Of Korea

Monster cannot walk stairs.

#1

Post by rico345 » Sat Oct 06, 2012 4:42 pm

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?

User avatar
Xenaero
Retired Staff / Community Team Member
Posts: 81
Joined: Fri Jun 01, 2012 8:51 pm

RE: Monster cannot walk stairs.

#2

Post by Xenaero » Sat Oct 06, 2012 4:46 pm

Are they wide enough?

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Monster cannot walk stairs.

#3

Post by Ivan » Sat Oct 06, 2012 5:16 pm

It's probably too tall to fit in, try reducing it's height.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

rico345
 
Posts: 68
Joined: Sun Jul 08, 2012 2:13 pm
Location: Republic Of Korea

RE: Monster cannot walk stairs.

#4

Post by rico345 » Sat Oct 06, 2012 5:36 pm

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.
Last edited by rico345 on Sat Oct 06, 2012 5:37 pm, edited 1 time in total.

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Monster cannot walk stairs.

#5

Post by Llewellyn » Sat Oct 06, 2012 7:41 pm

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.
Last edited by Llewellyn on Sat Oct 06, 2012 7:50 pm, edited 1 time in total.

Konda
Forum Regular
Posts: 487
Joined: Thu Jun 07, 2012 5:22 pm

RE: Monster cannot walk stairs.

#6

Post by Konda » Sat Oct 06, 2012 7:46 pm

I've also noticed this behavior with demon in my map, while an imp could easily climb the stairs.

User avatar
Ænima
Addicted to Zandronum
Posts: 3579
Joined: Tue Jun 05, 2012 6:12 pm

RE: Monster cannot walk stairs.

#7

Post by Ænima » Sat Oct 06, 2012 7:51 pm

What's the horizontal distance between each stair ledge?

Your monster could simply have too large of a radius to climb those stairs.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: Monster cannot walk stairs.

#8

Post by Llewellyn » Sat Oct 06, 2012 7:51 pm

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.

Post Reply