Discuss all aspects related to modding Zandronum here.
-
rico345
-
- Posts: 68
- Joined: Sun Jul 08, 2012 2:13 pm
- Location: Republic Of Korea
#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.
What is the problem?
-
Xenaero
- Retired Staff / Community Team Member
- Posts: 81
- Joined: Fri Jun 01, 2012 8:51 pm
#2
Post
by Xenaero » Sat Oct 06, 2012 4:46 pm
Are they wide enough?
-
Ivan
- Addicted to Zandronum
- Posts: 2229
- Joined: Mon Jun 04, 2012 5:38 pm
- Location: Omnipresent
#3
Post
by Ivan » Sat Oct 06, 2012 5:16 pm
It's probably too tall to fit in, try reducing it's height.
-
rico345
-
- Posts: 68
- Joined: Sun Jul 08, 2012 2:13 pm
- Location: Republic Of Korea
#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
#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
#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.
-
Ænima
- Addicted to Zandronum
- Posts: 3579
- Joined: Tue Jun 05, 2012 6:12 pm
#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.
-
Llewellyn
- Forum Regular
- Posts: 578
- Joined: Mon Jul 02, 2012 7:12 am
#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.