News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

Monsters attack rate and damage

Started by nahsch, March 03, 2016, 10:51:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nahsch

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

Maybe this one:

entityDef damage_bullet_zsec_pistol
       {
"damage" "4"
}

entityDef projectile_bullet_zsec_pistol
        {
"def_damage" "damage_bullet_zsec_pistol"
        }

The Happy Friar

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.