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 09-09-2011, 04:54 PM
SNAFU SNAFU is offline
Approved Member
 
Join Date: Feb 2011
Posts: 324
Default

Thank you. Implemented this into my mission script and put it online, currently running on the III/JG27 Server. Unfortunatly I have no chance to test it.
But I got it to the "plane-destroy-after-ESCleaving-script" with its OnPlaceLeave- and OnPlayerEnter- Call-ups, without putting out error messages, so far.
So the plane is destroyed after abandoming and the player should get 10mins break, by blocked fuel pump in the next 10mins (I increased the time and that was what I thought the script does)

If someone is able to test it on our server, please report back.


My Mission-Skript looks following:

...Well, 169574 characters and only 50000 allowed....
__________________
http://cornedebrouwer.nl/cf48e

Last edited by SNAFU; 09-09-2011 at 04:57 PM.
Reply With Quote
  #2  
Old 09-09-2011, 05:16 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Testing now - at the moment i've to wait 10min
Reply With Quote
  #3  
Old 09-09-2011, 05:28 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Another suggestion is to print time left for player till he can create new plane on screen.

Is it possible to add the last damager to the chat message for everyone to let everyone know who shot him down?
Reply With Quote
  #4  
Old 09-09-2011, 05:43 PM
Ze-Jamz Ze-Jamz is offline
Approved Member
 
Join Date: Jan 2011
Location: On your six!!
Posts: 2,302
Default

Quote:
Originally Posted by Ataros View Post
Another suggestion is to print time left for player till he can create new plane on screen.

Is it possible to add the last damager to the chat message for everyone to let everyone know who shot him down?
Wouldnt that show the last person to get a plink on him to be the killer..I.e gets credited with the kill?
Reply With Quote
  #5  
Old 09-09-2011, 05:29 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Quote:
Originally Posted by SNAFU View Post
My Mission-Skript looks following:

...Well, 169574 characters and only 50000 allowed....
LOL You can attach it as zip or maybe as txt as well
Reply With Quote
  #6  
Old 09-09-2011, 05:51 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

@SNAFU
The fuelpump doesn't block!
Haste mal wieder die Klammern durcheinandergebracht?

Quote:
Another suggestion is to print time left for player till he can create new plane on screen.
Is on my todo list

Quote:
Is it possible to add the last damager to the chat message for everyone to let everyone know who shot him down?
Without a problem
Reply With Quote
  #7  
Old 09-09-2011, 06:01 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

Maybe something like this would work?
Code:
(actor as AiAircraft).hitNamed(part.NamedDamageTypes.Eng0TotalFailure);
I've seen it in another script working.
Reply With Quote
  #8  
Old 09-09-2011, 06:15 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

At my Testmission FuelPumpFailure works without a problem. So i dont know what's going wrong.
Reply With Quote
  #9  
Old 09-09-2011, 07:38 PM
SNAFU SNAFU is offline
Approved Member
 
Join Date: Feb 2011
Posts: 324
Default

@Kodiak, nö, dann hätte er ja Fehlermeldungen rausgespuckt. I just get the usual "Object not set to a reference" messages as before, nothing unusual...

Does the script recognize that the player just spawned and wants to change the airfield, so didn´t even takeoff? Will the player get a penalty then also?

I attached the script below. I have also the "plane-destroy-after-abandoming" script running, so I have troubles with calling up the "OnPlayerLeave" parts twice.
Attached Files
File Type: zip Mid-July1940_v1.zip (22.4 KB, 7 views)
__________________
http://cornedebrouwer.nl/cf48e

Last edited by SNAFU; 09-09-2011 at 07:43 PM.
Reply With Quote
  #10  
Old 09-09-2011, 07:49 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

No the script uses Aircraft.IsAirborne, if true the plane is in the Air, if false the plane is on ground. But this works only again in the Beta Patch and then i hope so forever after the next reqular patch.

I will take a look at your script.

At the moment i work on your Death penalty -> Brzzzzlll and on the Arrest Count Down.
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:30 AM.


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