Hi All,
Here is the latest Changelog list of game improvements, for this week's patch.
*** Sounds
Updates FMOD to latest stable release.
Fixes most occlusion issues.
Increases volume level of engine damage effects.
Adjusts DB601 engine load effects.
General optimizations and bugfixes.
*** Spitfire externals: Fixed damage textures.
*** Mission Scripting API: Logging convenience functions
Two and one parameter methods added to gpLogServer.
*** Mission Scripting API: AMission, new property 'string PathMyself'
Contains the (relative) path/filename to the mission script itself.
class Mission : AMission {...SomeFunc(){
GamePlay.gpLogServer(null, this.PathMyself, new object[] { }); ///
output: "missions\server\MyMission\MyMission.cs"}...}
*** Mission Scripting API: ABattle, new method "AMission GetBaseMission()"
Returns the base mission. That allows any sub-mission to get a 'pointer'
to the base mission. Limitation: As all missions are of type public
Mission : AMission, only the AMission methods and properties are
accessible (those the mission builder added are not).
See
"OnIntraMissionsMessage" below.
*** Mission Scripting API: AMission, new method "public virtual object[]
OnIntraMissionsMessage(string sMsg, object[] args = null)"
This allows the base mission and sub-missions to communicate with each
other by sending messages to each other via this method.
/// SUB-MISSION
public override void Inited(){
base.Inited(); AMission BaseMission = Battle.GetBaseMission();
BaseMission.OnIntraMissionsMessage("sub-mission xyz to base mission:
here I am", new object[] { this });}
/// BASE MISSION
public override object[] OnIntraMissionsMessage(string sMsg, object[]
args = null){ if(sMsg.Equals("sub-mission xyz to base mission: here I am")
{m_SubMissions.Add("xyz", (args[0] as AMission));}return null;}