Editing
Hex Editing - Guide
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== The Pyramid === The pyramid is defined separately: : 0xa3fa2:6a '''02''' 6a '''14''' 6a '''7d''' (52 8d4508 53 50) 6a '''74'''; : 0xa3fb6: '''28''' 00 00 00 Where: * 02 is the number of stacks of Diamond Golems * 14 is the number of Diamond Golems (in total) * 7d is the unit ID of Diamond Golems, * 74 is the unit ID of Gold Golems and * 28 is the number of Gold Golems. BTB2 suggested replacing Diamond Golems with Mummies - this however, requires using a creature ID above 80, and therefore a long push (6B 8D000000 for mummies). However, to do that we would need to use some empty space. He suggested removing the -2 Luck on empty Pyramid subroutine. I decided to instead use some empty space I got from a different change, keeping the -2 Luck penalty. The result is as follows: : 0x0A3FA6 β ebdf (jumps to overwrite -2 luck on empty Pyramid), : 0x0A3F82 β e9 89c10100 (jump to free space 0xc0110) ::::: 68 8d000000 (Mummies) :::::EB 1A 90 90 (jump back to A3FA8), : 0xc0110 (Free) β 8a 87 1b 01 00 00 04 fe 88 87 1b 01 00 00 (displaced code: -2 Luck on empty Pyramid), : 0xc011d (Free) β E9 6b3efeff(jump to 0x0A3F8F (end of F8E)) Note, that this method assumes you have empty space at 0xc0110 (by forcing rumors to always show rumors defined by the mapmaker). If you have empty space elsewhere, simply move the function, altering the jumps appropriately.
Summary:
Please note that all contributions to Heroes 3 wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information