Jump to content

Dragon Brother

FDM Moderator
  • Posts

    7,218
  • Joined

  • Last visited

  • Days Won

    63

Posts posted by Dragon Brother

  1. On 12/13/2021 at 5:23 AM, rorschachrev said:

    I fiddled with them a bit, got a GUI to appear with different assets, and then managed to crash the game after moving the windows around a little bit to see passed the assets. I expect it will be possible to alter the map. Some things may be a little too deep (like portal locations, etc) but I suspect that we can figure it out with more eyeballs on some minor success. If there is significant interest in this, I'll hit it with a debugger.

    I noticed that the scripting language is LUA. It is possible to write LUA scripts that will print the content of other LUA scripts. For example, Script A calls "print contents of script B" and suddenly you are looking at the source code of script B. Has anyone done this with the packed files? I did this, and debugger options, on Grim Dawn which kicked off the modding community at launch (a demo texture replace, a demo inventory expander, etc) I was able to come up with a few things, including a bunch of extra debug commands that weren't documented. That game was also LUA scripts on top of C binaries. The LUA scripts were replaceable using some weird tricks, but I didn't go all the way on that game. The thing that I absolutely hated about Grim Dawn was the ablative damage formulas (If you had enough gear for any boss, you were damage immune. Otherwise you were dead.) I figured out that piece of code was deep in the C++ libraries and I couldn't change it (since I found the hooks all around it). I'd be happy to give Sacred 2 some more serious love.

    I imagine this is something you may spark some interest in. As far as I am aware Dimitrius is the only one who has managed to modify the games code in any way and given there are always lots of opinions / discussion on whether changes are warranted or not, potentially opening up the game for others to make similar changes can only be a good thing.

×
×
  • Create New...
Please Sign In or Sign Up