What's this feature do?

  • Videogamer555
    31st Jan 2013 Member 0 Permalink
    Back in 84.2 it say this feature was added.

    "Element palette for automatic element ID/mod mapping"

    Does this mean it's possible to add elements as plugins in a "plugins" folder for modding, rather than having to recompile the entire powder.exe file? Can someone explain this?
  • jacob1
    31st Jan 2013 Developer 0 Permalink
    @Videogamer555 (View Post)
    i'm not completely sure, but I think elements created with lua might have their id saved and loaded by other people who have the same script.

    But, it doesn't work for any ctypes or PIPE tmp's right now, and most people don't run the game normally with the script. The actual script isn't included. It probably needs some work.
  • Videogamer555
    31st Jan 2013 Member 0 Permalink
    How do you CREATE elements in LUA? I know you can alter the update function of EXISTING elements using LUA, but how do you create NEW ELEMENTS in LUA? I didn't even know this was possible. Please provide a tutorial for doing so.
  • Pilihp64
    31st Jan 2013 Developer 0 Permalink

    It has been around and on the wiki for a very long time now, try looking yourself.

  • jacob1
    31st Jan 2013 Developer 0 Permalink
    @Videogamer555 (View Post)
    ever since tpt++ you have been able too. Look for the elements api in the wiki. There are some scripts in the lua section already using it if you need examples.
  • Videogamer555
    31st Jan 2013 Member 0 Permalink
    Can you link me to a tutorial using the new LUA API? I'm trying to figure out how to create elements using the LUA API.
  • Videogamer555
    31st Jan 2013 Member 0 Permalink
    I saw that page already. I need an actual TUTORIAL for this new feature. It is THAT COMPLICATED. Please make me a tut, and post it to the wiki.
  • boxmein
    31st Jan 2013 Former Staff 0 Permalink
    @Videogamer555 (View Post)
    Edit: broken link. http://boxmein.web44.net/tptelements/lua
    + read the damn wiki
    + don't demand tutorials made for you, put your mind to it :)

    edit: GASP! My entire website is broken!
  • jacob1
    31st Jan 2013 Developer 0 Permalink
    @Videogamer555 (View Post)
    just go into the lua section, there are already example scripts using it.