Jump to content

Modding the Weapon Damage Formula


Nolanoth

Recommended Posts

I'm pretty sure those two settings are what controls the speed of it. However, you could probably find more if you used "cond" in the search filter. As of right now, the only way I know how to make weapon damage no longer affected by condition is by simply removing the condition itself out completely, which is handled by another game setting.
Link to comment
Share on other sites

You won't believe me but I found someone who can do it! Well at least that's what's written in Project Nevada:

 

http://code.google.com/p/project-nevada/source/browse/trunk/FONV+Modules/Core/readme+-+Project+Nevada.txt?r=1249

 

* Weapon condition damage penalty

Description:

Controls how much influence a weapon's condition has on its damage.

Vanilla default is 67%, meaning a weapon at ~1% health will only do ~33% of its original damage.

Defaults:

20% [PN]

66% [Vanilla]

 

We have to get in touch with the creator:

 

http://newvegas.nexusmods.com/mods/40040/

 

schlangster

Edited by Nolanoth
Link to comment
Share on other sites

I was right! Here's what he said:

 

fDamageGunWeapCondBase and fDamageGunWeapCondMult were still remains from FO3. In FONV they have no effect anymore.

The condition penalty instead is hardcoded now. PN can change it anyway because it patches the value with a NVSE plugin.

First the memory address pointing to the original condition mult is replaced so it points to a custom value we define instead. Then we add a new command that allows to change this value (PN_Get/SetConditionDamagePenalty).

 

Now all we have to do is get this part of the code.

Edited by Nolanoth
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...