Meltable materials in Lua.

  • Nobody905
    16th Sep 2013 Member 0 Permalink

    @jacksonmj (View Post)

     I get no error message. It must be that though, I'll try allocating everything first.

    EDIT: That fixed it, now my plastic melts and works properly. It's resolved.

    I'll make a pastebin when my mod has more elements. I'm planning to make bronze, a bunch of explosives and gases, maybe protons.

    Edited once by Nobody905. Last: 16th Sep 2013
  • boxmein
    16th Sep 2013 Former Staff 0 Permalink
    @Nobody905 (View Post)
    @Michael238 (View Post)
    By the way I assigned plastic/molten because elements.allocate returns the same element ID as would be registered in elements.A_PT_B, except it'd be easier to comprehend which element it applies to and more comfortable to write.
    Edited 5 times by boxmein. Last: 2nd Dec 2014
  • Nobody905
    16th Sep 2013 Member 0 Permalink

    Just so I don't have to make a whole new thread, does anyone know how to make an element release SMKE when it explodes, like TNT releases EMBR? I'm making black powder and it won't be black powder with no smoke.

  • Luezma
    17th Sep 2013 Member 0 Permalink

    @Nobody905 (View Post)

     I said that you put bad the last argument(NOBODY_PT_MPLA), it should be elements.NOBODY_PT_MPLA

  • waleed456
    15th Oct 2013 Banned 0 Permalink
    This post is hidden because the user is banned
  • Nobody905
    15th Oct 2013 Member 0 Permalink

    @waleed456 (View Post)

     That's quite a necro...