Agent mission chances calculation
Interesting things are mentioned here. Perhaps I may be able to obtain insight in the MTW agent system after all.
Bretwalda, what exactly is a random seed?
Procrustus, I am aware that the AI takes a peak to see what you are doing before it moves its armies. But if you, for example, order two assassinations, end turn, reload, order the two assassinations again but this time you select another target for one of the assassins; are the results for the other assassin different?
Re: Agent mission chances calculation
Quote:
Originally Posted by Ludens
Bretwalda, what exactly is a random seed?
Well, I am not a programmer, so I try to do my best on how this thing work (as far as I know...)
The computer calculated random number is not random at all. Computer is unable to do anything random (I mean if it functions properly). What it does that takes a value that is changing and calculates a lot.
The last time I programmed was with the good old C64 and like 15 years ago. This machine took the time variable and created random numbers from that. This also meant that if you zerod (or gave any value to) $time in your program then all the RND numbers in the program become the same all the time, no matter how, when or how many times you run the program.
Quite possible that games like mtw or civ are taking some time variable (at least at the beginning) to generate random result. Then they store the random seed and calculate from that. If this is the case then if you do exactly the same moves then everything is calculated in the same order and the results are the same. That applies for only those calculations of course that use this seed.
I hope that it is more understandable. Also, if there is a programmer out there could verify my thesis here, 'cos I am not 100% sure that all of this thing is correct...?
Re: Agent mission chances calculation
Ludens, IIRC M:TW doesn't all ways stop the reload deal. It just takes time for the assassin to succeed - depends on the percentages. I have tested this sort of thing before. Life expansion for Kings seems to be harder.