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 06-21-2012, 07:01 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

To despawn the plane after grounding, was simple for this people who crashed and then sit a half an hour in their planes and waiting. So they must select a new plane. But it's no problem to despawn a plane after correct landing after Pilot leaves plane.
Reply With Quote
  #2  
Old 06-21-2012, 07:05 PM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default

yeah thats what i mean
if a player would come back to the home airfield, and lands safely, then leaves the plane, the plane should despawn, but the script should then know that it "puts that plane back into the spawnpoint"

that would be a great script for my purpose
__________________
Reply With Quote
  #3  
Old 06-24-2012, 08:36 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

So enhanced Version, Planes landing on their HomeBases are returned into the "Pool". If no plane is available on the Base the SpawnPlace will be removed, and recreated if a plane returns into the pool.
Planes that are landed or crashlanded are "force"-removed after 60 sec. You can change the Time (in seconds) in
ActorObservation.ForceActorDestroyNotPosChangeAfte r(60);
or if you dont like it remove the line.

If you use SpawnPlaces with Airstart, place it over an existing Airstrip, if a Plane lands on this strip, it returns into the pool.

You can use more than one planetype on a Birthplace, but there is only one counter per Birthplace at the moment, so the script does not differ the types.
Maybe i add this feature in the future, also thinking about a transfer feature.

Script:
http://forum.1cpublishing.eu/showpos...2&postcount=40

Last edited by FG28_Kodiak; 06-26-2012 at 05:20 PM.
Reply With Quote
  #4  
Old 06-24-2012, 09:01 AM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default

thank you sooo much Kodiak!!!

will try that out immediately after i got my morning coffee....
what do you mean with "...the script does not differ the types.."?
would it be theoretically possible, that one airfield/spawnarea has a certain amount of different planetypes?for example 20E1s and 10E4s?is that what you mean with not differing in planetypes?
__________________

Last edited by David198502; 06-24-2012 at 09:14 AM.
Reply With Quote
  #5  
Old 06-24-2012, 09:41 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
Originally Posted by David198502 View Post
for example 20E1s and 10E4s?is that what you mean..
Yes thats what i mean , it should be possible.
Reply With Quote
  #6  
Old 06-24-2012, 09:44 AM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,536
Default

ah ok,thats a neat possibility....and the transfer feature is probably, that if a plane spawns at one airfield, but lands at a different one, that it than will be transfered to the other "plane pool"...i guess.
those two features would be great!....but no worries,...im more than happy with the current script.but if you decide to add those features, please let me know...
i will try it out now, and report back...
__________________
Reply With Quote
  #7  
Old 06-24-2012, 09:53 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

BTW I made the script - it's your part to test it
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 05:36 PM.


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