Modding Help Help with weird floating air above table

Discussion in 'Starbound Modding' started by DarkraiDUD3, Feb 1, 2014.

  1. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    So I am having trouble, again. And I want to know what's making this problem. I am making a table, but it is being derpy. Everytime i make it bigger, the air above it remains there. Please help! Hopefully this image will help [​IMG] My table.frames reads:
    {

    "frameGrid" : {
    "size" : [64, 11],
    "dimensions" : [4, 1],
    "names" : [
    [ "default.0", "default.1", "default.2", "default.3" ]
    ]
    },

    "aliases" : {
    "default.default" : "default.0"
    }
    }
     
  2. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Ugh, lemme make a better image for it [​IMG]
     
  3. AnarchistTheory

    AnarchistTheory Master Chief

    I'm guessing the dimensions of your .png file are bigger than the object itself.
     
  4. intervencion

    intervencion Existential Complex

    Trim down the .png :p
     
    AnarchistTheory likes this.
  5. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    The png has nothing to do with it. :3 Thanks for at least helping me. The png file, the very top has no air, err Lays.
     
  6. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

  7. intervencion

    intervencion Existential Complex

    And the X.frame?
     
  8. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Uhh, That is?
     
  9. AnarchistTheory

    AnarchistTheory Master Chief

    I think he meant [itemname].frame file

    Your dimensions on there might be larger than they should be.

    Edit: But I guess you already have that posted so maybe not?
     
  10. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    Where's HalcyonXIII when you need him...
     
    AnarchistTheory likes this.
  11. The | Suit

    The | Suit Agent S. Forum Moderator

    The game renders borders in factors of 8.
    Your image is 64 x 11. Another words 5 pixels are not rendered.

    Resize your table to 64x16 and you should be fine.

    -
    In objects which you couldn't stack it wouldn't have been noticeable. But since this object you can stack things ontop of. Its quite readily apparent.

    --
    Also is your object animated?
    If it isn't you don't need Aliases or default 0 1 2 3.
    Default is just enough
    [Code for non animated 64x16 image]

    Code:
    {
    "frameGrid" : {
         "size" : [64, 16],
         "dimensions" : [1, 1],
         "names" : [
              [ "default" ]
              ]
         }
    }
     
    Last edited: Feb 1, 2014
    DarkraiDUD3 and intervencion like this.
  12. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    That didn't help me, I tried to fix it with the 64, 16 thing. Maybe my .object file might be corrupt.
    Code:
    {
      "objectName" : "ebonytable",
      "printable" : false,
      "rarity" : "Common",
      "description" : "That table you see in them rich houses!",
      "shortdescription" : "Ebony Table",
      "race" : "generic",
      "category" : "decorative",
      "price" : 30,
     
      "apexDescription" : "Classic furniture",
      "avianDescription" : "Classic furniture",
      "floranDescription" : "Classic furniture",
      "glitchDescription" : "Classic furniture",
      "humanDescription" : "Classic furniture",
      "hylotlDescription" : "Classic furniture",
    
      "inventoryIcon" : "ebonytableicon.png",
      "orientations" : [
        {
          "dualImage" : "ebonytable.png",
         
          "imagePosition" : [0, 0],
          "frames" : 1,
          "animationCycle" : 1.0,
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ],
          "collision" : "platform"
         
        }
      ]
    }
    
     
  13. The | Suit

    The | Suit Agent S. Forum Moderator

    You can't just replace the number - you have to modify the entire graphic to a 16 height...
     
  14. DarkraiDUD3

    DarkraiDUD3 Subatomic Cosmonaut

    So the table will have to get taller and taller? Well, okay. If it works!
     
    The | Suit likes this.

Share This Page