So I already increased the number of nodes useing numrays, but i want more nodes where the blue dots are. Yellow dots are stock nodes. The idea is more realistic flexing and better handling. The vehicle is 2004 John Campbell Moonbuggy by Dkutch
Not sure it's possible with the stock tire function at the moment. The only thing I could think would be to manually jbeam the whole tire, which would be very painstaking. I'm not a modder though, so take that with a grain of salt.
I think you could possibly do this with rotators (replace wheel with rotator) but I don't know anything about them so I'm not sure
I need the sidewall to flex outward when it squats down because if the tire is really soft it just wrinkles up when torque is applied. With the extra nodes i'm hoping it would flex correctly with weight instead of wrinkling so much. i know tires wrinkle a little IRL but this is really excessive. Mabe this is what gabester is doing in the update. It says something about improved tires.
you would need to add more beams to the tire also or it would just collapse just sayin edit: actually i don't know
Add VBeams to the wheels, it adds an extra lot of beams. Code: {"enableTireSideVBeams":true}, Here's where it goes: (imported from here) It will make them much stronger, the same thing is used on my Monster Van to stop the wheels from splitting.
Vbeams are already enabled. i need the sidewall to easily flatten by folding like a flat tire does but still have good strength against torque. Just like in real life. The tire seems to be generated by lua at loading, but i cant find a lua file that looks like it could generate the circle. Anyone know where it is?
You would need to rewrite the Lua to generate more nodes and beams. It's certainly possible, but it would be very difficult. I have some beginner/intermediate Lua knowledge but I wouldn't know where to begin with redesigning the tire construction.
I think beamng.lua contains the wheel generation code. It may be possible to write your own vehicle-specific Lua for custom tires once the race update comes out.
Seriously gabe, any time and every time y'all say something about the update, I get all excited like a five year old on Christmas. The mature, adult me says "take your sweet time and make something awesome, because I can wait for awesomeness"... And then the five year old me says "PLEASE GIVE IT TO ME NOW. I CANNOT WAIT. I MUST HAVE THIS". Please disregard the five year old me, and continue to be as awesome as the things you create
I tried this exact type of tire a long time ago back in May or something. I couldn't get it to work. Anyway, yeah it is in beamng.lua. just ctrl+f search for "addHubWheel" (not addhubwheelTSI or whatever), then scroll down a bit to where it goes: local inhubnode = hubnodebase + i2 local outhubnode = inhubnode + 1 and then some other stuff... I'll upload my tire model that I started on, but be warned: This will ruin your game, you WILL need to modify it A LOT to get it working, as it is based on code from back in May or maybe earlier. It was just a start of me trying something that didn't end up working so I gave up. IT WILL BREAK YOUR GAME WITHOUT MODIFYING, so if you plan on trying it, make a backup of beamng.lua. Don't ask me for an unmodified file if you screw up your game
Just realised I put completely the wrong file on here... The one I uploaded was an attempt to add an extra row of nodes in the center of the tire... which again, didn't work I'll try to find my sidewall one, no promises though... EDIT: Did it... Haven't tuned it at all, but ok. You need to do the following to get it to work on the cars: add {"sideWidth":0.235}, (any number of course) {"sideRadius":0.3}, And mess with the tire weights and spring/damping a lot so they don't explode... I haven't tested it at all but I'll see if I notice anything very different. Sidewall flex seems WAY nicer than it used to be, that's for sure.
Thanks alot this is gonna be awesome - - - Updated - - - I must not be putting the code in right. When a vehicle trys to load it freezes. There are two errors on the screen that you get to with the ` key but only one looks like I did it BEAMNGl ERR l got exception: lua/vehicle/beamng.lua:1346: bad argument #4 to 'float3' (number expected, got nil) Here is the sidewall section Found it I had messed up in the jbeams.
I can't help with the nodes but if you want a better crawler feel, switch the tran/engine from the "helljeep"