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-15-2011, 02:29 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default Train mission won't save?

I place a red train on track along the English coast & go to save the mission. Save appears to be OK, but when I leave the mission a dialog asks me whether I want to save the mission; I click Yes, but the mission doesn't close. When I look in the folder I "saved" the mission it's not there. It's appears the mission is not saving at all. Just ONE object; a moving red train.

Any ideas? A FMB bug? I've seen other missions with trains OK.
__________________
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
  #2  
Old 12-15-2011, 06:01 AM
hc_wolf hc_wolf is offline
Approved Member
 
Join Date: Jul 2010
Posts: 439
Default Remove the splines if you put some in.

This happens if you placed a spline and it did not like it.

Remove the spline and refrence in the .mis file there will also be a .roads file or something i forget its naming.. delete that.

there will actually be a train or vehicle you have placed causing the error.

then u should be fine.

To make sure your mission is ok in future. Place the object then its waypoint then save it before you go placing a long series of waypoints.
__________________
__________________
Win7, 64bit Ultra
Asus P8P67Pro MB
Intel i7-2600K
Coursair 16GB (4x 4GB), DDR3-1600MHz
Gainward Nvidia 580GTX 3GB DDR5
850-Watt Modular Power Supply
WIN7 and COD on Gskill SSD 240GB
40" Panasonic LCD
TrackIR5 +
Thrustmaster Warthog stick, throttle & pedals
Reply With Quote
  #3  
Old 12-15-2011, 08:12 AM
SNAFU SNAFU is offline
Approved Member
 
Join Date: Feb 2011
Posts: 324
Default

... and place regularly a waypoint every 200m or so. You can check if your spline is correct if the waypoint numbers are of ascending order. The spline likes to break at bridges f.e. (some bridges are not even to pass by a train)
Reply With Quote
  #4  
Old 12-15-2011, 08:17 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Thankyou Wolf. Placed just a train starting waypoint & one other waypoint, then saved the mission OK. Then reloaded mission & continued more waypoints & mission saved OK.
__________________
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
  #5  
Old 12-16-2011, 06:42 AM
Megahurt Megahurt is offline
Approved Member
 
Join Date: Oct 2011
Posts: 54
Default Train spawn

Is there a way to make a train spawn when a player gets close to it, via a trigger perhaps?

Secondly, Is there a way to make a train run in a loop continuosly?
|
Reply With Quote
  #6  
Old 12-16-2011, 07:55 AM
salmo salmo is offline
Approved Member
 
Join Date: Mar 2011
Posts: 632
Default

Quote:
Originally Posted by Megahurt View Post
Is there a way to make a train spawn when a player gets close to it, via a trigger perhaps?

Secondly, Is there a way to make a train run in a loop continuosly?
|
1. Yes. You need to set a trigger in FMB (called say "PlayerCloseBy") for when the player gets close enough. Then something like the script below for the trigger event.
Code:
    public override void OnTrigger(int missionNumber, string shortName, bool active)
    {
        //call base classes OnTrigger method.
        base.OnTrigger(missionNumber, shortName, active);

        //if the trigger that was called is the trigger that we're looking for
        if (shortName.Equals("PlayerCloseBy") && active)
        {
           GamePlay.gpPostMissionLoad("missions/Multi/Dogfight/mymission/train.mis");  // start the train mission
           GamePlay.gpHUDLogCenter("Train just spawned");     // tell train spawned
           GamePlay.gpGetTrigger(shortName).Enable = false;    // turn trigger off
         }
    }
2. No. You can attach trains to "rail" spline roads, but they only go in one direction, unlike vehicles which turn around & go up & down the spline road continously. The best you can do is to destroy the train after it finishes it's journey in one direction & spawn another train going back again.
__________________
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; 12-16-2011 at 08:00 AM.
Reply With Quote
  #7  
Old 12-16-2011, 06:53 PM
Megahurt Megahurt is offline
Approved Member
 
Join Date: Oct 2011
Posts: 54
Default Revolving trains

Thank you for the train info. Making a train disappear at the end of its journey and respawn in the other direction is exactly what im looking for.

Do you think you could make and example mission so i and others can open it and see just exactly how to do it?

I read your post but im just not sure where to substitute my mission name etc...

If the mission was called denyrafoil and the trigger was dovertrains ... what would the script look like?

Will the submission start as the original mission continues?
The objective is to add the trains to the mission as needed. Im hoping to create live rail traffic for each area of the map that only plays where ever the player flies.

Thanks..

Last edited by Megahurt; 12-16-2011 at 08:17 PM. Reason: spelling and content
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:52 AM.


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