Conquest of Elysium 4

Conquest of Elysium 4

Playforfun 26 May, 2018 @ 4:35pm
Ritual Modding command fortreq <fort part> question
Question on the modding command fortreq <fort part>, what constitute a fort part?

For example if I want the ritual to require the presence of a wall, what should this command be?

I can't seem to find a chart/table that lists the fort parts.
Last edited by Playforfun; 26 May, 2018 @ 5:15pm
< >
Showing 1-3 of 3 comments
To my knowledge, no such chart or table has been published. The only known fort part value is 16: iron gate, which is the only fort part value actually used in the game's ritual data. Others may exist, but you'd have to figure them out through trial and error, and wall may or may not be one of them.

Have you tried using:

terr -31 # walls

instead? Unless there's some reason that doesn't work for you, it would be a simpler solution.
Playforfun 26 May, 2018 @ 11:37pm 
Thank you Colonel Dracula joins the Navy
RBC 4 Oct, 2020 @ 2:36pm 
I just did the trial and error, and the answer turns out to be bit flags in the order found in the modding guide. The fun part was the logic puzzle --- for example, a ritual with fortreq 4 can be cast in a Necromancer's citadel but not a Demonologist's citadel, therefore 2^2 means widebattlements.

1 walls
2 highwalls
4 widebattlements
8 woodengate
16 irongate
32 enchantedgate
64 extracover
256 widegate
512 cavewalls

None of the existing terrain types use 128, which seems to correspond to the manual's statement "sidegates This command is not used in the game and probably won't work."

You can combine multiple bit flags in a single test, but the sense is always AND, rather than OR. For example, if your ritual says "fortreq 6", it could be cast in a location having both high walls and wide battlements (Warlock), but not a location having only high walls (Witch) or only wide battlements (Priestess). If you say fortreq 0, however, the ritual can be cast anywhere.
Last edited by RBC; 4 Oct, 2020 @ 2:37pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50