Jump to content

Changing SP weapon damage


Recommended Posts

Posted

As the title says - how do I go about raising or lower the amount of damage that a weapon inflicts on an NPC? I've checked the weapon.dat but I can't see anything which changes this...?

Posted

OpenJK's SP allows custom weapon.dat with damage entries but the defaults of course are not in the weapon.dat file so you'd have to still go through the code to find the right values for SP.

Posted

Single Player, right?

For damage inflicted by player: you can change into weapon.dat adding damage and altdamage value to the weapons strings.

NOTE: this require openjk.

 

for NPC damage.

You need to change into the code. you can see how is setted NPC damage into My SP weapon Tutorial.

it's defined on weapons.h

Posted

Thanks for your responses and for all the info.

Only trouble is that I've been advised against using OpenJK with JK2 SP as it's buggy and unstable. I've already tried it with JK2 SP before and couldn't get past the main menu.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...