A_PainAttack, A_DualPainAttack, A_PainDeath bug
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
A_PainAttack, A_DualPainAttack, A_PainDeath bug
All the functions that was supposed to spawn lost souls will spawn lost souls from time to time regardless of the actor specified in the brackets. O_o Especially if you put 2 of these functions together with a duration of 0, it will always always spawn 1 lost soul and then spawn the rest as the actor you placed within the bracket.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
Can you post some code that shows the error?
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
Missile3:
HELE BC 5 Bright A_Facetarget
HELE D 5 Bright A_DualPainAttack("HS")
goto See+1
Death:
HELE I 5 Bright A_Scream
HELE JKL 5 Bright
HELE M 0 Bright A_DualPainAttack("HS")
HELE M 0 Bright A_DualPainAttack("HS")
HELE M 5 Bright A_NoBlocking
HELE NOP 5 Bright
HELE QRSTU 5
HELE V -1 A_SetFloorClip
stop
The Death causes more problems than the missile states. Only on rare occasions will the missile state spawn a lost soul instead of what I specified (the Hades Sphere). The Death state always spawns one lost soul, but it ususall gets killed right as it spawns.
HELE BC 5 Bright A_Facetarget
HELE D 5 Bright A_DualPainAttack("HS")
goto See+1
Death:
HELE I 5 Bright A_Scream
HELE JKL 5 Bright
HELE M 0 Bright A_DualPainAttack("HS")
HELE M 0 Bright A_DualPainAttack("HS")
HELE M 5 Bright A_NoBlocking
HELE NOP 5 Bright
HELE QRSTU 5
HELE V -1 A_SetFloorClip
stop
The Death causes more problems than the missile states. Only on rare occasions will the missile state spawn a lost soul instead of what I specified (the Hades Sphere). The Death state always spawns one lost soul, but it ususall gets killed right as it spawns.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
I can't run tests with that. I need something which I can debug.
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
This will look odd, but it should work for testing purposes:
Code: Select all
actor GrafTest : Cacodemon
{
states {
Missile:
HEAD BC 5 Bright A_Facetarget
HEAD D 5 Bright A_DualPainAttack("DoomImpBall")
goto See
Death:
HEAD G 5 Bright A_Scream
HEAD H 5 Bright
HEAD H 0 Bright A_DualPainAttack("DoomImpBall")
HEAD H 0 Bright A_DualPainAttack("DoomImpBall")
HEAD I 5 Bright A_NoBlocking
HEAD JK 5
HEAD L -1 A_SetFloorClip
stop
}
}
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
No problems with that one.
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
Perhaps something in his "HS" actor then?
It does help to provide the entire Decorate for the actor, as well as associated actors, when posting these reports.
It does help to provide the entire Decorate for the actor, as well as associated actors, when posting these reports.

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
I tested it for 5 minutes and no Lost Souls.
- Cutmanmike
- Posts: 11354
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
Prehaps a demo showing how to make it happen would help?
Re: A_PainAttack, A_DualPainAttack, A_PainDeath bug
It happens randomly. I get it to happen By simply MDKing the thing. Usually the Lost soul die right when it's spawned.Cutmanmike wrote:Prehaps a demo showing how to make it happen would help?
EDIT: According to Unknown_Assassin, it's easiest to get the lost souls if you summon the Helemental on the stairs of "Entryway". Here's a Screenshot. usually the lost soul dies.
