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 07-26-2012, 08:32 AM
podvoxx podvoxx is offline
Approved Member
 
Join Date: Feb 2010
Posts: 190
Default

In the next patch will be extended capabilities of the method OnStationaryKilled.
Reply With Quote
  #2  
Old 07-26-2012, 08:40 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Ok so it's more rough-and-ready at the moment , hope they integrate the missionNumber so it would be easier to remove the objects.
Reply With Quote
  #3  
Old 07-26-2012, 11:30 AM
hc_wolf hc_wolf is offline
Approved Member
 
Join Date: Jul 2010
Posts: 439
Default

Hi Kodiak,

Well thank you for the code. It works to a point. But the destroyed parts of the radar do not remove from the map. So the new radar just appears on top of the old.

May have to wait till patch and hope the destroyed parts remove after time maybe.
__________________
__________________
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
  #4  
Old 07-26-2012, 05:12 PM
podvoxx podvoxx is offline
Approved Member
 
Join Date: Feb 2010
Posts: 190
Default

Quote:
Originally Posted by hc_wolf View Post

Well thank you for the code. It works to a point. But the destroyed parts of the radar do not remove from the map. So the new radar just appears on top of the old.

May have to wait till patch and hope the destroyed parts remove after time maybe.
Please describe your problem in detail whith mission code.
http://www.sukhoi.ru/forum/showthrea...=1#post1871936
Reply With Quote
  #5  
Old 07-26-2012, 05:48 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

@hc_wolf
BTW this should work for user placed stationary, not for stationaries that are already available on the map (Radars by Dover for example).

This has worked for me without problem:
Code:
    public override void OnStationaryKilled(GroundStationary _stationary, AiDamageInitiator initiator, int eventArgInt)
    {
        base.OnStationaryKilled(_stationary, initiator, eventArgInt);

        Timeout(10, () =>
                        {
                            _stationary.Destroy();
                        }
            );
    }
Reply With Quote
  #6  
Old 07-27-2012, 12:25 AM
hc_wolf hc_wolf is offline
Approved Member
 
Join Date: Jul 2010
Posts: 439
Default

Thanks Kodiak, will give this cut down version a try. If it still does not remove the damaged material I will post the mission and coding for Podvoxx on the supplied forum link.

Is podvoxx on the Dev team? I am been in direct comms with one of the others.

I have a few sample missions I can send them that exploit or show the code where particular odd events are occurring.

Including a Mesh error that repeats in server console with the Balloons.



Oh and just to be clear about the Radars destroyed parts not removing from Map. These are radars that are static objects imported in by a mission loading into another mission. I am not talking about destroying the pre-loaded radars on the map like Dover. These are radars placed on map from FMB and loaded into main mission from sub mission.

I wil post a mission on here http://www.sukhoi.ru/forum/showthrea...=68629&page=25

Now I know where the programmers are chatting on Sukhoi I will start posting my mission bug examples there for us all to discuss.
__________________
__________________
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

Last edited by hc_wolf; 07-27-2012 at 12:47 AM.
Reply With Quote
  #7  
Old 07-27-2012, 01:26 PM
Ataros Ataros is offline
Approved Member
 
Join Date: Jun 2010
Location: USSR
Posts: 2,439
Default

naryv is a member of the dev team in that thread.
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 05:59 PM.


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