1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2012, 05:06 PM
FG28_Kodiak FG28_Kodiak is offline
Senior Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default New possiblities in BETA PATCH v.1.07.18301 - June 29, 2012

AMission now includes following additional events
Code:
  public virtual void OnBombExplosion(string title, double mass, Point3d pos, AiDamageInitiator initiator, int eventArgInt);
  public virtual void OnBuildingKilled(string title, Point3d pos, AiDamageInitiator initiator, int eventArgInt);
  public virtual void OnStationaryKilled(GroundStationary _stationary, AiDamageInitiator initiator, int eventArgInt);
GamePlay also gets something new
Code:
    GroundStationary[] gpGroundStationarys();
    GroundStationary[] gpGroundStationarys(string Country);
    GroundStationary[] gpGroundStationarys(double x, double y, double r);
    GroundStationary[] gpGroundStationarys(string Country, double x, double y, double r);

    string gpTranslate(string msg, string language, int debugLevel);
    string gpDictionaryFilePath { get; set; }
New classes:
Code:
public interface GroundStationary
{
    // Methods
    void Destroy();

    // Properties
    string Category { get; }
    string country { get; }
    bool IsAlive { get; }
    Point3d pos { get; }
    string Title { get; }
    AiGroundActorType Type { get; }
}
Code:
public class GroundBombExplosion
{
    // Fields
    public double Mass;
    public Point3d pos;
    public string Title;

    // Methods
    public GroundBombExplosion();
}
Code:
public class GroundBuilding
{
    // Fields
    public Point3d pos;
    public string Title;

    // Methods
    public GroundBuilding();
}

So let the testing begin

Last edited by FG28_Kodiak; 06-30-2012 at 05:29 AM.
Reply With Quote
  #2  
Old 06-29-2012, 05:11 PM
csThor csThor is offline
Senior Member
 
Join Date: Oct 2007
Location: somewhere in Germany
Posts: 1,212
Default

Am I reading this wrong or are these ways to designate static area targets and check whether they've been destroyed or not?
Reply With Quote
  #3  
Old 06-29-2012, 05:13 PM
FG28_Kodiak FG28_Kodiak is offline
Senior Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

I hope so, not testing it so far
Reply With Quote
  #4  
Old 06-29-2012, 05:50 PM
podvoxx podvoxx is offline
Senior Member
 
Join Date: Feb 2010
Posts: 190
Default

http://www.sukhoi.ru/forum/showthrea...=1#post1865437
Reply With Quote
  #5  
Old 06-29-2012, 05:56 PM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

Thanks for the heads up. Gotta try it out!
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote
  #6  
Old 06-30-2012, 02:58 PM
David198502's Avatar
David198502 David198502 is offline
Approved Member
 
Join Date: Dec 2009
Location: Austria
Posts: 1,535
Default

hey Kodiak, do you know if its now possible to let ground targets disappear after they have reached their last waypoint?
__________________
Reply With Quote
  #7  
Old 06-30-2012, 03:04 PM
FG28_Kodiak FG28_Kodiak is offline
Senior Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Not tested so far, playing around with the new possibilities at the moment.

Hm where is my testmission for groundactors ....
Reply With Quote
  #8  
Old 06-30-2012, 03:09 PM
ATAG_MajorBorris's Avatar
ATAG_MajorBorris ATAG_MajorBorris is offline
Approved Member
 
Join Date: Mar 2010
Location: Minnesota, USA
Posts: 342
Default

That would be great if static ground targets can be destroyed, test feedback please!
__________________
ASUS Sabertooth MB--Intel 2600k@4.7--EVGA GTX580 3GB--Corasir 1200 watt psu--Corsair 16gb 1866--Corsair H70 cooler--Corsair 650d case--OCZ Vertex 3--Track IR5--CH Eclipse Yoke--CH Trottle Quadrant--CH MFP--CH Rudders-MSFF2

Last edited by ATAG_MajorBorris; 06-30-2012 at 03:16 PM.
Reply With Quote
  #9  
Old 06-30-2012, 07:14 PM
podvoxx podvoxx is offline
Senior Member
 
Join Date: Feb 2010
Posts: 190
Default

Quote:
Originally Posted by ATAG_MajorBorris View Post
That would be great if static ground targets can be destroyed, test feedback please!
From developer:
Quote:
GroundStationary тип стационарного объекта , gpGroundStationarys() - массив со всеми стац. объектами в битве, стационар можно дестроить, проверять жив он или нет, можно выбирать стационары в радиусе и по стране, к сожалению, сейчас не помню формат вызова (что то типа (double x,double y,double r) - центр и радиус), нет игры под рукой.
Static ground targets can be destroed, you can check his status - live or dead and the choice static objects of a given radius.

gpGroundStationarys() - array whith all static objects in battle.
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 04:57 PM.

Based on a design by: Miner Skinz.com

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.