Hi first time posting,
I was planning on creating a few extra magic effects. Specifically filling in the missing bound item magic effects (greaves and pauldrons). As far as I can see they are hardcoded in the following locations:
openmw\apps\opencs\model\world\defaultgmsts.cpp declares a set of hard coded strings for each effect/gamesetting
openmw\components\esm\loadmgef.cpp maps the magic effect strings to index values (gmst IDs)
openmw\apps\opencs\model\world\columns.cpp contains an array of strings for effectIds I'm assuming for use in the cs
openmw\apps\openmw\mwmechanics\actors.cpp holds some code to determine the slot of a bound item
Tbh I'm just struggling to piece together how a magic effect goes from being to declared to being implemented, and then how the cs/engine pulls these hard coded effects up. I suppose if anyone could point me to where any magic effect is implemented in code that would be a good start. More to the point if there is some info which is also hardcoded into the esm that we can't access then it would be grand to know I'm fighting a losing battle before I delve too deep. Any help would be greatly appreciated.
Thanks
Magic Effects
Questions specific to OpenMW-CS can be asked, and content development related topics can be discussed here
Return to “Content Development”
Jump to
- News
- Main
- ↳ General
- ↳ Support
- ↳ Feature Requests and Suggestions
- ↳ Join the team
- ↳ Off Topic
- Development
- ↳ Organisation and Planning
- ↳ General Development
- ↳ Editor Development
- ↳ Documentation
- Mod and Game Development
- ↳ General Modding
- ↳ Mod status
- ↳ Example-Suite
- ↳ Content Development
- Other Projects
- ↳ TES3MP
- ↳ Other Forks and Ports
- ↳ Infrastructure
- Old forum archive
- ↳ Development
- ↳ Editor Development
- ↳ Support
- ↳ Feature Requests and Suggestions
- ↳ General
- ↳ Discuss the Site
- ↳ Off Topic