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
  #11  
Old 08-11-2011, 05:35 PM
Blackdog_kt Blackdog_kt is offline
Approved Member
 
Join Date: Jan 2008
Posts: 2,715
Default

Great find and not just for training.

This script will actually help display the damage model's capabilities to a very good extent.
Reply With Quote
  #12  
Old 08-11-2011, 08:49 PM
DUI DUI is offline
Approved Member
 
Join Date: Aug 2011
Posts: 127
Default

Nice! Especially, for quick missions it is very interesting to see how the aircrafts slowly/quickly fall apart.
Reply With Quote
  #13  
Old 08-11-2011, 09:56 PM
jimbop jimbop is offline
Approved Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

I've noticed that I never see damage from fire. Often a second pass after springing a fluid leak will result in a fire. Whilst I see the initial damage (i.e. fuel leak or oil leak) there doesn't seem to be any additional damage from the fire.

Have any of you guys noticed fire damage?
Reply With Quote
  #14  
Old 08-11-2011, 10:05 PM
Strike Strike is offline
Approved Member
 
Join Date: Jul 2010
Location: Norway
Posts: 684
Default

For me fire only seems to deal visual damage, rip off panels, control surfaces and damage the player. Engine fires seem like a whole separate story though. They look and act different.. And don't spread
Reply With Quote
  #15  
Old 08-11-2011, 10:15 PM
Blackdog_kt Blackdog_kt is offline
Approved Member
 
Join Date: Jan 2008
Posts: 2,715
Default

It's very noticeable in terms of aerodynamic handling (especially if fabric covered control surfaces get damaged) and its dynamic nature makes it even more interesting.

Some time ago i was messing around in QMB, flying a 110 against some Hurricanes. I met the last surviving Hurricane in a head-on pass, i knew he'd get good hits on me but though "ah, what the hell" and went for it just to see how it would turn out.

I did get a pilot kill and damaged his aircraft too (engine on fire) but he flamed my no 1 engine as well: everything was shot up, magnetos, radiators, fuel tanks and to top it off the prop governor was inoperable so i had to make the trip back to France on one engine and the other propeller windmilling at almost full drag (i was climbing during the head-on so i had fine pitch selected).

I trimmed for as close as it could go in terms of level flight and started on the way back to base just to see how the damage model would perform.

There was a fire on the left wing that was mostly under control and since my left wing tanks were exhausted after a while due to the leaks and fire, i wasn't worried about exploding.

Well, the moment i started slowing down a bit at a safe altitde to explore the handling and possible changes in trim i would need for the crash landing, the fire started spreading. After a few seconds i got a message that the gunner was dead.

It was now evident that i wouldn't make it over land with my current altitude and descent rate (i was barely short of clearing the cliffs on the coast) so i decided to ditch in the water. Well, the moment i really slowed down to deploy some flaps is when all hell broke loose, because the fire engulfed the entire left wing. Even though there was not much in terms of graphical damage on the wing skin, the change in aerodynamics was so pronounced that i entered an uncontrollable left roll (and resulting nose down pitch) and crashed into the water at about 60-70 degrees of bank.

Definitely one of the best missions i've had and it reminds me of my silent hunter 3 days: initially i was careful and loading my saved games when the convoy escorts started pinging me, until i realized that i was missing half the game. The real fun was getting into rough situations and seeing how things will unfold and the fact that the same thing applies to CoD is a big plus for me.
Reply With Quote
  #16  
Old 08-11-2011, 10:19 PM
machoo
Guest
 
Posts: n/a
Default

Where do you 'edit' the script. No edit button. I can delete it , but cant copy and paste.
Reply With Quote
  #17  
Old 08-11-2011, 10:27 PM
jimbop jimbop is offline
Approved Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

Quote:
Originally Posted by machoo View Post
Where do you 'edit' the script. No edit button. I can delete it , but cant copy and paste.
Click in the script box and Ctrl+V to paste.
Reply With Quote
  #18  
Old 08-12-2011, 06:00 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
Originally Posted by jimbop View Post
I've noticed that I never see damage from fire. Often a second pass after springing a fluid leak will result in a fire. Whilst I see the initial damage (i.e. fuel leak or oil leak) there doesn't seem to be any additional damage from the fire.

Have any of you guys noticed fire damage?
The script only reports damage initiated from players. If you need all damage informations you must delete the if (DamageFrom.Player != null ) clause.
so the code should look like:

Code:
using System;
using maddox.game;
using maddox.game.world;

public class Mission : maddox.game.AMission
{

    public override void OnAircraftDamaged(int missionNumber, string shortName, AiAircraft Aircraft, AiDamageInitiator DamageFrom, part.NamedDamageTypes WhatDamaged) 
    {
    	base.OnAircraftDamaged(missionNumber, shortName, Aircraft, DamageFrom, WhatDamaged);
    	
    	    GamePlay.gpLogServer (null, "{0} hits {1} : {2} \n", new object [] {DamageFrom.Player, shortName, WhatDamaged});//Test
    	
    }
}
if you would like to see the structural damage also, you can add OnAircraftLimbDamaged(..), may be a little too much information , so without filtering it's only for testing.
complete code:
Code:
using System;
using maddox.game;
using maddox.game.world;

public class Mission : maddox.game.AMission
{

    public override void OnAircraftDamaged(int missionNumber, string shortName, AiAircraft Aircraft, AiDamageInitiator DamageFrom, part.NamedDamageTypes WhatDamaged) 
    {
    	base.OnAircraftDamaged(missionNumber, shortName, Aircraft, DamageFrom, WhatDamaged);
    	
    	    GamePlay.gpLogServer (null, "{0} hits {1} : {2} \n", new object [] {DamageFrom.Player, shortName, WhatDamaged});//Test
    	
    }

     public override void OnAircraftLimbDamaged(int missionNumber, string shortName, AiAircraft aircraft, AiLimbDamage limbDamage)
     {
         base.OnAircraftLimbDamaged(missionNumber, shortName, aircraft, limbDamage);	
         
         GamePlay.gpLogServer (null, "{0}: {1} Limb: {2}\n", new object [] { (limbDamage.Initiator.Actor as AiAircraft).Player(0), shortName, limbDamage.LimbId});//Test
     }
}

Last edited by FG28_Kodiak; 08-12-2011 at 07:33 AM.
Reply With Quote
  #19  
Old 08-12-2011, 08:18 AM
jimbop jimbop is offline
Approved Member
 
Join Date: Jan 2011
Location: Australia
Posts: 1,064
Default

Thanks, will have a play! Out of interest how do you know which variables to use?
Reply With Quote
  #20  
Old 08-12-2011, 08:51 AM
335th_GRAthos 335th_GRAthos is offline
Approved Member
 
Join Date: Oct 2007
Posts: 1,240
Default

Awesome information!

Thanks to both of you!

~S~
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 08:43 PM.


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