Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
More seriously, thanks. I appreciate the insight into the guts of Elysium.
I seriously hope this isn’t something Johan disapproves of. Maybe I should have asked him before posting, but the thought honestly didn’t even occur to me. Like you say, precisely this sort of thing seems to have been happening for a long time regarding Dominions without a lifted eyebrow from Illwinter. I believe I saw a thread where even Edirr participated in the deciphering of data extracted from the Dominions executable.
I guess it comes down to whether the relative lack of detailed documentation is intentional (to benefit the sense of exploration regarding just about everything in the game), or if it’s just due to Johan or other Illwinter associated people having never gotten around to doing it. (Documentation is work, after all.) In the latter case, I’m performing a documentation service here. In the former case, I have just committed a heinous crime (morally).
Speaking for myself, I don’t see the fun in “exploring probabilities” – at all. Randomness makes it very hard to tell when you are done “exploring” and what it really was you “discovered”. So at least as far as the chances of recruitment offers go, I have a hard time believing the lack of documentation is really intentional. But maybe I am wrong?
The process of figuring out just how things work is part of the game, I think; and it's up to players whether they are willing to share their discoveries or not. A lot of the great resources Illwinter's players take for granted weren't create by Illwinter themselves, after all. That this both saves them from having to do extra work that they don't like doing and that it reinforces the themes they like in their games are probably both significant factors. :P
While I cannot say that I know their minds, I think they don't mind players using such resources or creating them, especially since it doesn't actually cheapen the gameplay. The mod inspector for Dominions won't help you win that game, and neither will this help with winning in Conquest of Elysium. And absent of context in the form of experience with the game, you wouldn't even realize what all these numbers imply or mean to begin with.
So, all jokes aside, I don't think it'll be a problem. :)
For that matter, even disregarding any considerations of risk management, I can also appreciate the adventure aspect of a game where I really don’t know anything at all. Moving out into the unknown, only to perhaps be stomped by a dragon, or something, the very first turn, can be kind of hilarious.
Where things become unsatisfactory to me is when I have seen most or all possible outcomes, understood everything - except, only, their probabilities. (Establishing probabilities through tests is laborious and not fun, in my view, and a game is supposed to be fun.) Ideally, if probabilities are deliberately kept hidden initially, for the adventure or exploration aspect, I would like them to be revealed after I have tried them.
But the topic isn’t trivial and others will no doubt disagree, perhaps Illwinter too.
Any idea how the additional resource cost can be modded?
e.g.
addunitrec "Androphag Cavalry" 100 4 50 0 5 # +fungus: 25
what the mod command for "fungus 25" would be.
I tried to make the script express extracted data in the form of real, working mod commands as far as I could. So, for instance, two of the recruitment bitflags are shown as the commands templerec or libraryrec when set. Had I known of a command for extra recruitment costs, I would have similarly used that. Since I don’t, I just have the script write those costs in comments.
I also don’t know of a mod command to make extra recruitment offers available in locations of certain terrain types, so the script merely writes those terrain types in comments too.
________________________________________
Obviously, any further ideas on this topic – what the unknown class abilities or bitflags might be, or if somebody even knows of a mod command that I am missing – are more than welcome. 😉
Marlin, thank you so much for this! You've saved me dozens of hours of tediously recording every class's recruitment offers, and given me more accurate data than I would have gotten from that anyway.
I completely agree with you about wanting to know the probabilities of random events, including recruitment offers, to such an extent that, shortly before moving (so back during v4.16, on the off chance anything related has changed in v4.17), I did a test in which I recorded every recruitment offer I received as the Baron (with no temples or libraries yet, to avoid their complications) for 300 turns. Most of my data from that test matches well with your data; most of the discrepancies are close enough that they can be reasonably explained by my relatively small number of data points.
However, these five recruitment offers for the Baron from your data:
are very interesting. The Archers showed up about as often as they should (I got 6.67%, but that's close enough), but none of the others was ever offered. With a 5% chance per turn for 300 turns, that's about a 1 in 5 million chance for each of Crossbowmen, Spearmen, and Swordsmen to never be offered. For the Trebuchets, with a 10% chance per turn, it's 1 in 53 trillion.
I think we can reasonably conclude that those offers aren't actually working. Interestingly, I remember those offers from playing as the Baron in CoE3, and it was my surprise that they seemed to have been removed in CoE4 that led me to start my recruitment data testing with the Baron. Since you've found that those offers are actually still in the executable, we can conclude that either the data in the executable isn't what's actually being used now (which I doubt, since it's been changed since CoE3, and why would they bother to change it if it wasn't going to be used?), or there's been a change in the engine since CoE3, an unintended consequence of which is that these entries are no longer able to be expressed in game.
That's where the Archers may be revealing. Of the 5 bulk, discount offers, the Archers offer is the only one that works. Why? What's different about that offer? The obvious answer is that the Archer is the only one of those 5 units that doesn't show up elsewhere on the Baron's recruitment list. I suspect the new rule in CoE4 is simply that any given unit type can only be placed in a given month's recruitment list once, at most.
I can think of 4 likely methods that the engine might use to decide priority when faced with multiple entries containing the same unit: first processed, last processed, first successfully triggered, and last successfully triggered.
From my data, we can reasonably exclude both "lasts", as the malfunctioning offers were lower on the list than their duplicate unit entries. If the method was "last processed", then the normal 5 Crossbowmen, 5 Spearmen, 5 Swordsman, and 1 Trebuchet offers that occur every turn wouldn't work, and they do. If the method was "last successfully triggered", then the bulk, discount offers should work at 5% and 10% as listed, though they would prevent the corresponding normal offer on any month they triggered. This doesn't happen either, so it can't be that.
That leaves "first processed" and "first successfully triggered". Unfortunately, the Baron's recruitment list doesn't allow us to distinguish between these methods, since the normal offers for each duplicate unit type are both listed first (so they'll be processed first) and have 100% chances (so they'll also always be the first to successfully trigger).
Looking through the rest of the class recruitment lists, I see two other cases of duplicate unit types. The Senator has this:
which has the same problem--the first entry has a 100% chance, so it doesn't allow us to distinguish. However, the Dwarf Queen has this:
If the method is "first processed", then only the 10 Pikeneer offer should ever happen. If the method is "first successfully triggered", then the 20 Pikeneer offer can happen, though it will occur slightly less than the listed 2% of the time (1.92%, instead), since it won't get the opportunity to be checked on any turn in which the 10 Pikeneer offer succeeds at its trigger chance.
I thought I could remember having seen the 20 Pikeneers offer, so I ran a quick test as Dwarf Queen to see if it would happen again. As you can see here, it did:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=696162964
To be extra sure, I also ran a test with the following modded recruitment list:
If it was actually possible to have a given unit show up more than once on a given month's recruitment list, the above should have caused it to happen quickly. That didn't happen, and after the 25 turns I tested with this mod, the chance of that occurring randomly is about 1 in 33.5 million--enough to satisfy me that it wasn't possible.
The results I got were 15 offers of 10 Bakemono Spearmen and 10 offers of 5. That success rate for the offer of 10 is a bit off from the listed 50%, but certainly close enough given the paltry 25 data points. More importantly, I got one and only one of the two offers every turn (the offer of 5 did not happen the listed 100% of the time, but rather only when the offer of 10 didn't happen), and I did see both types of offers during the test. Of the 4 prioritization methods I proposed, only "first successfully triggered" could produce these results.
From all of the above, we can conclude that when multiple entries on a class recruitment list contain the same unit, the first of those entries to succeed at its chance will be the only of those entries to be offered in a given month (or else that the priority is determined by some method I didn't imagine which nevertheless produced indistinguishable results). Thus, the following offers:
appear to all be impossible to receive, since they are each blocked by a 100% offer of the same unit higher on the list. If true, I'd imagine this qualifies as a bug.
So, how about it? Has anyone ever gotten any of the above offers in CoE4? If not, I'll go ahead and report this in the bug thread.
Also, Marlin, I saw this statement by you in the bug thread:
I would find such a resource to be absolutely invaluable, and I'm sure I'm not the only one. If you do decide to post it, I will be very grateful!
That explains why some recuitment options i tried to add, did not work.
newmonster "Grouped Crossbowman"
copystats "Crossbowman"
newmonster "Grouped Spearman"
copystats "Spearman"
newmonster "Grouped Swordsman"
copystats "Swordsman"
newmonster "Grouped Trebutchet"
copystats "Trebutchet"
selectclass 1
addunitrec "Grouped Crossbowman" 5 10 70 0 7
addunitrec "Grouped Spearman" 5 10 70 0 0
addunitrec "Grouped Swordsman" 5 10 70 0 7
addunitrec "Grouped Trebuchet" 10 2 75 0 75
newmonster "Grouped Hastatus"
copystats "Hastatus"
selectclass 8
addunitrec "Grouped Hastatus" 5 10 65 0 5
One can also create further units (e.g. "Massed ...") to add further recruitment offers for same unit. And the cost of Hastatus is not consistent with the costs of the baron ones, it should be 63 0 7 for same 40% over cost for 5 respective units.
As far as I can tell, the update brings no changes to the recruitment data.
I did something very similar with CoE3 some time ago, and got data fairly well matching what I have now extracted from the executable. (My guesstimate then was a 5% chance of each of the “bulk offers” in the Baron’s list, also the one of 2 trebuchets, so I was slightly off on those last ones in my test.)
I guess I got so blinded by the agreement of the extracted data with those earlier CoE3 tests that I didn’t consider any changed behavior in CoE4. But now that you mention it, I believe you are entirely right.
Not only does the CoE4 behavior differ from the CoE3 one, you have clearly managed to pinpoint exactly how.
Your findings seem thoroughly solid to me, and, yeah, I am pretty sure it must be unintended and a bug. So I’d say go ahead and report it.
________________________________________
There is one little thing I’d like to add: In CoE3, if a chance is set to -1 (minus one) for an offer, that offer will appear simultaneously with whatever offer is preceding it in the list. I don’t think this was ever documented, but it is how it works (also usable in CoE3 mods).
In CoE4, this doesn’t work either, but at first I was inclined to think it might have been a mechanic intentionally dropped. It’s mostly replaced by reclimiter "+something" in CoE4. (E.g. in CoE3, the “minus one mechanic” is used to have an amazon priestess appear simultaneously with a sorceress and a gang of amazon warriors, whereas in CoE4, the offers are separate but the priestess is made a requirement for the others.)
However, there is one entry still with a minus one chance in the CoE4 lists, the one of the retiarius – or pair of retiarii. In CoE3, you would, as the senator, be offered a pair of retiarii anytime there were gladiators for hire – but in CoE4, they just never show.
In light of your findings, it seems likely this one is another CoE3 mechanic that just unintentionally stopped working in CoE4.
Means i will include them in my mod.
Can you extract the probabilities/values for summoning chances?
Marlin, I agree that the fact that -1 chance is still used in the Senator's recruitment list but no longer works, leaving retiarii unrecruitable, is very probably a bug. Thanks for finding it, and please do report it.