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

IL-2 Sturmovik: Cliffs of Dover Latest instalment in the acclaimed IL-2 Sturmovik series from award-winning developer Maddox Games.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2011, 03:21 PM
Gourmand Gourmand is offline
Approved Member
 
Join Date: Jun 2010
Posts: 208
Default rearm refuel script needed

hi, i hope a rearm/refuel script exist... the majority of dog existing is in"real configuration" ( limited ammo and fuel ).
can we have an official comment for it.
it's was great if we can reload at the base instead of create an other flight....

Reply With Quote
  #2  
Old 08-06-2011, 03:44 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

It's not possible, there is a get but not a set command. So you can get Informations about fuel and ammunition but at the moment it is not possible to change the values via script.
command for fuel status:
(actor as AiAircraft).getParameter(part.ParameterTypes.S_Fue lReserve, -1)
for amunition (0 = 1st gun, 1 = 2nd gun etc.)
(actor as AiAircraft).getParameter(part.ParameterTypes.S_Gun Reserve, 0)
for Bombs:
(actor as AiAircraft).getParameter(part.ParameterTypes.S_Bom bReserve, 0)

Last edited by FG28_Kodiak; 08-06-2011 at 03:50 PM.
Reply With Quote
  #3  
Old 08-06-2011, 10:37 PM
adonys adonys is offline
Approved Member
 
Join Date: Apr 2010
Posts: 850
Default

something is possible, via spwaning a new aicraft of player's type, then force the player from his old aircraft into the newly spawned one.
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 04:10 AM.


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