#1
|
|||
|
|||
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 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. |
#2
|
|||
|
|||
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 |
|
|