Author Topic: Monsters attack rate and damage  (Read 377 times)

0 Members and 1 Guest are viewing this topic.

nahsch

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
  • Doom Newbie
    • View Profile
Monsters attack rate and damage
« on: March 03, 2016, 10:51:42 PM »
Hi
I want to increase attack rate of zsec pistol and his damage editing "monster_zsec_pistol.def" and "ai_monster_zombie_security_pistol.script" so far, but nothing happen. I know it becouse I give him 180 damage and still when he hit me I lose 3hp.
someone must know how do it for sure. Reply?

bitterman

  • Sr. Member
  • ****
  • Posts: 250
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Monsters attack rate and damage
« Reply #1 on: March 03, 2016, 11:57:47 PM »
Maybe this one:

Code: [Select]
entityDef damage_bullet_zsec_pistol
       {
"damage" "4"
}

entityDef projectile_bullet_zsec_pistol
        {
"def_damage" "damage_bullet_zsec_pistol"
        }

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 851
  • Karma: +41/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: Monsters attack rate and damage
« Reply #2 on: March 04, 2016, 07:08:39 AM »
To increase his attack rate increase the FPS of his attack animation.  How often he fires is based on the frame # in the animation he fires at, so increasing the framerate reduces wait time between firing.