1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-17-2012, 02:56 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default The problem with sub-missions

DEV"s please, please read this & address these issues

After much experimentation, trial & error, I've concluded that there are some fundemental flaws with the game C# code relating to sub-missions. Perhaps someone can explain the difference between the two methods GamePlay.gpLoadSectionFile and GamePlay.gpPostMissionLoad. I had hoped to setup missions (or section files) as "templates", like a template for Hawkinge airfield with buildings/roads/vehicles etc which could be loaded as a sub-mission from any main battle file. Unfortunately, it looks like GamePlay.gpLoadSectionFile and GamePlay.gpPostMissionLoad are only good for loading AIAircraft groups or AiGroundGroups as seperate Ai actors.

SUB_MISSION PROBLEMS:

1. GamePlay.gpLoadSectionFile and GamePlay.gpPostMissionLoad behave differently when loading a sub-mission. Using gpLoadSectionFile, no ground objects from the submission are imported into the main battle. Using gpPostMissionLoad, stationary vehicles are loaded from sub-mission into main battle, but no other objects.

2. Spline roads are NOT loaded via ether sub-mission loading method.

3. Mobile vehicles attached to spline roads (with the car.cpp script) appear when loaded from sub-missions, but are stationary only.

4. C# script attached to sub-missions sometimes operate correctly, but fail for any game console, screen, chat, server IO messaging, voice messaging. ie. these methods fail when used in sub-missions - gpHUDLogCenter, gpLogServer, Console.Write, Console.WriteLine, sayToGroup
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE

Last edited by salmo; 08-17-2012 at 03:03 PM.
Reply With Quote
  #2  
Old 08-17-2012, 04:54 PM
5./JG27.Farber 5./JG27.Farber is offline
Senior Member
 
Join Date: Aug 2011
Posts: 1,958
Default

When you say "sub-mission" do you mean loading another ".mis"?
Reply With Quote
  #3  
Old 08-17-2012, 05:10 PM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by 5./JG27.Farber View Post
When you say "sub-mission" do you mean loading another ".mis"?
yes
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash.

Get the latest COD Team Fusion patch info HERE
Reply With Quote
  #4  
Old 08-26-2012, 06:45 AM
ATAG_Bliss ATAG_Bliss is offline
Approved Member
 
Join Date: Mar 2010
Posts: 1,154
Default

This is the exact reason I stopped using sub missions long ago.
__________________

ATAG Forums + Stats
Reply With Quote
Reply

Thread Tools
Display Modes

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:51 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.