nuculars Merge Master 3000

  • nucular
    3rd May 2014 Member 6 Permalink
    The thread I posted this in originally got buried, so here it is again:
    Basically this thingy "merges" two elements by applying weighted means of the properties of these elements to another one.
    No, it doesn't merge update or graphics functions and yes, I was bored.

    http://pastebin.com/hCTpC5zr
    image

    Press M to open the window. The merged element can be found in the "Special" category, under the name "MRGD".
    Edited once by nucular. Last: 3rd May 2014
  • Protcom
    3rd May 2014 Member 0 Permalink

    help : how to install script i run this command "dofile(magical_merge_master_3000)" and it said "cannot read stdin: bad file descriptor" any idea what the wrong thing that i did ?

  • nucular
    3rd May 2014 Member 0 Permalink
    @Protcom (View Post)
    Try saving the script as, for example 'mergemaster.lua' and then run the command 'dofile("mergemaster.lua")'.
  • Protcom
    3rd May 2014 Member 0 Permalink

    @nucular

    i did that another message appeared which is "console:1: attemped to index global 'mergemaster' (a nil value)"

  • nucular
    3rd May 2014 Member 0 Permalink
    @Protcom (View Post)
    You didn't type in the double quotes... Try exactly this:
    dofile("mergemaster.lua")
  • Protcom
    3rd May 2014 Member 0 Permalink

    i tried that it said "cannot open megemaster.lua No such file of directory" what should i do D: ?

  • jacob1
    3rd May 2014 Developer 1 Permalink
    If you used notepad it might have secretly saved it as mergemaster.lua.txt, maybe try dofile("mergemaster.lua.txt")? Make sure you saved it in the TPT directory (the one with Powder.exe)
    Edited once by jacob1. Last: 3rd May 2014
  • Millions
    3rd May 2014 Member 0 Permalink

    This is great. It would be better if maybe you added a way to save the element you merged into a .txt or .lua.

     

  • Protcom
    3rd May 2014 Member 0 Permalink

    same message D:(

  • yocheese
    4th May 2014 Member 0 Permalink

    Can you make a mod for it please!!!