Modding Discussion Development Support Documentary

Discussion in 'Starbound Modding' started by Vajras, Feb 22, 2014.

  1. Vajras

    Vajras Void-Bound Voyager

    Cheers out there,

    i've come up thinking about the great potential the game is providing with it's modability. Although i'm very new into modding or trying to mod something in starbound i very much do like the idea of modding it and creating something worth playing. To do this i have very often faced the problem that i either didn't knew the overall mechanics (what is possible - what not?) or the more specific stuff like (Which json file can have which attribute and functions). In order to do something against it i think it would be a great idea to have all the modders working together and create a json file attribute table.
    I think "xxswatelitexx" has as one of many provided us with a very good start :
    http://community.playstarbound.com/...tarbound-unoffical-modding-e-book-v0-7.67821/

    So if there are any modders out there, that do know one or more tricks more to do - i think it would greatly increase the possible quality of mods out there. What do you think ?
     
  2. Daimoth

    Daimoth Scruffy Nerf-Herder

    The best way to find stuff like that is to start at the front page of this subforum and work your way backward. Obviously, hit the tutorial threads. What I did at first is check out threads that were asking questions that I wanted to know the answer to.

    But reading won't even get you halfway there. The sooner you start modding, the sooner you can start surpassing the walls that everyone runs into. Approach everything with an expectation of failure at first, and for god's sake use your brain.

    Don't worry, Starbound modding is pretty gentle compared to modding API's for other games. Given time and persistence, you'll do just fine.

    Oh, and do bear in mind that information relating to containers and biomes/planets prior to Enraged Koala will be outdated, those two things are different in the current patch. But there are also threads addressing the changes, so be sure to read them.
     
    Julyuary, Vajras and The | Suit like this.
  3. Vajras

    Vajras Void-Bound Voyager

    Thx for ur motivation :). But it's not only me being very new to the modding in starbound it's only an attempt to gather some information and put it together to provide a basic compendium for other players :)
     
  4. Daimoth

    Daimoth Scruffy Nerf-Herder

    Well, that's arguably what swat's big ole ebook does.
     
  5. The | Suit

    The | Suit Agent S. Forum Moderator

    Ya I am planning on removing the tutorials all together from the book - and leaving only the reference pages.
    Haven't decided yet
     
  6. Daimoth

    Daimoth Scruffy Nerf-Herder

    Giving tuts their own book, or just removing them altogether?
     
  7. The | Suit

    The | Suit Agent S. Forum Moderator

    I am planning on moving the tutorials online and references in the book. Since its easier to update the Page then update the entire book
     
    Daimoth likes this.
  8. Daimoth

    Daimoth Scruffy Nerf-Herder

    I can can dig it.
     
  9. Vajras

    Vajras Void-Bound Voyager

    sounds like a good idea :) and just btw - has anyone found a starbound related useful .lua guide yet ?
     
  10. Daimoth

    Daimoth Scruffy Nerf-Herder

    You mean like a list of hooks and callback functions? Or how to program in Lua in general?
     
  11. Vajras

    Vajras Void-Bound Voyager

    A list of hooks and callback functions i alrdy found - it's more the way you have to use it and the actual function of the function (my, what a sentence :D)
     
  12. The | Suit

    The | Suit Agent S. Forum Moderator

    That is sort of an odd question.
    If you know - you have the list - then you already should know how to use it.
    That is of course if you don't know how to use LUA.

    LUA isn't as simple as the JSON part - so its best to start with a few lua guides
    http://www.phailed.me/2011/02/learn-lua-the-hard-way-1/
     
    Daimoth likes this.
  13. Daimoth

    Daimoth Scruffy Nerf-Herder

    Right. if you already have a a reference for the Starbound specific stuff, what you really need is a general purpose Lua tutorial. Well... Book. You need a Lua book. Because it's full-featured a scripting language.
     
  14. Vajras

    Vajras Void-Bound Voyager

    hmmm seems like i mistook ur "reference" its just a list of functions - without explanation or something. So its pretty hard to actually use them since often i don't what they actually do :)
    https://gist.github.com/devcutter/8094601

    this is the list (which can be found urself within the .pak file. And i am looking for a small guide that explains you how you actually have to use the lua and these functions to do something :)

    Anyway thx for the tutorial. I've alrdy read some tuts for lua but they've not been that detailed.
     
  15. The | Suit

    The | Suit Agent S. Forum Moderator

    Standard programming - and something like Json
    Is about as comparative as learning 1st grade science and learning astrobiology is college.
    Though they maybe the same field they are not comparable.

    It is just those tutorials are helpful - its just lack of fundamental knowledge within that field is making it difficult for you to apply that knowledge. Hence only by building a better foundation will you be able to apply it..

    ===

    You will need to learn how to create various functions / how to compare arrays / how to use those variables in various formulae. Its a long drawn out process. Not something you can glance over one night.
    Keep with those tutorials and practising then things will only start making more sense.
     
    Last edited: Feb 23, 2014
    Vajras likes this.
  16. Vajras

    Vajras Void-Bound Voyager

    thx for the hint :) but basicly its not like i've never programmed before :). I used to code stuff in java as well as script languages in other games as well as a little bit c++. And compared to let's say c++ or java lua ist easy. How i wrote before, its mainly the application of this knoledge within starbound.
    But i absolutely agree - i need a lot of practice to start thinking the right way of lua and its use in starbound.
     
  17. The | Suit

    The | Suit Agent S. Forum Moderator

    The methodology i used / am still using is.
    I create a test object. in the game.

    I create my own basic lua script -
    On interaction do - X
    like spawn a projectile / npc / item

    Then I add one more functionality.
    Then one more functionality.

    Until it becomes a full blown item.
    ===========================

    I knew when I started off it was impossible for me to create a NPC boss which flys shoots laser beams - twerks on command. Its all about baby steps and self experimentation. Also dance classes.Twerking is all about the glutes - you got to umph and shake and umph and tighten.
     
    Last edited: Feb 23, 2014
    Ruban Crusade and Vajras like this.
  18. Ruban Crusade

    Ruban Crusade Pangalactic Porcupine

    OMG, I laughed so hard at this my abs hurt when I breathe...
     

Share This Page