1. Please be advised of a few specific rules and guidelines for this section.

RELEASED Unofficial Modding Ebook 2.0 SB v1.05 [ Ebook v2.2a ]

Learn to make mods for Starbound 1.0

  1. The | Suit

    The | Suit Agent S. Forum Moderator

    Tutorial is Just objects - though animation files are same for everything.
     
  2. Rukrio

    Rukrio Pangalactic Porcupine

    so, mind showing us how to take an existing weapon ability and make it into a new one?
     
  3. The | Suit

    The | Suit Agent S. Forum Moderator

    You need to know Lua to make abilities.
    Without knowing it - it is extremely difficult.
     
  4. Rukrio

    Rukrio Pangalactic Porcupine

    so then, are there other ways to implement altfires? like, say for example one wanted to make a gun shoot something else?
    edit to clarify:
    lets say i wanted to remake the shelleton gun from Enter the Gungeon, but didn't want to fuss with abilities. the primary fire would shoot a bullet, and the alt would fire a beam.

    how would one go about that? reason i ask is back in beta (as in back when abilites were not a thing) you could still add an alt fire on twohanded weapons.
     
    Last edited: Aug 23, 2016
  5. The | Suit

    The | Suit Agent S. Forum Moderator

    Well for this specific case there is a vanilla weapon that fits that profile.
    I suggest checking out how http://starbounder.org/Erchius_Eye is made.
     
  6. slowcold

    slowcold Pangalactic Porcupine

    Thank you for this. Have a good idea for a race that hasn't been done yet (I think) and really want to play around with it some.
     
  7. Lindazana

    Lindazana Cosmic Narwhal

    Is most of this guide still up to date for the current game version? I know CF has a habit of switching up commands and file structure every patch to keep it's modding community irate and alert.
     
  8. The | Suit

    The | Suit Agent S. Forum Moderator

    I kept the book simple - so it is all relevant regardless of changes.
     
    Lindazana likes this.
  9. Lindazana

    Lindazana Cosmic Narwhal

    Ah, that was a swift response! Thank you much!
     
  10. Jega

    Jega Void-Bound Voyager

    Hey man, I'm with a doubt. At the part of
    {
    "author" : "Mod author name",
    "description" : " Mod description",
    "friendlyName" : "Name displayed in game",
    "name" : "file name",
    "version" : "1"
    }

    I started the game and it appeared the mod at the named "firstMod" but didn't showed the info.
    [​IMG]
    It's ok to happen this or I've something wrong?
     
  11. The | Suit

    The | Suit Agent S. Forum Moderator

    You probably made the metadata file wrong.
    It should be called _metadata <- there should be no extension.
     
  12. Jega

    Jega Void-Bound Voyager

    Oh yeah, I named "firstMod.metadata", thanks man!
     
  13. cchao0705

    cchao0705 Orbital Explorer

    cannot download:nurusad:

    ----I do not speak English, i use google translation----
     
  14. The | Suit

    The | Suit Agent S. Forum Moderator

    Here you go,
    File is attached to this post.
     

    Attached Files:

  15. cchao0705

    cchao0705 Orbital Explorer

    THANK!!:nuruawe:
     
  16. babfoxj

    babfoxj Scruffy Nerf-Herder

    I'd first like to mention how much I appreciate this resource. A quick, easy to use guide to get just about anyone into the practice of modding with Starbound.

    I'm currently working through the book and I found an inconsistency in the text. On page 23 is where you create the object file and one of the lines of code reads:

    "image" : "cube.png<color>",

    I discovered that when the '<color>' is present, the cube does not appear when placed in Starbound, only appears in the list of crafting items. When I remove this part, the cube becomes functional and can be placed. I've tripled checked my code and even copy-paste the code from the example and it still does not work when the '<color>' part is present. I'm checked some of the vanilla files and I can't find anything that has this piece of code. Can you explain what purpose this piece serves?
     
  17. The | Suit

    The | Suit Agent S. Forum Moderator

    I don't have the book with me right now but it should be
    Code:
    cube.png:<color>
    
    Did I forget to add the Colon? " : " ?
     
  18. babfoxj

    babfoxj Scruffy Nerf-Herder

    I checked it in the book and the colon is present. I went back to my code and it was there too. I must've mistyped it while posting here. However, it did not fix the issue.
     
  19. The | Suit

    The | Suit Agent S. Forum Moderator

    Strange it should work fine
    Unless they changed it to add <color>.<frame> as both being a requirement.

    Essentially the color tag is so a tool can change the color on demand based on the frames file.
    Or you can manually choose a specific frame using the method.

    One example would be my pets mod.
    https://github.com/xxswatelitexx/St...s/p_Pets/objects/spawner/pethouseBunny.object

    You can see a vanillia example by going to something like rail crafting table.

    Code:
      "orientations" : [
        {
          "imageLayers" : [ { "image" : "railcraftingtable.png:<color>.<frame>", "fullbright" : true }, { "image" : "railcraftingtablelit.png:<color>.<frame>" } ],
          "imagePosition" : [-16, 0],
    
          "direction" : "left",
          "flipImages" : true,
    
          "frames" : 22,
          "animationCycle" : 1.8,
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
        },
    
     
  20. IonTichy

    IonTichy Master Chief

    Awesome book, thanks for all the work!
    One suggestion though: maybe you should consider placing the book under versioncontrol and hosting it via e.g. github.
    This would make change suggestions and collaboration easier. Also you would avoid hosting via sharehosters (that are not always reliable longterm).
    This would of course require porting the book from your MS Word doc to some open format that maintains the current formatting.
    Markdown would be a good choice, as it allows porting your current book 1:1 and has a pretty easy syntax.
    I could help you with the last part if you want and convert the book.
     

Share This Page