How to add scripts.

  • drowlands
    29th Jul 2013 Member 0 Permalink

    Can someone show me how to add scripts and make my own mods for TPT?

    I always liked the idea of creating your own mod, besides it woul be awesome if I could show the rest of my class the ability of doing it.

    Edited once by drowlands. Last: 29th Jul 2013
  • mniip
    29th Jul 2013 Developer 1 Permalink
    @drowlands (View Post)
    There are 2 types of mods possible, one is writing a Lua script, which can modify and add elements to TPT at runtime,
    the other way is proper modding, it's when you obtain the source code, modify it, and compile (before modifying you have to make sure to be able to compile an unmodified version)

    If you have any problems with lua, just ask me. Instructions on how to compile are available at the wiki
  • boxmein
    29th Jul 2013 Former Staff 1 Permalink
    I have a sort of website thing up that provides templates and help to start coding easily.
    If you intend on working with Lua, you can just open that and you'll be fine.
    If you intend on working with C++, > proper modding, then first follow this and then you can use this to get a kickstart.
  • drowlands
    30th Jul 2013 Member 0 Permalink

    Sorry,but if you're gonna help me.

    Can you at least do it a bit more simple?

    Thanks.

  • FeynmanLogomaker
    2nd Oct 2013 Member 0 Permalink

    If you're new to modding, I advise you start with Lua scripting. I do both, but learning c++ was really hard until I learned my first language; Lua is much easier to learn than c++, even if it isn't as useful.