I'm working on a map for several months now. When I started static models generated materials.cs file, but now they generate main.materials.json. I'm writing format converters in Python from one format to the other out of desperation and I'm just wondering what am I missing. Is this intentional? If so is it documented anywhere? Was there an update that changed this? Or has it always been like this?
Ok thanks a lot. 0.17 changelog: "Material files moved to new Json format, allowing multiple files for better modability" At least it's backwards compatible, but it's hell to work with both formats at the same time.
It's not documented in the Wiki, as the Wiki itself is getting replaced by proper documentation in the hopefully-near future. You should prefer JSON over CS, more future-proof and flexible. It's the same thing, just how the text is formatted is different. Just check one of the materials.json file, it's easier to see the difference. All the various variables and 'material features' names are the same.
salut moi je cherche la liste complète des groundType attribuable aux matériaux asphalt mud snow sand rock metal ? je n'ai pas trouvé vous avais une idée
"vanilla" groundmodels are listed in this file gameengine.zip/art/groundmodels.json if you want to add custom ones you can do this https://www.beamng.com/threads/groundmodel-properties.24270/#post-356304