Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2012, 01:50 PM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default 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?
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate

Last edited by moggel; 12-05-2012 at 02:26 PM.
Reply With Quote
  #2  
Old 12-05-2012, 05:33 PM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

Salmo answered this over the Steam chatt and it seems buildings are indeed impossible to add via sub missions. Too bad ...
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:25 PM.


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