Hi there, I'm trying to create a first test car, but meanwhile I'm worried about the slot system. Is there a list of all slots? In my opinion, after a little journey through the installed car files, the slot names are predefined (?) like "..._engine", "..._suspension_F" and so on. And the second question: I got stuck in the creation of the first wheel... Does it also need a separate slot? I'm looking for a code example for a simple tire, nothing else. I got entangled in the jbeam-code, especially in cause of the slots and the naming... Thanks in advance! Best regards Jan
For a better understanding: Is it theoretically possible to define a single jbeam-file without any slots (except the "main"-slot)? Has anybody perhaps an example for a complete jbeam-file in which a whole car or else is created?
Yes, it's possible to have a jbeam without any slots, all in one file. Just look at some of the props included with the game. Although I don't understand why you'd want to do that; the whole slots thing allows people to modify the parts in-game, as well as allowing a modular code design means content creation is easier.
Because I'm a newbie and first I want to understand how BeamNG works. Later I'll work with slots certainly.
Wheels do not need to be in a separate slot. There just has to be a "pressureWheels":[ ] section with the necessary parameters. I recently made a pressureWheels wiki page to help with understanding what each parameter does. Though at this point it doesn't really say what the bare minimum parameters are.