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)
-   -   The problem with sub-missions (http://forum.fulqrumpublishing.com/showthread.php?t=33935)

salmo 08-17-2012 01:56 PM

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

5./JG27.Farber 08-17-2012 03:54 PM

When you say "sub-mission" do you mean loading another ".mis"?

salmo 08-17-2012 04:10 PM

Quote:

Originally Posted by 5./JG27.Farber (Post 454957)
When you say "sub-mission" do you mean loading another ".mis"?

yes

ATAG_Bliss 08-26-2012 05:45 AM

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


All times are GMT. The time now is 04:40 AM.

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