support4u Posted November 13, 2009 What line changes/defines weapon damage? I cant find it on zdoom wiki? thanks! 0 Share this post Link to post
Ignis Affero Posted November 13, 2009 I don't think there is one. If there is I never came across it, unless there's another port out there that I should know about. Anyway, I'm going to take a shot in the dark here and guess that your using ZDoom. As far as I know ZDoom has lines to Execute and Terminate Scripts, so if you want to temporarily alter the damage done by certain weapons you'll probably have to define it in a script. 0 Share this post Link to post
Gez Posted November 13, 2009 Damage is inflicted by the projectile in a projectile-chucking weapon, and defined in the codepointer call in a hitscan weapon. 0 Share this post Link to post
Cat God25 Posted November 14, 2009 look at the Actor Classes in Zdoom Wiki and look at some of the weapons there. if you look at the Pistol from Doom, under the fire state somewhere, it has A_FirePistol. that tells it to fire a shot doing 5 or so damage with somewhat bad accuracy. not sure if thats what your asking, though. 0 Share this post Link to post