How do I make mods?

  • LordDeathera
    19th Mar 2016 Member 0 Permalink

    I've never made any mods for games before, so I thought I'd start with Powder Toy. I just have no idea how to make the mods... If anyone can help or provide any tips on how to make mods, I would greatly appreciate it. Thank you for taking the time to help.

  • moonheart08
    20th Jun 2016 Member 0 Permalink

    Generally you can either start with LUA (The easy way), or C++ (The hard way)

    C++ happens to have a LOT more possibilitys, and is faster as C++ based mods are directly compiled into the game.

  • boxmein
    21st Jun 2016 Former Staff 1 Permalink
    You can either make a Lua script that TPT executes, which has multiple benefits:
    + Easier
    + Can be hot-loaded
    + Portable across TPT versions
    + Portable across different TPT mods
    Or, you can go straight to the TPT source code in C++ and customize it to your liking, which has some benefits:
    + Much faster
    + Much more powerful (access to more TPT subsystems)

    But, as you create one of those - you have to keep it up to date with TPT, and distribute the binary TPT executable separately.
  • tmo97
    23rd Jun 2016 Banned 0 Permalink
    This post is hidden because the user is banned