I'm working on a mod for CW2, but I've looked at the other AGEOD game databases to try to find the information I need. I'm still coming up short.
From what I can tell, at some point in the engine development process, subtypes for models became linked to another value, which I suspect is the model family. In the model database for CW2 the subtype is listed but it's also one of the fields that is deprecated and thus doesn't get put into the model files. While there are sometimes multiple subtypes listed for a family in the database, I think the engine is ignoring it if I include the subtype field in the model files.
I looked at Russia Under Siege DBs as a reference. They don't even list subtype in the model DB, but they are still using family. Continuing with RUS as an example, the terrain files still only have 6 subtypes defined for frontage calculations, even though there are things like tanks and other vehicles defined in RUS. I haven't played that game but I suspect the tanks are artillery subtypes for the purpose of frontage.
Back to CW2. In the mod I'm working on, I'm trying to utilize more of the families in the engine to more closely regulate replacement costs. Super heavy arty, heavy cavalry and armored train are three of the families I'd like to use. I dont know what subtypes they are defined as. So here are my questions.
1. Can you provide a list of the families and what subtypes they are linked to?
2. Is it possible to get the engine to reference a subtype from the model file and override the subtype defined by the model family? Some thing I can tell the engine to do, like instead of using this list of subtypes for models, use the list of subtypes in the model files instead?
Thanks for any assistance, and happy holidays!
-jmm