How do i find the uscode for resurrections?

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Mortegro
Posts: 38
Joined: Thu May 14, 2020 1:34 pm

How do i find the uscode for resurrections?

Post by Mortegro »

I want to try and make it where Sethys can be revived by Surok "Silver Seed" and the Hourglass of Fate
Mortegro
Posts: 38
Joined: Thu May 14, 2020 1:34 pm

Re: How do i find the uscode for resurrections?

Post by Mortegro »

I forgot I made a topic like this already *palms face*
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Re: How do i find the uscode for resurrections?

Post by agentorangeguy »

This is just off the top of my head, so I don't know if it would work as shown but it might put you in the right direction:

Code: Select all


void Hourglass shape#(????) () //replace ??? with actual shape num
{
//identify Sethy's shape number.. can't look it up at the moment

if ((event == DOUBLECLICK) && (UI_get_item_flag(SETHYS, DEAD))
{
//probably a check here for Sethys' body, too lazy to look that up right now
UI_resurrect(SETHYS);
}
else Hourglass.original //or whatever you do to make it function how intended..

}  

It is probably different from BG so I don't know if that would work in SI... but this is how I would approach it.
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Janna'sCurse

Re: How do i find the uscode for resurrections?

Post by Janna'sCurse »

Wouldn't a good mod be at death the player is relocated to a netherworld and has to find his way back. I thought it was a bad plot to make Elisabeth and abraham save the dying avatar even though the avatar spends the entire game searching for his enemies. I wonder how possible it would be to change the relocation of the avatar to another exult made map at death, instead of just paws.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: How do i find the uscode for resurrections?

Post by Dominus »

Please keep on topic and no hijacking of others threads. Your idea is interesting but not really anything to do with this topic
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
janna'scurse

Re: How do i find the uscode for resurrections?

Post by janna'scurse »

I am very sorry. I thought this was the hourglass of fate thread, which I know works different then BG. Won't happen again. Thank you for the forum. :)
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Re: How do i find the uscode for resurrections?

Post by agentorangeguy »

so start a new topic so we can discuss your idea! :D
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Locked