jbeam error + differential question

Discussion in 'Content Creation' started by twitch, Aug 21, 2014.

  1. twitch

    twitch
    Expand Collapse

    Joined:
    Aug 26, 2013
    Messages:
    10
    Hey everyone

    I've been having issues with a modified jbeam (no it's not a open bracket error)
    I added a new suspension part, with the jbeam text structuring the same as in the wiki and gabesters and after loading it into the game a couple of times, fixing the errors the console throws up (such as open brackets) when I spawn the car into the game, everything except the wheels and pedals drop about a foot through the terrain and the console throws up 2 error messages over and over (that should be in a picture down below, I cba typing them I'm lazy)
    What did I do wrong?

    Code:
    }"moonhawk_spring_R_drag": {
         "information":{
    	    "authors":"twitch",
            "name":"Bruckell Moonhawk 'Hemi Under Glass' edition rear axle mounting"
        }
    	"slotType" : "moonhawk_spring_R",
    	"flexbodies": [
    	     ["mesh", "[group]:", "nonFlexMaterials"],
    		 ["moonhawk_spring_R", ["moonhawk_shocktop_R","moonhawk_springbottom_R"]],
    	],
    		 "nodes": [
    		     ["id1:", "id2:"],
    			 {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1.0 "beamShortBound":1.0},
    			 //beams to hold wheel set height and steady, no spring
    			 {"beamSpring":1251000,"beamDamp":250, "beamDeform":160000,"beamStrength":240000},
    		     ["axshl", "f8ll"],
    		     ["axshr", "f8rr"],
    		     ["ax1", "f19"],
    			 ["ax3l", "f6ll"],
    			 ["ax3r", "f6rr"],
    		]
    }
    Some of you might notice this part looks a little 'differential' to the rest :p (sorry couldnt resist :) )
    How does one lock a diff?
    I've tried putting what I think is the correct parameter, or at least the one that is different between the lsd and the open one, up to vaguely silly levels but when off the floor one spins backwards (thanks to DrowsySam for the forklift, its a useful thing :p)
    have I just not put in enough zeros or something?

    many thanks
    twitch

    edit, yes I forgot the images, I'm fixing that
     

    Attached Files:

    • hawkbug1.jpg
  2. cuytastic101

    cuytastic101
    Expand Collapse

    Joined:
    Jan 25, 2014
    Messages:
    101
    Did you copy/paste your new component into the jbeam or did you type it out? Jbeams are incredibly syntax sensitive; I've found that when I try typing my own out, it works 50% of the time and if it doesn't work I'll never fix all the issues that creates. So I always copy one of the dev created parts and change the relevant values, rename it, etc.

    As for locking a diff, there isn't really a setting implemented for that yet. You can, however, make an incredibly torquey LSD. Try downloading the "derbyhawk"by DrowsySam and checking out its differential options as a reference. That's the first car that comes to mind with open, limited slip and welded differential options in the same jbeam file.
     
  3. twitch

    twitch
    Expand Collapse

    Joined:
    Aug 26, 2013
    Messages:
    10
    I typed it out but copying a dev one... Hmm I guess that I'll just have to go start again with that
    edit: I realised I'd missed something that was causing the errors... fixed now :)
    Okay, I'll go download that now and have a look
    thanks muchly :)
     
    #3 twitch, Aug 24, 2014
    Last edited: Aug 24, 2014
  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