blarg Posted February 26, 2008 I'm trying to make a simple, easy, monster to supplement the imp as a standard trooper. It works fine, except for the melee attack. The monster will run up to you and the frames for the melee attack will cycle through, but no sound will play, and there's no damage. I assume this is a problem with my A_MeleeAttack and the properties that go with it. Here's my DECORATE lump: actor Chelsea 32003 { obituary "o% was struck down by Chelsea's firy breath" hitobituary "o% was ripped apart by Chelsea's unforgiving maw" health 60 radius 56 height 56 mass 75 speed 15 painchance 250 seesound "grunt/sight" attacksound "demon/melee" painsound "imp/pain" deathsound "demon/death" activesound "grunt/active" missiletype "doomimpball" missileheight 50 meleedamage 10 meleerange 24 meleesound "demon/melee" MONSTER +FLOORCLIP +SOLID +SHOOTABLE +WINDTHRUST +ACTIVATEMCROSS +TELESTOMP +COUNTKILL +ISMONSTER +FASTER +FASTMELEE +JUSTHIT +LONGMELEERANGE states { Spawn: DOG1 ABCB 8 A_Look loop See: DOG1 DEF 3 A_Chase loop Missile: DOG1 G 6 A_FaceTarget DOG1 H 8 A_MissileAttack Melee: DOG1 G 6 A_FaceTarget DOG1 H 6 A_MeleeAttack DOG1 I 8 DOG1 J 6 goto See Pain: DOG1 K 3 DOG1 L 5 A_Pain goto See Death: DOG1 M 5 DOG1 N 5 A_Pain DOG1 O 5 A_Scream DOG1 P 1 A_NoBlocking DOG1 Q -1 stop } } I know I'm just missing something, but what? P.S. My dog's name is Chelsea. Hehehe. 0 Share this post Link to post
Nuxius Posted February 29, 2008 You'd probably be better off posting this question at the ZDoom forums, as there are more people there who can help you with decorate. http://forum.zdoom.org/ 0 Share this post Link to post
Graf Zahl Posted February 29, 2008 The melee range is too short. For normal Doom monsters it's 44. THe melee range must be at least the monster's radius, which is 56. But you should make it somewhat larger. In any case, this monster is quite large, isn't it? Furthermore, your missile state doesn't terminate properly and runs into the melee attack. 0 Share this post Link to post
blarg Posted March 3, 2008 O.K, thanks. Graf Zahl said:Furthermore, your missile state doesn't terminate properly and runs into the melee attack. Yeah, I realized that after I posted and fixed it. 0 Share this post Link to post