ZeroCheckMate Posted August 22, 2020 (edited) Hello. There was a problem while making the monster. As you can see from the video posted with this code, direct contact with the monster does no harm to the monster. I think it's because of the heat box, but I don't know any information about this. How can a monster cause close-up damage to a player? ACTOR Fairyofadvance 25028 { Health 2500 Speed 25 Radius 64 Height 352 PainChance 200 MeleeDamage 512 Monster +LOOKALLAROUND +FLOORCLIP SEESOUND "fotasee" PAINSOUND "fotapain" DeathSound "fotadeth" Obituary "Death.........." Scale 0.3 States { Spawn: FOTA A 1 A_Look Loop See: FOTA AAAAAAAA 4 A_Chase FOTA A 0 A_PlaySoundEx("Sound/StayPuft/Stomp","Weapon") FOTA A 0 Radius_quake(3,10,0,64,0) FOTA BBBBBBBB 4 A_Chase FOTA B 0 A_PlaySoundEx("Sound/StayPuft/Stomp","Item") FOTA B 0 Radius_quake(3,10,0,64,0) Loop melee: FOTA A 1 A_MeleeAttack goto see Pain: FOTA A 1 A_Pain Goto See Death: FOTA C 4 A_NoBlocking FOTA C 4 A_Scream Stop } } [English sentences may not be correct. Please excuse me on this point.] Video.zip Edited August 22, 2020 by ZeroCheckMate 0 Share this post Link to post
0 Gaia74 Posted August 24, 2020 (edited) a simple and effective way is to make use of the a_explode in the chase state, it will hurt when any actor approaches the monster something like this: Spoiler See: FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 4 A_Chase FOTA A 0 A_Explode(100, 128) FOTA A 0 A_PlaySoundEx("Sound/StayPuft/Stomp","Weapon") FOTA A 0 Radius_quake(3,10,0,64,0) (i put it every 4 tics to make sure that at all times when you approach it will hurt you) https://zdoom.org/wiki/A_Explode 0 Share this post Link to post
Hello.
There was a problem while making the monster.
As you can see from the video posted with this code, direct contact with the monster does no harm to the monster.
I think it's because of the heat box, but I don't know any information about this.
How can a monster cause close-up damage to a player?
ACTOR Fairyofadvance 25028 { Health 2500 Speed 25 Radius 64 Height 352 PainChance 200 MeleeDamage 512 Monster +LOOKALLAROUND +FLOORCLIP SEESOUND "fotasee" PAINSOUND "fotapain" DeathSound "fotadeth" Obituary "Death.........." Scale 0.3 States { Spawn: FOTA A 1 A_Look Loop See: FOTA AAAAAAAA 4 A_Chase FOTA A 0 A_PlaySoundEx("Sound/StayPuft/Stomp","Weapon") FOTA A 0 Radius_quake(3,10,0,64,0) FOTA BBBBBBBB 4 A_Chase FOTA B 0 A_PlaySoundEx("Sound/StayPuft/Stomp","Item") FOTA B 0 Radius_quake(3,10,0,64,0) Loop melee: FOTA A 1 A_MeleeAttack goto see Pain: FOTA A 1 A_Pain Goto See Death: FOTA C 4 A_NoBlocking FOTA C 4 A_Scream Stop } }
[English sentences may not be correct. Please excuse me on this point.]
Video.zip
Edited by ZeroCheckMateShare this post
Link to post