Log in

View Full Version : New possiblities in BETA PATCH v.1.07.18301 - June 29, 2012


FG28_Kodiak
06-29-2012, 05:06 PM
AMission now includes following additional events

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

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:

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; }
}



public class GroundBombExplosion
{
// Fields
public double Mass;
public Point3d pos;
public string Title;

// Methods
public GroundBombExplosion();
}



public class GroundBuilding
{
// Fields
public Point3d pos;
public string Title;

// Methods
public GroundBuilding();
}



So let the testing begin :cool:

csThor
06-29-2012, 05:11 PM
Am I reading this wrong or are these ways to designate static area targets and check whether they've been destroyed or not?

FG28_Kodiak
06-29-2012, 05:13 PM
I hope so, not testing it so far ;)

podvoxx
06-29-2012, 05:50 PM
http://www.sukhoi.ru/forum/showthread.php?t=68629&p=1865437&viewfull=1#post1865437

moggel
06-29-2012, 05:56 PM
Thanks for the heads up. Gotta try it out!

David198502
06-30-2012, 02:58 PM
hey Kodiak, do you know if its now possible to let ground targets disappear after they have reached their last waypoint?

FG28_Kodiak
06-30-2012, 03:04 PM
Not tested so far, playing around with the new possibilities :rolleyes: at the moment.

Hm where is my testmission for groundactors ....

ATAG_MajorBorris
06-30-2012, 03:09 PM
That would be great if static ground targets can be destroyed, test feedback please!

podvoxx
06-30-2012, 07:14 PM
That would be great if static ground targets can be destroyed, test feedback please!

From developer:
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.