Invalid Dictionary? trying too add new part

Discussion in 'Content Creation' started by Narwhal, Sep 15, 2013.

  1. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    so here is my problem
    im trying to add lights to the front of the moonhawk (just decorative.) But the node/beam that i have (its the front bumper from the moonhawk with less nodes/beams and renamed slots and flexbodies) doesnt work
    it always says at invalid dictionary due to: s (i tried lowercase and upper case) at line 20

    i would like to know what an invalid dictionary is and how to fix it

    the code around that place is this

    17 "nodes": [
    18 ["id", "posX", "posY", "posZ"],
    19 {"bumperlights},
    20 {"SelfCollision:false},
    21 {"collision":true"},
    23 {"nodeWeight":1.5"},
    24 {"frictionCoef":0.7"},
    25 {"nodeMaterial":"|NM_METAL"},


    Thanks,
    narwhal2
     
  2. Miura

    Miura
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    311
    Lots of formatting errors there.

    Line 19 should probably be {"group":"bumperlights"},

    Next four lines have either too many or not enough quotation marks, should be like this:

    {"selfCollision":false},
    {"collision":true},
    {"nodeWeight":1.5},
    {"frictionCoef":0.7},

    Keywords always start with lower case letter.

    Notepad++ is good for editing jbeams. If you set the file language to Java for example, it shows the formatting in different colors so it's easy to spot errors like that.
     
  3. Narwhal

    Narwhal
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,698
    Ok thanks for the help
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice