Is it possible to change what happens when clicking on a mirror?
I'd like to override the sub-renderer and instead create a more attractive full-screen interface for resurrect/reincarnate. Is it possible, or is all that hard-coded?
Hooking into resurrect/reincarnate?
Moderator: Sophia
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Hooking into resurrect/reincarnate?
No, unfortunately not. The resurrect/reincarnate interface is pretty threadbare in general. The onscreen keyboard when you reincarnate doesn't even work. (Which a lot of people don't notice because nobody uses it!)
- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Hooking into resurrect/reincarnate?
I knew the onscreen keyboard doesn't work -- which is why I wanted to fix it 
A shame this one is hidden from modification, I had a nice idea for how to present it in a fullscreen renderer instead. Would you consider exposing this as a modifiable function in a later release?

A shame this one is hidden from modification, I had a nice idea for how to present it in a fullscreen renderer instead. Would you consider exposing this as a modifiable function in a later release?
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Hooking into resurrect/reincarnate?
I will consider it!
It really depends on how much of a mess the code ends up being. Probably a mess... but who knows...
It really depends on how much of a mess the code ends up being. Probably a mess... but who knows...

- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Hooking into resurrect/reincarnate?
Heh
I'll bookmark this thread then 
I might explore creating my own function for this, and using custom mirrors and click events to activate my function. I guess that would work too...?


I might explore creating my own function for this, and using custom mirrors and click events to activate my function. I guess that would work too...?
- Sophia
- Concise and Honest
- Posts: 4306
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
Re: Hooking into resurrect/reincarnate?
Actually, yeah. I was thinking about how to move the subrenderer over to the Lua side but if you're using a custom fullscreen renderer there isn't really much of anything you need the DSB engine to be doing for you at that point. You can just invoke dsb_champion_toparty and then either sys_character_resurrected or sys_character_reincarnated directly.
- Gambit37
- Should eat more pies
- Posts: 13769
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
Re: Hooking into resurrect/reincarnate?
Perfect, yep I'll look into this. I have some old code for a champion selector that I can re-purpose.