by Apeirogon » Wed Nov 01, 2017 1:01 pm
Coding monster with custom hitbox area, like arachnotron that can be injured only with shoot aimed directly into brain, I face two problem.
1.I need to remove +SHOOTABLE flag from monster, that attack can pass through him to some hitbox inside radius/height monster property.
But A_KillMaster and A_DamageMaster, which activate on the death of hitbox actor to kill "master" monster, dont work on "master" without +SHOOTABLE flag.
A_RemoveMaster lead to script error, like dont arising platform/step to exit pillar in 07 map of Doom 2.
2. Projectile which hit +SOLID monster enter death state, even if it mark as -SHOOTABLE.
Even +RIPPER projectile enter to death state without ripping to aimed hitbox area.
Hitscan attack work as expected, "fly" through monster without any changes and problems.
So I need flag that left actor with blocking and collide check properties of +SOLID flag, but dont block flying through it projectile and hitscan.
Currently most suitable flag that show what i wish is SPECTRAL, actor left in area of interest of game physics and do not react to any attack and disturb them.
But it say "A monster with this flag can only be hurt by a missile that also has this flag set.", so it can lead to some...."thing", like "I kill mighty spider mastermind shooting only at it left heel".
Name it like SOLIDCANTSHOOT.
Coding monster with custom hitbox area, like arachnotron that can be injured only with shoot aimed directly into brain, I face two problem.
1.I need to remove +SHOOTABLE flag from monster, that attack can pass through him to some hitbox inside radius/height monster property.
But A_KillMaster and A_DamageMaster, which activate on the death of hitbox actor to kill "master" monster, dont work on "master" without +SHOOTABLE flag.
A_RemoveMaster lead to script error, like dont arising platform/step to exit pillar in 07 map of Doom 2.
2. Projectile which hit +SOLID monster enter death state, even if it mark as -SHOOTABLE.
Even +RIPPER projectile enter to death state without ripping to aimed hitbox area.
Hitscan attack work as expected, "fly" through monster without any changes and problems.
So I need flag that left actor with blocking and collide check properties of +SOLID flag, but dont block flying through it projectile and hitscan.
Currently most suitable flag that show what i wish is SPECTRAL, actor left in area of interest of game physics and do not react to any attack and disturb them.
But it say "A monster with this flag can only be hurt by a missile that also has this flag set.", so it can lead to some...."thing", like "I kill mighty spider mastermind shooting only at it left heel".
Name it like SOLIDCANTSHOOT.