Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   FMB, Mission & Campaign builder Discussions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=203)
-   -   Buildings in sub missions (http://forum.fulqrumpublishing.com/showthread.php?t=36343)

moggel 12-05-2012 12:50 PM

Buildings in sub missions
 
I'm experimenting with some code that will dynamically "decorate" the map with stationary stuff and buildings. The code builds a mission file and loads it as a sub mission and the concept wors fine except for buidlings. My current experiment adds missing Chain Home stations to the default map. I'm adding antennas ("Stationary") and some small service buildings around the antennas, just like we normally see on the default map.

My problem is that nothing that goes into the "[Buildings]" section appears on the map.

While debugging I saved the dynamically generated mission to a file and this is what it looks like:

Code:

[Stationary]
  Static0 Stationary.Radar.EnglishRadar1 gb 116966.23 198652.72 -85.00
  Static1 Stationary.Radar.EnglishRadar2 gb 117269.47 198538.50 -85.00
  Static2 Stationary.Radar.EnglishRadar2 gb 117266.62 198446.64 -85.00
  Static3 Stationary.Radar.EnglishRadar2 gb 117367.01 198543.38 -85.00
  Static4 Stationary.Radar.EnglishRadar2 gb 117374.37 198449.25 -85.00
[Buildings]
  0_bld buildings.House$EnglandMechTransportShed4501_37 1 117418.96 198525.22 180.00
  1_bld buildings.House$EnglandGunneryWorkshop 1 117420.04 198509.94 90.00
  2_bld buildings.House$EnglandRespiratorWorkshop 1 117070.89 198712.69 -90.00
  3_bld buildings.House$EnglandRespiratorWorkshop 1 117045.87 198712.37 -90.00
  4_bld buildings.House$EnglandRespiratorWorkshop 1 117021.24 198712.37 -90.00
  5_bld buildings.House$EnglandMechTransportShed4501_37 1 116986.51 198711.73 270.00
  6_bld buildings.House$Bomb_Store 1 117034.78 198667.76 270.00

I have tried to load that mission file explicitly and the result is exactly the same ("Stationary" objects goes in but "Buildings" does not).

So, is it not possible to dynamically add buildings like this?

moggel 12-05-2012 04:33 PM

Salmo answered this over the Steam chatt and it seems buildings are indeed impossible to add via sub missions. Too bad ...


All times are GMT. The time now is 02:53 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.