Flintlock, unfortunately I have problems with integrating the feature of buildings as prerequisites for units into my mods.
All my tries were done with Debug versions of the C3C main-biq.
1. When using the original english C3C main-biq in a Debug version, all the examples in your default.C3x_config file are working as they should.
2. When using the english expanded CCM 2.50 main-biq, I receive an error message when starting the game and the units still can been built without the buildings.
3. When using a Debug version of the German main biq, I also receive that error message and the building prerequisite is still ignored in the game.
Here is a screenshot of the German setting of the config file:
Fabrik = factory, Kaserne = barracks, Flughafen = airport, Panzer = tank, Mechanisierte Infanterie = Mech Infantry, Schwertkämpfer = swordsman, Kavallerie = Cavalry, Bomber = bomber ; all terms are the original terms used by Firaxis for the German version of C3C.
When reading the error message at the start of the game the question arises, what name is needed for the key and what name is needed for the value in this feature of your mod?
If the key here should be the name of the building, does your mod need the English name instead of the German name and is it the name of the building in the editor or the name in the BLDG_entry in the editor ? Both frequently are very different in CCM 2.50 and in the German biq the English BLDG_ and PRTO_entries are used for the buildings and units with German names. The same is true for the value, if the value here is the name of the unit, that needs that building as prerequisite. Is it the name of that unit in the editor or the PRTO_entry for that unit in the editor ?