Plugin for the game Freelancer (2003) that implements the Cloak key. This allows players to cloak and decloak in Single Player, provided the ship has a cloaking device equipped.
Download the latest version of the plugin from Releases. Extract all files in the zip to the EXE
folder of your Freelancer installation. Next, open the dacom.ini
file and append Cloak.dll
to the [Libraries]
section.
In DATA/INTERFACE/keylist.ini
, add the following below the first [Group]
entry:
[key]
id = USER_CLOAK
It is recommended to put this directly below USER_AFTERBURN_OFF
.
In DATA/INTERFACE/keymap.ini
, add the following:
[KeyCmd]
nickname = USER_CLOAK
ids_name = 3007
ids_info = 2207
state = keydown
key = "C", control
In the same file, locate the KeyMap
entry for IDR_SPACE
and add this line to it:
key = USER_CLOAK
In-game you can set a custom key for the Toggle Cloak
control. Using this key, you can cloak and uncloak when in space, provided that the ship you are flying has a cloaking device equipped and that you are in Single Player. Moreover, the initial cloaking state behavior can be adjusted in the cloak.ini
file.
Build the project using the NMAKE
tool from Microsoft Visual C++ 6.0 (VC6 or Visual Studio 98) with the included makefile.
This will output the Cloak.dll
file in the bin
folder.
Building the project using other compilers may require the code to be modified.