Crown and Council

Crown and Council

screeg Jul 22, 2016 @ 7:17am
how do you reset the game to start from Level 1 again?
thanks
< >
Showing 1-5 of 5 comments
suncrasher Jul 27, 2016 @ 1:44am 
In Steam: Right Click Crown and Council -> Properties -> Local Files -> Browse Local Files. Then open the "level.txt" file in the "data" directory. Just change the number to 1 and save. Done.
screeg Jul 27, 2016 @ 6:02am 
awesome, thanks!

speaking of, do you know what's going on in levels.txt?
Last edited by screeg; Jul 27, 2016 @ 6:03am
suncrasher Jul 27, 2016 @ 6:47am 
in the levels.txt are the seeds for RNG (which determines the outcome of attacks, etc). So if you do EXACTLY the same in a level, the AI will do the same things and the same things will happen and the battle will be the same. But as soon as you do anything differently, it will get absolutely random again, because "it gets used differetly (?)". I don't know how to describe it the best, but basically, your different actions will lead to the AI doing different things and so on, so it all just gets completely random (If you didn't understand it, tell me and I will try to do a better job, I just didn't want to get too technical with it here).
Last edited by suncrasher; Jul 27, 2016 @ 6:50am
screeg Jul 28, 2016 @ 6:16am 
I understand. Instead of the game randomly *generating* results, it's calling numbers from levels.txt.
suncrasher Jul 28, 2016 @ 9:46am 
So I didn't do a good job of explaining it..., because that's not how it works. The game DOES "generate" random numbers, the important thing is, HOW they are generated. No random number generator (RNG) is truly random, and so isn't the one the game is using (the default Java one), they are all "pseudorandom". The basic concept is, that you have a number x, and every time you want a new "random" number, you perform some mathematical operations on it, the result is the answer and the new x (e.g. adding 3, and then substracting 10 from it, if it is bigger than 10 (ok, that's REALLY bad, but at least it's easy to understand)). And the starting, "first", x is called the seed, because all the "random" numbers are based of, in a way pre-determined by, it. In the levels.txt are these seeds for the different levels. The seed for the first level is in the first line, the seed for second level in the second line and so on.

I hope this explanation is easier to understand (I really do the best I can, but I'm just not good at explaining things, and the fact that I'm not a native english speaker doesn't make it easier)...
< >
Showing 1-5 of 5 comments
Per page: 1530 50