i have aquired notepad++. from what i've seen, doing it in this method will replace the base model. i don't want that. would there be a way to do it to get it to appear with the rest of the mod instead of it needing to replace something?
- Create a jbeam entry for your skin (use the others for the F150 as a reference) - Have a separate entry in your materials file. - Better yet, use subfolders, so you can have a dedicated materials file for the skin and a separate .jbeam file in there, without the need to modify anything.
EDIT: ninja'd --- Post updated --- simple errors are anoying.....like putting the .dae files in the vehicle folder instead of CRDTest --- Post updated --- got it....now how do i make selectable skins for it?
First you need a paint scheme slot in the body: Code: "CRDTest_body_BodyName":{ "information":{ "authors":"", "name":"Description of the bodystyle here", }, "slotType":"CRDTest_body_type_A", "slots":[ ["type","default","description"], ["skin_BodyName_body","","Shell Design"{"coreSlot":true}], ], [...] Then you need a suitable skin entry in one of your .jbeam files To work with the system in place, it should look like this: Code: "CRDTest_skin_SkinName":{ "information":{ "authors":"", "name":"Description of your skin here", }, "slotType":"skin_BodyName_body", "globalSkin":"SkinName", }, Once all this is done, you need to define materials: Code: singleton Material("MeshName.skin_BodyName_body.SkinName") { mapTo = "MeshName.skin_BodyName_body.SkinName"; diffuseMap[0] = "vehicles/CRDTest/Textures/YourSkinName/Texture.png"; [...] }; All the "BodyName" entries and "SkinName" entries must all be matching.
well that's a start. i must be missing one step someplace. i made an entry for it in the main crd file, made an info file, then made a texture (used my kfa2 texture as reference). anything else?
would i make a separate file for that, or add it to the main file? or do something completely different?
You'll get it. Make sure you do not have double entries. You can add jbeam to the main file, or make a new file. New file should start with { then your jbeam stuff, and end with } All materials must be added to materials.cs as far as I know.
Create a folder structure like: vehicles/CRDTest/yourskinname/ Down in this folder, place a materials.cs file with ONLY the materials changed by this skin, and a .jbeam file with ONLY the code for said skin. Remember to enclose the code in brackets {}, like this: Code: { "CRDTest_skin_SkinName":{ "information":{ "authors":"", "name":"Your Skin", }, "slotType":"skin_BodyName_body", "globalSkin":"SkinName", }, } Also, update the path to textures in the materials.cs file to point at the new location of textures if you move them.