Hey I have been working on the EU3 to rev converter and if you want to story on why I am asking this have a read of the last few pages for it if you are a programmer we could really use your help.
Anyway I am wanting to add factories to a scenario from a included file (like how the events and pops are added) this is my current testing file
The problem is when the game tries to load it it gives me a “illegal top level object” error. Now I am assuming this is because the factories are not in a country section? Now is there any way to add factories as an included when the actual country they are going to is unknown? the way to fix it can not be a program it to go into the country section as it is not possible for us to actually do that at this point in time.
Anyway I am wanting to add factories to a scenario from a included file (like how the events and pops are added) this is my current testing file
Code:
factroy = { location = 251 id = { type = 5300 id = 1 } type = glass_factory }
factroy = { location = 253 id = { type = 5300 id = 2 } type = paper_mill }
factroy = { location = 256 id = { type = 5300 id = 3 } type = machine_parts_factory }
factroy = { location = 255 id = { type = 5300 id = 4 } type = luxury_furniture_factory }
factroy = { location = 231 id = { type = 5300 id = 5 } type = paper_mill }
factroy = { location = 233 id = { type = 5300 id = 6 } type = furniture_factory }
factroy = { location = 230 id = { type = 5300 id = 7 } type = cement_factory }
factroy = { location = 224 id = { type = 5300 id = 8 } type = steel_factory }
factroy = { location = 227 id = { type = 5300 id = 9 } type = regular_clothes_factory }
factroy = { location = 225 id = { type = 5300 id = 10 } type = fertilizer_factory }
factroy = { location = 222 id = { type = 5300 id = 11 } type = lumber_mill }
factroy = { location = 219 id = { type = 5300 id = 12 } type = explosives_factory }
factroy = { location = 221 id = { type = 5300 id = 13 } type = luxury_clothes_factory }
factroy = { location = 216 id = { type = 5300 id = 14 } type = fabric_factory }
factroy = { location = 217 id = { type = 5300 id = 15 } type = winery }
factroy = { location = 215 id = { type = 5300 id = 16 } type = ammunition_factory }
factroy = { location = 214 id = { type = 5300 id = 17 } type = clipper_shipyard }
factroy = { location = 212 id = { type = 5300 id = 18 } type = small_arms_factory }
The problem is when the game tries to load it it gives me a “illegal top level object” error. Now I am assuming this is because the factories are not in a country section? Now is there any way to add factories as an included when the actual country they are going to is unknown? the way to fix it can not be a program it to go into the country section as it is not possible for us to actually do that at this point in time.