Hi everyone, I tried to modify one of the shadows, but the options are not displayed in CusPoP
I want to set skill 9 and 10 hit points to this shadow, I guess it depends directly from Kid.dat
Not killable shadow editing
- atrueprincefanfrom18
- Site Shah
- Posts: 1786
- Joined: January 21st, 2020, 2:53 pm
- Contact:
Re: Not killable shadow editing
I don't know about skill, but I think the hit points can be altered using F2 of Apoplexy or CusPoP. Maybe David can help changing skill Level?Emiliano Fierro wrote: ↑May 14th, 2020, 5:10 am Hi everyone, I tried to modify one of the shadows, but the options are not displayed in CusPoP
I want to set skill 9 and 10 hit points to this shadow, I guess it depends directly from Kid.dat
Re: Not killable shadow editing
Indeed, CusPoP has no options related to the shadow at all, except for the guard types and the DAT file names.Emiliano Fierro wrote: ↑May 14th, 2020, 5:10 am Hi everyone, I tried to modify one of the shadows, but the options are not displayed in CusPoP
It's strange how they were left out, and how I haven't noticed that before.
You need to hex-edit PRINCE.EXE.Emiliano Fierro wrote: ↑May 14th, 2020, 5:10 am I want to set skill 9 and 10 hit points to this shadow, I guess it depends directly from Kid.dat
For PoP v1.0, the codes are:
Search: C7 06 68 43 03 00 B8 04 00
Change: 03 to new skill, 04 to new hitpoints (both in hex).
The relevant part of the disassembly:
Code: Select all
seg002:0029 C7 06 68 43 03 00 mov guard_skill, 3
seg002:002F B8 04 00 mov ax, 4
seg002:0032 A3 58 4C mov guardhp_max, ax
seg002:0035 A3 6A 59 mov guardhp_curr, ax
seg002:0038 A3 4A 4C mov guardhp_delta, ax