attack stuns you?
Moderator: Graf Zahl
-
- Posts: 16
- Joined: Tue Jan 24, 2006 20:05
attack stuns you?
i recently made a new decorate monster. a modified maulotaur. but now theres one weird thing going on. when he hits you, you get stunned for a short while. this only happens when iddqd is off, it wont happen if iddqd is on. so whats causing the stun?
decorate
[spoiler]ACTOR Ragingtaur : Minotaur 7056
{
MONSTER
Translation "1:3=188:191", "238:239=175:176", "64:79=172:188"
AttackSound "minsit"
Health 500
-Boss
States
{
See:
MNTR A 4 A_Chase
MNTR A 0 A_JUMP(128, 7)
MNTR B 4 A_Chase
MNTR A 0 A_JUMP(128, 5)
MNTR C 4 A_Chase
MNTR A 0 A_JUMP(128, 3)
MNTR D 4 A_Chase
MNTR A 0 A_JUMP(128, 1)
Loop
Missile:
MNTR U 6 A_SkullAttack
Goto see
}
}[/spoiler]
decorate
[spoiler]ACTOR Ragingtaur : Minotaur 7056
{
MONSTER
Translation "1:3=188:191", "238:239=175:176", "64:79=172:188"
AttackSound "minsit"
Health 500
-Boss
States
{
See:
MNTR A 4 A_Chase
MNTR A 0 A_JUMP(128, 7)
MNTR B 4 A_Chase
MNTR A 0 A_JUMP(128, 5)
MNTR C 4 A_Chase
MNTR A 0 A_JUMP(128, 3)
MNTR D 4 A_Chase
MNTR A 0 A_JUMP(128, 1)
Loop
Missile:
MNTR U 6 A_SkullAttack
Goto see
}
}[/spoiler]
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: attack stuns you?
Sorry, I don't know about your problem but

How long has that been in? I knew you could use the old Doom-style translations in DECORATE and I think there is the ability to tell a DECORATE item to always use a specified ACS translation, but I hadn't realised the above was possible. That would have saved me a load of work recently.wario wrote:Translation "1:3=188:191", "238:239=175:176", "64:79=172:188"

- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Cutmanmike
- Posts: 482
- Joined: Sat Sep 03, 2005 23:34
Re: attack stuns you?
Oh my sarkus sark..... DittoEnjay wrote:Sorry, I don't know about your problem butHow long has that been in? I knew you could use the old Doom-style translations in DECORATE and I think there is the ability to tell a DECORATE item to always use a specified ACS translation, but I hadn't realised the above was possible. That would have saved me a load of work recently.wario wrote:Translation "1:3=188:191", "238:239=175:176", "64:79=172:188"

- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Gah! in other words it's been in almost as long as I've been needing it. I only noticed the translation stuff I mentioned in the Wiki. Perhaps it was me (likely) or perhaps it was the somewhat "organic" nature of the DECORATE documentation before Graf reorganised it.
As for the Stun, I can't try it ATM. How do you mean "when he hits you, you get stunned for a short while". Presumably you mean when he runs into you, but what form does the "stun" take? Are you paralysed, or does your viewheight alter (like when he hits you with his hammer), does your view get redded out?
As for the Stun, I can't try it ATM. How do you mean "when he hits you, you get stunned for a short while". Presumably you mean when he runs into you, but what form does the "stun" take? Are you paralysed, or does your viewheight alter (like when he hits you with his hammer), does your view get redded out?
-
- Posts: 16
- Joined: Tue Jan 24, 2006 20:05
you just get paralysed for a quick second. you cant do anything. (this wont happen when iddqd is on). it wont happen when he hits you with the hammer. it happens when he does the skull attack and hits you.Enjay wrote: As for the Stun, I can't try it ATM. How do you mean "when he hits you, you get stunned for a short while". Presumably you mean when he runs into you, but what form does the "stun" take? Are you paralysed, or does your viewheight alter (like when he hits you with his hammer), does your view get redded out?
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
I've had a chance to test it and it's an odd one right enough. My guess is that for some reason you can't move whilst you are subject to movement caused by the minotaur bumping into you. He hits you and you are knocked around a bit. As soon as your speed from this effect drops away, you get control back. In god mode, you don't get buffeted around so the "stun" doesn't kick in. As for a solution - dunno.
-
- Posts: 16
- Joined: Tue Jan 24, 2006 20:05
hmmm... i guess that would mean i cant let him attack like crazyEnjay wrote:I've had a chance to test it and it's an odd one right enough. My guess is that for some reason you can't move whilst you are subject to movement caused by the minotaur bumping into you. He hits you and you are knocked around a bit. As soon as your speed from this effect drops away, you get control back. In god mode, you don't get buffeted around so the "stun" doesn't kick in. As for a solution - dunno.


- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
-
- Posts: 16
- Joined: Tue Jan 24, 2006 20:05
possibly, but i have no idea how to completly rewrite him. the zdoom wiki doesnt have it (yet).Enjay wrote:If it's something specific to the minotaur, would a "ground up" re-writing of the minotaur in decorate (if that's possible) rather than inheriting from the original actor get around the problem?

- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Enjay wrote:If it's something specific to the minotaur, would a "ground up" re-writing of the minotaur in decorate (if that's possible) rather than inheriting from the original actor get around the problem?
It can't be rewritten completely. Especially the charge attack uses some very special coding and can't be replicated at all.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
That was my concern. I remember when Heretic support was in its infancy, all sorts of things could break the way the minotaur worked if they interacted with the minotaur whilst it was charging. eg shooting the minotaur whilst it was charging would leave it invulnerable until you shot it again during another charge. There were (IIRC) a series of bugs and problems that Randy had to address before it worked properly so I thought it probably wasn't just standard code pointer stuff.Graf Zahl wrote:uses some very special coding and can't be replicated at all.
-
- Posts: 16
- Joined: Tue Jan 24, 2006 20:05
i tried to rewrite him which worked out quite well. the stun bug has been fixed. but now i got another problem. i dont want him to be able to hurt other ragingtaurs but i cant get this the work. the DONTHURTSPECIES flag doesnt work.
decorate
[spoiler]ACTOR Ragingtaur 7056
{
MONSTER
RADIUS 30
MASS 1000
HEIGHT 70
Health 500
damage 5
SPEED 15
PAINCHANCE 10
MELEEDAMAGE 4
MONSTER
+NOTARGET
SeeSound "minsit"
AttackSound "minsit"
ActiveSound "minotaur/active"
PainSound "minotaur/pain"
DeathSound "minotaur/death"
Translation "1:3=188:191", "238:239=175:176", "64:79=172:188"
States
{
Spawn:
MNTR AB 8 A_Look
See:
MNTR A 4 A_Chase
MNTR A 0 A_JUMP(128, 7)
MNTR B 4 A_Chase
MNTR A 0 A_JUMP(128, 5)
MNTR C 4 A_Chase
MNTR A 0 A_JUMP(128, 3)
MNTR D 4 A_Chase
MNTR A 0 A_JUMP(128, 1)
Loop
Missile:
MNTR U 6 A_SkullAttack
Goto see
Pain:
MNTR E 4 A_Pain
Death:
MNTR F 4 A_Scream
MNTR GHJIKLMNOPQ 4
MNTR R 4 A_NoBlocking
MNTR S -1 A_SetFloorClip
Stop
}
}[/spoiler]
decorate
[spoiler]ACTOR Ragingtaur 7056
{
MONSTER
RADIUS 30
MASS 1000
HEIGHT 70
Health 500
damage 5
SPEED 15
PAINCHANCE 10
MELEEDAMAGE 4
MONSTER
+NOTARGET
SeeSound "minsit"
AttackSound "minsit"
ActiveSound "minotaur/active"
PainSound "minotaur/pain"
DeathSound "minotaur/death"
Translation "1:3=188:191", "238:239=175:176", "64:79=172:188"
States
{
Spawn:
MNTR AB 8 A_Look
See:
MNTR A 4 A_Chase
MNTR A 0 A_JUMP(128, 7)
MNTR B 4 A_Chase
MNTR A 0 A_JUMP(128, 5)
MNTR C 4 A_Chase
MNTR A 0 A_JUMP(128, 3)
MNTR D 4 A_Chase
MNTR A 0 A_JUMP(128, 1)
Loop
Missile:
MNTR U 6 A_SkullAttack
Goto see
Pain:
MNTR E 4 A_Pain
Death:
MNTR F 4 A_Scream
MNTR GHJIKLMNOPQ 4
MNTR R 4 A_NoBlocking
MNTR S -1 A_SetFloorClip
Stop
}
}[/spoiler]