Goal: Make it so Raise Volcano works on water.
Motivation: I'd played a character quite some time back with Chaos and Nature spellbooks entirely so I could make new land with volcanos then make it better with Change Terrain, even if doing so was extremely expensive and slow and I'd lose the game in the process of doing it.
Lately I came back to the game-- totally different computer and operating system-- and tried to do this again... not remembering that it doesn't work.
TIL: That I can open up game files with Vim, enter a :%!xxd command to turn it into viewable form, edit things, then use :%!xxd -r to turn back to a run-able form. That people on this forum have figured out where the hex values are for many simple numerics (things actually displayed as numbers in-game), but figuring out the hex values for various properties and functions has turned out to be much slower going.
Also, that there have only been one or two unanswered questions involving the spell around the forum (or at least as far as my search said).
Queries:
1. Is the SPELLDAT file even the right place to be looking for the targeting properties of the Raise Volcano spell? Or is it some special case in the "cast an overland spell" code?
2. Does MoM keep track of the changes made by these spells the same as it does normal terrain or is there some sort of "overlay" or "special properties of a tile" system?
Motivation: I'd played a character quite some time back with Chaos and Nature spellbooks entirely so I could make new land with volcanos then make it better with Change Terrain, even if doing so was extremely expensive and slow and I'd lose the game in the process of doing it.
Lately I came back to the game-- totally different computer and operating system-- and tried to do this again... not remembering that it doesn't work.
TIL: That I can open up game files with Vim, enter a :%!xxd command to turn it into viewable form, edit things, then use :%!xxd -r to turn back to a run-able form. That people on this forum have figured out where the hex values are for many simple numerics (things actually displayed as numbers in-game), but figuring out the hex values for various properties and functions has turned out to be much slower going.
Also, that there have only been one or two unanswered questions involving the spell around the forum (or at least as far as my search said).
Queries:
1. Is the SPELLDAT file even the right place to be looking for the targeting properties of the Raise Volcano spell? Or is it some special case in the "cast an overland spell" code?
2. Does MoM keep track of the changes made by these spells the same as it does normal terrain or is there some sort of "overlay" or "special properties of a tile" system?