EngineProtocol.wiki
changeset 1092 b26366ceabba
parent 798 30c5f1ebd552
child 1093 1fa6884340af
--- a/EngineProtocol.wiki	Mon Oct 23 02:34:08 2017 +0100
+++ b/EngineProtocol.wiki	Mon Oct 23 09:48:46 2017 -0400
@@ -27,8 +27,10 @@
 ||                 || 128x32 byte array || {{{0YSD3 ... FSAD0}}}     ||
 
 === Message format ===
-==== UUID ====
+==== Seed ====
+In the QT frontend, the seed is a UUID.
 The UUID is a 32 bytes array composed of ASCII characters; groups of letters should be separated by '-'. There are standard function calls to automatically generate this string depending on the tools used.
+This is however just due to convenience.  UUIDs are not a particularly good source of entropy and any string can be used.  If the string is of the form AAAAAAAAA|BBBBB (2 pipe separated strings) then only AAAAAAAAA will be used for terrain generation while AAAAAAAAA|BBBBB will be used for everything else.  This allows players to use keep a terrain they generated but change the rest of the seed to ensure new positions etc.
 
 Example: _eseed {AERTB-62FASDSAD-NNIASDSADASD-12P}_
 
@@ -77,4 +79,4 @@
 == In-game ==
 
 This doc needs more fleshing out, but in the interest of contributing, submitting an image I'd made after reading a GCI task.
-[https://hg.hedgewars.org/hedgewars/raw-file/default/doc/hwdemo.png HWD file] with a little colour markup of various interesting parts of the game.  BTW, if you ever need to debug a crashing demo, appending 032BFF to the end is a good way to make sure the demo doesn't close too early (see the image for why).
\ No newline at end of file
+[https://hg.hedgewars.org/hedgewars/raw-file/default/doc/hwdemo.png HWD file] with a little colour markup of various interesting parts of the game.  BTW, if you ever need to debug a crashing demo, appending 032BFF to the end is a good way to make sure the demo doesn't close too early (see the image for why).