Jump to content

Scripting weapon property changes


Abesh

Recommended Posts

Essentially, I want to know whether it's possible to change weapon properties through scripting, namely reload animation. Pretty much, I want to write a script that determines what weapon is being used and changes the reload animation speed so that it's faster while the effect is active. Anyone have any ideas about both whether that's possible and how to do it if it is?
Link to comment
Share on other sites

You could try with fose's GetWeaponAnimMult & SetWeaponAnimMult, but bear in mind that you need to unequip/equip the weapon to make the effects take change.

There's also one to get the weapon's reload speed, but there is none to set it.

Link to comment
Share on other sites

You could try with fose's GetWeaponAnimMult & SetWeaponAnimMult, but bear in mind that you need to unequip/equip the weapon to make the effects take change.

There's also one to get the weapon's reload speed, but there is none to set it.

 

Wow, that's VERY helpful and useful. Shame about the reloading though, I wonder if there's some way around it, like a universal reload setting.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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