PDA

View Full Version : Increasing damage for grande/utility devices.


AlBundy
08-30-2006, 10:13 PM
I've been searching through most of the .2da files and whatnot and checked for some tutorials on the subject, but I'm still lost.

Is there a way to increase the damage for certain grenades or droid utility devices? I.E. increasing Molten Cannon damage from 60-90? Or increasing Thermal Detonater damage from 60-120? How would I do this with KT?

stoffe
08-30-2006, 10:17 PM
I've been searching through most of the .2da files and whatnot and checked for some tutorials on the subject, but I'm still lost.

Is there a way to increase the damage for certain grenades or droid utility devices? I.E. increasing Molten Cannon damage from 60-90? Or increasing Thermal Detonater damage from 60-120? How would I do this with KT?

That's handled by scripts. You'll have to modify and recompile k_sup_droid.nss to change the droid weapons, and k_sup_grenade.nss for the grenades. You can find both original scripts inside scripts.bif with KotorTool, though if you're using a mod that already modifies those scripts you should use the script source from those mods as a base instead to avoid breaking things.

Check the code comments and you should be able to find the parts for the different grenades without trouble. Look for where the nDamage variable gets assigned its value to change the damage for that type of grenade/beam.

AlBundy
08-30-2006, 10:20 PM
good thing I asked I dont think I would have ever found this, thanks.