About this mod
An API for reliable, instant & bugless resurrection mods.
Some lines of code and you created a good mod.
- Requirements
- Permissions and credits
- Donations
Time to fix that.
This plugin provides an API with which you can create resurrection mods. Unlike similar papyrus mods, they will always work. Even when falling from a mountain.
I have a discord server now, where you could find useful info about my mods, suggest your ideas for released or new mods and give me a feedback. Also I am planning to record some tutorials about SKSE modding soon, you could find it in the according channel.
Using the api
- Copy “ResurrectionAPI.h” to your project.
- Inherit from “ResurrectionAPI” class.
- Override “should_resurrect” function — it calls every fatal damage.
It should return true if your mod allows resurrection. E.g. Actor has specific item/spell/etc.It shouldn’t change anything in game, just check some things. - Override “resurrect” function — it calls when resurrection fires.
E.g. add cooldown spell, remove some item, add debuffs, etc. - Register your resurrection plugin in the API.
By calling “ResurrectionAPI_AddSubscriber” in “ResurrectionAPI.dll” (see example for reference).
Demo of 2-line-plugin which is using the API!
How it works
It works with ANY damage: melee, magic, even falling. I promise I searched
all nexus and found a weak spot of all papyrus mods. My mod works
perfectly.
Performance
No sleeps, no loops, no delays, no game breaking things. Bye papyrus.
FAQ
- I have troubles with using the API!
Feel free to write in my discord (find it in my nexus profile) and in comments. - Could you implement <my idea of resurrection mod>?
No. I did the most difficult part. Implement it yourself. Moreover, it is the easiest skse plugin you can do, so resurrection mod with my API is a good spot to start SKSE modding.
Compatibility
- In general, it is compatible with everything. Feel free to install/update/uninstall it at any spot in the playthrough.
- As any SKSE plugin with hooks, it may conflict with another SKSE plugin with same hooks locations. But do not worry, it is very unlikely.
- There is a rule ‘If two mods do same thing different ways, it may cause problems!’.
Incompatibility
Nothing interesting for now.
Known issues (also see “bugs” section)
Feel free to report bugs in comments, I’ll do my best to fix that.
Future plans
- AE — see sticky post on my stamina mod page.
Installation/uninstallation: install/uninstall it like any SKSE plugin.
Credits
- Ryan (Fudgyduff) for CommonlibSSE
Source: available on my github.
Наше пати