![]() Note that a multiplier of 1 will occur with probability 1/4. This generates a random integer from 0 to 8909478, then from it creates a multiplier from 1-7. Local worldName = string.match(worldGlobals.worldInfo:GetWorldFileName(), "(+)%.wld$") TalosProgress:SetCode("PaintItemSeed", randomSeed) RandomSeed = mthRoundF(mthRndF()*8909478) Local randomSeed = talosProgress:GetCodeValue("PaintItemSeed") Local talosProgress = nexGetTalosProgress(worldGlobals.worldInfo) If talGetUnlockedPlayerMessagesCount(worldGlobals.worldInfo) < 5 thenĮxit function if player doesn't have paint unlocked. paint buckets can onlys be unlocked if enough messages are unlocked Local function ShowPaintBucketIfNecessary() However, this calls sum = not sum = sum +, and so it in fact only uses the last character in the world name, in this case the world number. This function creates an add-in seed which is supposed to be based on the world name. Local function RandomFomStringChars(str, multiplier) If not talPlayerMessagesAvailableForCurrentWorld(worldGlobals.worldInfo) thenĮxit program if player is done with the current world. nothing to do if messages are not available for current world Here's the Lua code that determines paint spawns: The reason this works is because of how Paint RNG is seeded in Talos. Note that these sets only apply to maps with 4 potential spawn points, not to all maps!Īs a general rule, to completely identify which spawn set you have, you will need to visit one even and one odd numbered map (Star worlds are numbered 8). Here are the 5 sets of spawns that can appear. ![]() Continued abuse of our services will cause your IP address to be blocked indefinitely.Credit to sjcTheos for his research (code finding, spreadsheet work, image to game index matching) and for discovering this trick. Please fill out the CAPTCHA below and then click the button to indicate that you agree to these terms. If you wish to be unblocked, you must agree that you will take immediate steps to rectify this issue. If you do not understand what is causing this behavior, please contact us here. If you promise to stop (by clicking the Agree button below), we'll unblock your connection for now, but we will immediately re-block it if we detect additional bad behavior.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |