Extra Scripting Functions
Posted: 22 Apr 2015, 20:10
Hello everyone.
Firstly, thank you for OpenMW and for it's being FOSS.
I'd love to play OpenMW, but it has problems with some mods I'd really rather not do without, mostly gameplay things like GCD and some MWE plugins. I have a bit of a fetish for restrictive and quirky scripting languages so I'm more than happy to write a bunch of omwaddons myself. There are some extra scripting commands that would be very useful. I'm a novice with Morrowind scripting, so please forgive me if I ask anything stupid.
While C++ is not a language I claim to know I have added commands to get base attributes and skills to my local openmw. This is very useful for a levelling mod and almost completely removes the hacky nature of such things. I imagine I may want to do something similar for health too, for state based hit points. I am of course happy to release my changes, but really, I never learned C++
Another obvious thing that would be nice is a way to intercept level up. GCD simply disables the vanilla levelling system by setting all the iLevel GMSTs to zero (except iLevelTotal), and currently I'm doing the same. This works fine but has a few drawbacks. Firstly it breaks the level up meter. Secondly it has no way of telling which is a major, minor or miscellaneous skill. If I'm wrong on that last point then I'd love to know how it's done. I'm not sure quite what extra commands would best intercept level up, perhaps GetPCLevelPending and ResetPCLevel to reset the level counter? Is there a better way?
Also, is there a repository of existing omwaddons, or perhaps some kind of registry of what people are working on? I expect I'm not the only person who'd like a non-hacky GCD for OpenMW, perhaps one already exists?
Firstly, thank you for OpenMW and for it's being FOSS.
I'd love to play OpenMW, but it has problems with some mods I'd really rather not do without, mostly gameplay things like GCD and some MWE plugins. I have a bit of a fetish for restrictive and quirky scripting languages so I'm more than happy to write a bunch of omwaddons myself. There are some extra scripting commands that would be very useful. I'm a novice with Morrowind scripting, so please forgive me if I ask anything stupid.
While C++ is not a language I claim to know I have added commands to get base attributes and skills to my local openmw. This is very useful for a levelling mod and almost completely removes the hacky nature of such things. I imagine I may want to do something similar for health too, for state based hit points. I am of course happy to release my changes, but really, I never learned C++
Another obvious thing that would be nice is a way to intercept level up. GCD simply disables the vanilla levelling system by setting all the iLevel GMSTs to zero (except iLevelTotal), and currently I'm doing the same. This works fine but has a few drawbacks. Firstly it breaks the level up meter. Secondly it has no way of telling which is a major, minor or miscellaneous skill. If I'm wrong on that last point then I'd love to know how it's done. I'm not sure quite what extra commands would best intercept level up, perhaps GetPCLevelPending and ResetPCLevel to reset the level counter? Is there a better way?
Also, is there a repository of existing omwaddons, or perhaps some kind of registry of what people are working on? I expect I'm not the only person who'd like a non-hacky GCD for OpenMW, perhaps one already exists?