Gray0ne wrote: ↑Wed Oct 18, 2023 12:16 pm
The Red Prince wrote: ↑Wed Oct 18, 2023 3:10 am
OK big question, the transform into mindflayer option in the cheatengine, can you edit the code in it to turn it into a polymorph spell instead? [snip]
we just want our own custom polymorph spell that we can edit to turn into whatever we want, would it be easier to find the code for the strange ox spells and edit those? or would the mindflayer transformation be just as easy to edit in the cheat engine?
I'm asking cause we have no idea how or what the coding needs to look like, we tried on the mind flayer transformation and of course got it wrong.
It's not a spell it's the Osiris function: Transform. I believe by default the ruleset for that function is something like Disguise with name which basically just swaps your character model. You can change that ruleset to Polymorph (the annotation for this is actually in the cheat engine script for that toggle) but Polymorph has unintended side effects like silencing you and locking your gear. There is a whole host of rulesets though (mostly for Wildshape) one of them might work better. You can download the .pak unpacker and target shared.pak in your game directory to unpack the game data to make it readable, in it is a directory called something like shared/data/rulebooks/shapeshift/shapeshiftruleset.lsx (it's something like that, I'm guessing at it as I'm not at home at the moment) and in that file is the details and UUID of every ruleset that can be applied to shapeshift.
As for making it a castable spell? I think you're into modding territory there.
I'm also looking for more ruleset UUIDs for my transformations like these:
local ruleset = "9eef2bd2-604f-459a-83b2-3e6b7ce3bfde" -- GaseousForm
local ruleset = "a0ddddc8-255f-4014-9f63-d7608eb1c2a0" -- Polymorph
local ruleset = "4acc6277-6dcd-4110-9450-b9379beaedac" -- Physical
local ruleset = "ceccc4eb-d774-4cd5-9147-12322b81b763" -- Disguise
local ruleset = "ac4a5946-00cb-464f-9389-e3ac9e8b7e26" -- DeathCorpse
local ruleset = "c7c3381e-b901-416e-a0c4-bc745e1ff54a" -- DisguiseKeepName
local ruleset = "8194cfb6-4199-46d2-9027-613c302352aa" -- DisguiseWithCustomLooks
local ruleset = "b40d9ab4-57a7-4632-b8d7-188904b00606" -- DisguiseWithCustomLooksKeepNameAndIcon
I've been browsing and searching for around a half hour. I'll keep at it but if somebody has a longer list I'd appreciate it. Thanks