Hi, i'm new to modding in this game and before trying to completly add a car into BeamNG, I wanted to try to make an addon. Leading to the problem, I made a rollcage for the Van (image), cleared up the Jbeam (image) and my attempts at adding it as a mod were failures. I've read the "Creating a Simple Addon" thread, as well as the ones of "Vehicle Creation Megapage" etc...I'm a bit lost. Could someone list the steps on how to simply add a part to a vehicle of BeamNG ? (with some explanations ) I don't know if I have to add only the Dae with the rollcage in it or with the whole vehicle too. I do not know either where I have to tell the game to load the texture of the rollcage, in which file and how. Tried to look at how is the JBEAM of the Sunburst but same end. Pics of Jbeam, Dae and files (in case you want to check up Jbeam or Dae) Thanks for any help.
Hey, we may need to do it step by step. First of all, you just need to put your rollcage into the dae file and get rid of all the other meshes otherwise they would overwrite the default ones. Furthermore make sure that you reset your mesh' scale,location, and rotation. Since you're using Blender you have to use the 'Apply' function by selecting your mesh and clicking Ctrl+A. In the end the transform values should look like this: To modify the textures of your rollcage you have to assign a material to it within your 3d apllication. Give it an unique name which you'll to define the corresponding textures (e.g. van_rollcage_mat). To prepare the material for the game you need to have a materials.cs file. Have a look at the stock vehicles and copy/paste one of the existing one. This one should look like this (it's just a rough example): It's important that the string for the mapTo property is exactly the same as the material string defined in your 3d application. Also you may want to use another slot for your rollcage. Currently you are using the van_half_rollcage which is not defined yet. So you're not able to select your rollcage. For additional parts we have a default slot - the mod slot. For the van it's called van_mod. So please change your jbeam file accordingly: Cheers, Ludger
Hi, thank you for your reply, I'm going to test this right away. Edit : It now spawns after few tries, but object is half transparent or at least we can see half of it, texture is really bright. Second major problem, the object is like "exploding" the whole vehicle (I have to stop physics when spawning to actually see it not bugging out).