Daffyflyer wrote:thecarlover wrote:A few new issues now...
The bone boxes appear in the model, and the model appears in its edited form (after adding the bones) instead of the basic mesh before adding bones
The scale is way off, the wheelbase should be around 3.4 m, not much bigger than the 90s van I took the .lua files from, but it seems to be at least 4 m
The half seam in the middle of the door on the back (to split it into two doors) doesn't appear, but the edge of the door is offset from X = 0 in the model
I get "Invalid material" popups saying it only has 10 materials, so there's no material 10, 11, 12
You don't actually export the bone boxes, just the car body itself with the skin modifier on it. It will always export however it looks in 3ds max though, so if you move the bones in Max it'll change how the export looks.
How big is the wheelbase of your model when you measure it in 3ds max?
Seams in the middle of the car need to be pretty wide, or they'll get automatically welded together, so that might be the issue.
Check how many materials are defined in the LUA file, it sounds like there are 13 of them defined, but the model only has 10 of them in 3ds max, so it has no idea what you're trying to tell it with the last 3 materials
How can I export the model without exporting the boxes along with it? Also, the bones have moved to where I had moved the boxes when skinning the model, is there a way to get the skinning back to default, or do I just have to move them and try to get as close as possible?
The wheelbase in max is ~350 cm (I made sure to scale things properly), so I don't know why the model looks giant, even dwarfing the 70s pickup/SUV in-game
For the materials, I assigned the ECS_BOTTOM_BOX and ECS_TOP_BOX the same material as the cargo box, so could that be the issue?
The "BodyBoxes" section of the .lua, with their position and size is also something I don't understand. Is that just manually scaling and placing the ECS_BOTTOM_BOX and ECS_TOP_BOX in the .lua instead of whatever values are in 3ds Max?