Lua-scripted elements and views

  • Sparkette
    22nd Jun 2011 Member 0 Permalink
    You should be able to create custom elements as Lua script files, put them in a special folder, and they will appear in a separate category for custom elements. There could be functions you define like collision with another particle (particle # in parameters) or a custom draw function (like with BOMB or different photon colors.) There could also be functions dealing with how it moves.

    You should also be able to create custom views in Lua. This would be simpler; it would only require you to define a function with X and Y coordinates as parameters. Then you can use a function to find the particle # at those coordinates (or if there isn't such a function, there should be.)
  • TheTempest
    22nd Jun 2011 Member 0 Permalink
    No. Just... no.

    a.)Will overcomplicate things. As if we need anymore "How do I do Lua" threads.
    b.)Results in n00bs who figure it out eventually posting mods with horrible elements.
    c.)Defeats the purpose of TPT, having a CHALLENGE to create things, you shouldn't be able to just conjure up whatever you need.
    Edited by TheTempest, 2011-06-21 06:35:24
  • plead-for-destruction
    22nd Jun 2011 Member 1 Permalink
    @flarn2006 (View Post)
    MUMAMEAH!
    you know how much bloody coding that is!

    and then everyone would get on the notable users page for being a "modder" of sorts

    plus @TheTempest is right
  • TheTempest
    22nd Jun 2011 Member 0 Permalink
    @plead-for-destruction Hey The Powder Toy Army will be making a group save. If you're interested go look at my last post in the TPTA thread.
  • Earthbright
    25th Oct 2017 Banned 0 Permalink
    This post is hidden because the user is banned
  • phox
    25th Oct 2017 Member 0 Permalink

    nice necro

  • jacob2
    25th Oct 2017 Member 3 Permalink
    This thread is hilarious, I can't believe people would have ever call this a bad suggestion.