Jump to content

[41.73] Implementation of HandWeapon:getActualWeight() makes HandWeapon:setActualWeight() ineffectual


Eggon

Recommended Posts

Implementation of HandWeapon:getActualWeight() bases on item script's actual weight instead of this.ActualWeight. This means that values applied with the setter will allways get overridden by the getter. This also applies to the setWeight() setter.

 

 image.thumb.png.4f23bfa28b7b4643e6cc1390e2f6d2d9.png

 

Can you please fix it? It breaks one of my mods and it does not seem to be a good practice to make setters ineffectual.

 

If too problematic then could you provide an implementation for setWeaponPartWeightModifier()? It potentially could allow a workaround of the problem by creating a fictious weapon part. Not very elegant, but should work.

 

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
  • 1 month later...
  • 1 month later...
  • 1 month later...

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...