EngineProtocol.wiki
changeset 1093 1fa6884340af
parent 1092 b26366ceabba
child 1094 860e2bd4e975
equal deleted inserted replaced
1092:b26366ceabba 1093:1fa6884340af
    28 
    28 
    29 === Message format ===
    29 === Message format ===
    30 ==== Seed ====
    30 ==== Seed ====
    31 In the QT frontend, the seed is a UUID.
    31 In the QT frontend, the seed is a UUID.
    32 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.
    32 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.
    33 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.
    33 
       
    34 This is however just due to convenience.  UUIDs are not a particularly good source of entropy and any 1-249 character 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.
    34 
    35 
    35 Example: _eseed {AERTB-62FASDSAD-NNIASDSADASD-12P}_
    36 Example: _eseed {AERTB-62FASDSAD-NNIASDSADASD-12P}_
    36 
    37 
    37 ==== Template filter ====
    38 ==== Template filter ====
    38 _N_ selects the type of map that is going to be generated. This command is ignored when MapGen is not 0, but it must be set anyways.
    39 _N_ selects the type of map that is going to be generated. This command is ignored when MapGen is not 0, but it must be set anyways.