Reading zwadars tutorial, I've discovered this screenshot of the named properties window showing some interesting values:
Ok, the config.cpp describes the behaviour of my add-on. But, is it possible to define the model's values inside itself? And if yes, in which lod?
It's because of WrpEdit, where one can include objects using their p3d files. I noticed some time ago that a fuel station behaves like a fuel station, although only it's p3d is included. My conclusion at that time: Yeah, OFP knows it's fuel station. But now...
Hey guys, c'mon! That's an important question...
I suspect you can't simply reproduce a whole config file there. Canocclude, for example, is p3d specific, as it were. I think it's probably a way of defining certain (limited) characteristics.
Yes, there are some properties which can be in the model, but they all seem to be totally different than which are defined in the config... The fuel stations for example are in the config, like this:
class FuelStation: Strategic
When loading a p3d file from a wrp, the engine seems to go through the config, seeking for a vehicle/nonaivehicle that would use that model and get the properties from there.