Usecode Debug Mode

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
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Usecode Debug Mode

Post by Knight Captain »

Since I like to test my work in Dev and not in Prod, I've put together a special Debug Mode triggered by manually setting global flag 2:

Image
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Usecode Debug Mode

Post by Dominus »

;)
--
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!
Gotcha!
Posts: 354
Joined: Thu May 14, 2020 1:34 pm

Re: Usecode Debug Mode

Post by Gotcha! »

A talking mp3 player, neat! It matches rather well with my talking sword and my severed talking head.
I'm missing the 'name' and 'job' speech options though. ;)
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Usecode Debug Mode

Post by Knight Captain »

Just for you, Gotcha!

Image
Gotcha!
Posts: 354
Joined: Thu May 14, 2020 1:34 pm

Re: Usecode Debug Mode

Post by Gotcha! »

Thank you, my life is complete. :D
agentorangeguy
Posts: 565
Joined: Thu May 14, 2020 1:34 pm

Re: Usecode Debug Mode

Post by agentorangeguy »

Wow! What kind of stuff does it do?
-------------------------------------------------------------------------------------
Ultima 6 Mod for Exult site: http://www.ultima6.realmofultima.com/
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Usecode Debug Mode

Post by Knight Captain »

Right now it lets you:

Play any music, and describes when the piece is played.
Play any sound, 2 of 140+ descriptions yet.
Play any speech, no descriptions yet.
NPC details only gives the name so far, but correctly based on the slider number input. I could list a full set of stats, are they dead, etc.
Usecode lets me call any other piece I set in, so I don't have to go though the whole Batlin's death cutscene to test my mod.
Locked