Conquest of Elysium 4

Conquest of Elysium 4

nemid 27 Oct, 2020 @ 11:32am
Has anyone figured out a trick to bypass the selectritual problem yet?
By the selectritual problem, I mean the fact that it can only select the first ritual with the same name in the files. So it can be used to edit the necromancer's minor or major summoning, but not the witch's. Supposedly the creator of the witch++ mod did actually manage to edit it, but the link to that mod is dead. other examples inclued several mastery rituals and "Summon Yetis". Does anyone have a solution that would allow editing of later rituals yet?
< >
Showing 1-11 of 11 comments
Althaea 27 Oct, 2020 @ 11:41am 
You shouldn't use them in the vast majority of cases and the game documentation goes out of its way to hide this, but most of the time you can access rituals, units etc. by ID. IDs are assigned sequentially to the spells and rituals entered in the game, so if you had multiple mods active, pointing to IDs created by the mod itself could very easily break.

According to the .exe data extracted by Colonel dracula here, the ID for the Witch's Minor Summoning ritual is 74.

So theoretically you might be able to use "selectritual 74" to modify the Witch's ritual.
nemid 27 Oct, 2020 @ 2:12pm 
Originally posted by Althaea:
You shouldn't use them in the vast majority of cases and the game documentation goes out of its way to hide this, but most of the time you can access rituals, units etc. by ID. IDs are assigned sequentially to the spells and rituals entered in the game, so if you had multiple mods active, pointing to IDs created by the mod itself could very easily break.

According to the .exe data extracted by Colonel dracula here, the ID for the Witch's Minor Summoning ritual is 74.

So theoretically you might be able to use "selectritual 74" to modify the Witch's ritual.
Unfortunately, while this works for weapons (and for monsters you can use an offset), it doesn't seem to work for rituals...
Althaea 27 Oct, 2020 @ 2:18pm 
Hm. Select the ritpower first (without doing anything with it), then try selecting the Minor Summoning ritual?

I.e.

ritpow 4 selectritual "Minor Summoning"

?
nemid 27 Oct, 2020 @ 3:02pm 
unfortunately, ritpow does nothing without a ritual before it. It only serves to make the previously chosen/created ritual vecome of that ritual type
Last edited by nemid; 27 Oct, 2020 @ 3:03pm
Althaea 27 Oct, 2020 @ 3:07pm 
Try it anyway, if you haven't already.

Otherwise try selecting another Witch ritual first, and then Minor Summoning.

It's basically a workaround to try and manipulate where the "pointer" is in the code. Since the code is read and loaded in a very linear fashion, and all.
Althaea 27 Oct, 2020 @ 3:13pm 
In some very old work of mine I was able to select various identically-named rituals of mastery. Here's[github.com] a github link to some of that. IIRC the way I modified the Enchanter's or Pale One's mastery rituals worked fine, though I don't seem to have left any helpful comments on that matter.

selectclass 4 selectritual "Minor Summoning"
or
selectclass 4 selectritual "Swamp Guardians" selectritual "Minor Summoning"

Might work.
Last edited by Althaea; 27 Oct, 2020 @ 3:15pm
nemid 27 Oct, 2020 @ 3:38pm 

Originally posted by Althaea:
selectclass 4 selectritual "Swamp Guardians" selectritual "Minor Summoning"

Might work.
I tried this, then adding a "free" at the end to check if it worked, but it just gave the necromancer a free minor summoning. I realized that in the ritual data Swamp Guardians actually comes after minor summoning, so I tried Bog Eye and Major summoning too, to the same results. I get the feeling that it searches from the very beggining each time...
Althaea 27 Oct, 2020 @ 3:50pm 
Hm. Well, I know something I did worked back when, but it's been years and years. Sorry I couldn't be more helpful.
nemid 27 Oct, 2020 @ 4:38pm 
Nah it's ok. Thanks for the help! Maybe something changed during an update or something. I know there have been at least a couple to optimise load times...
JD_888 28 Oct, 2020 @ 7:54am 
The only way to touch these I've found is to remove the original mastery from monsters (power X 0), create a new ritpow, copy and paste all the rituals from the original ritpow into the new ritpow, and give the mastery of the new ripow to the proper monsters. Now you can change the rituals.

The problem is that you lose all the unknown properties/commands that some rituals have and modders have no access to. So it can be done, I've done it for all the Priest King ritual types in my mod and it works, but Priest King rituals are very simple, with a class like Witch you'll lose a bunch of unknown properties that many Witch rituals have.
nemid 28 Oct, 2020 @ 11:05am 
What a mess...
< >
Showing 1-11 of 11 comments
Per page: 1530 50