Hello, I recently came back to Morrowind and checked out OpenMW, I saw the Research section on the wiki (specifically the combat section inside it) and wanted to change marksman weapons to scale off of agility instead of strength, how would I do that?
Thanks, sorry if this has been answered already, I couldn't find anything on it
[Solved] Changing the damage formula?
Re: Changing the damage formula?
Looks like it's hardcoded in the engine, so AFAIK currently the only way is to clone/fork the code, change it, make a custom build.
Something related to these:
https://github.com/OpenMW/openmw/blob/m ... combat.cpp
https://github.com/OpenMW/openmw/blob/m ... anager.cpp
https://github.com/OpenMW/openmw/blob/m ... rldimp.cpp
Something related to these:
https://github.com/OpenMW/openmw/blob/m ... combat.cpp
https://github.com/OpenMW/openmw/blob/m ... anager.cpp
https://github.com/OpenMW/openmw/blob/m ... rldimp.cpp
- psi29a
- Posts: 5355
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Changing the damage formula?
I imagine that this will be apart of the great de-hardcoding. Once we reach 1.0 and have something that behaves like Morrowind, we can look into improving the situation to work in other ways. One such area is combat.
-
- Posts: 2
- Joined: 29 Mar 2019, 04:10
Re: Changing the damage formula?
I see, I suspected it was hardcoded. Thank you for the quick response, I don't have much experience with coding but I'm even more excited to see the project's development now