TonyE Posted August 31, 2020 Report Share Posted August 31, 2020 View File lazTurncoat To use: Extract the files to your ExportDLLs folder then start the game. A separate window will appear. When a base/Installation is destroyed, you can refresh the list of groups on that separate window (the lazarus Turncoat window), select the group, unit, then choose the new side alignment. The unit will be undestroyed, runways re-established, and group's side changed. HC ExportDLL for reviving destroyed Installations and switching the side to which they belong. 2020-06-10 Purpose: for reviving destroyed Installations and potentially switching the side to which they belong. Original Author: Anthony Eischens Contributors: Compiled with: Lazarus 2.0.8 Third party controls: Stratsims OSS shared pascal code https://tarzan.tgp.net:8443/svn/StratsimsOSS/HC/shared/pascal/trunk License: MIT (see License.txt) History: lazTurncoat 20200824 HC 2020.009+ Incremented DLL Version to 1 Incremented DLL Interface version to 23 First version The user should not switch the sides of an installation until it is destroyed. This is to prevent orphaned Harpoon Events and other game structures. If there is enough demand, that limitation could be removed in the future. Submitter TonyE Submitted 08/31/2020 Category Tools/Mods/Docs 1 Quote Link to comment Share on other sites More sharing options...
rainman Posted September 1, 2020 Report Share Posted September 1, 2020 will this work with 2015.027? Quote Link to comment Share on other sites More sharing options...
eeustice Posted September 2, 2020 Report Share Posted September 2, 2020 Tony, I was able to turn a destroyed Red base into a new Blue base in my monster scenario. Saved scenario. reloaded scenario and all seems to be well. So far so good! Quote Link to comment Share on other sites More sharing options...
Tony Posted September 2, 2020 Report Share Posted September 2, 2020 I forget you had make a new build and that corrected my error. I have put it to both HCDB and HCBII and it works. So with Eric's DB it seems to have not problems yet seen. I have also went and transferred aircraft to the reclaim bases with no problems. Rainman you will I believe and found out will have to be up to date with the latest build found in HC beta testing-general- current files to have this work. I believe it is 2020.009. Quote Link to comment Share on other sites More sharing options...
TonyE Posted September 2, 2020 Author Report Share Posted September 2, 2020 4 hours ago, rainman said: will this work with 2015.027? Tony is correct, you need 2020.009 or newer for lazTurncoat to work as designed. Quote Link to comment Share on other sites More sharing options...
TonyE Posted January 1 Author Report Share Posted January 1 Version 3 uploaded lazTurncoat 20211231 HC 2020.009+ Incremented DLL Version to 3 Fixed a crash bug in StartGroup to update the frmMain.PStartGroup pointer before refreshing the group list. Otherwise one could try to create a list of installations based on an invalid head group in the game, hence crash (thanks eeustice) 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.