Jump to content

Recommended Posts

Posted

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.
 


 

  • Like 1
Posted

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!

Posted

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.

Posted
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.  

  • 1 year later...
Posted

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)

  • Like 1
  • 1 year later...
Posted

lazTurncoat 20230331 HC 2023.001+
 Incremented DLL Version to 5
 No functionality change, just updated to
  indicate ExportDLL interface v34 so 
  that the ExportDLL will work in HC 2023.001+

This version will only work with HC 2023.001 or newer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...