My question is how do I color the material with the ingame color menu? Currently this is my code: Code: singleton Material(rowler_hatch_interior) { mapTo = "hatch_interior"; diffuseColor[0] = "0.1588 0.1588 0.1588 1"; specular[0] = "Black"; specularPower[0] = "50"; translucentBlendOp = "None"; }; Thank you for your response. Have a nice day
There is an item slot which can be used to change interior colors exactly like skin. Your material have missing texture, them the material will be matt Material Code: singleton Material(hatch_interior.skin_interior.rowler) { mapTo = "hatch_interior.skin_interior.rowler"; reflectivityMap[1] = "vehicles/hatch/hatch_interior_s.dds"; diffuseMap[1] = "vehicles/hatch/hatch_interior_d.dds"; specularMap[1] = "vehicles/hatch/hatch_interior_s.dds"; normalMap[1] = "vehicles/hatch/hatch_interior_n.dds"; reflectivityMap[0] = "vehicles/hatch/hatch_interior_s.dds"; diffuseMap[0] = "vehicles/hatch/hatch_interior_d.dds"; specularMap[0] = "vehicles/hatch/hatch_interior_s.dds"; normalMap[0] = "vehicles/hatch/hatch_interior_n.dds"; diffuseColor[0] = "0.1588 0.1588 0.1588 1"; specular[0] = "Black"; specularPower[0] = "50"; translucentBlendOp = "None"; }; Jbeam Code: { "hatch_skin_interior_rowler": { "information":{ "authors":"karost", "name":"Rowler Interior", "value":50, }, "slotType" : "skin_interior", "skinName" : "rowler", }, }
Hmm, thanks! I also have another problem. This rowler is a new vehicle that I've been working on. I've put in an engine the rpm is stuck. In the main jbeam I put the "controller" part. Code: { "rowler": { "information":{ "authors":"BeamNG", "name":"Ibishu Rowler", }, "slotType" : "main", "slots": [ ["type", "default", "description"] //bodywork ["rowler_body","rowler_body", "Body",{"coreSlot":true}], ["paint_design", "", "Paint Design"], ["licenseplate_design_2_1","","License Plate Design"], ["rowler_mod", "", "Additional Modification"], ["soundscape", "soundscape_3", "Soundscape"] ], "scaledragCoef":1.0, "controller": [ ["fileName"], ["vehicleController", {}], ], "glowMap":{ (It continues down) But still the console say's that it can't find where the controller is. I have the "rowler" folder placed under "Documents\BeamNG.drive\vehicles\"
one of the engines should define some values like this Code: "vehicleController": { "lowShiftDownRPM":[0,0,0,2500,2900,3200,3400,3400] "lowShiftUpRPM":3750, },