TC01
Deity
Cloaking Devices 1.2 for Star Trek 2.37 (Now included in 3.0!)
This is a now defunct modmod which expands cloaking devices- by giving you the ability to cloak and decloak your ships. It is defunct because deanej has merged it with the main Star Trek mod and is now standard as of 3.0.
Therefore, the download has been removed, so as not to confuse people. If you want the source code... (the original source code), please either post that in this thread or PM me.
Otherwise, this thread can be used for discussion about Cloaking Devices, as set up in 3.0.
Original Description:
This has been implemented as a python action button (without adding a new mission or command to the SDK). It has been added to all ST scenarios that feature cloaking devices as of the current version, v1.2. There is also AI scripting to make the AI cloak and decloak. It's still being worked on and is extremely basic, but it works. Thanks to apenpaap for the core idea of how it works.
As of v1.2, there is a sound effect triggered on when you cloak and decloak a unit.
Features:
-Cloaking Device Promotion now enables use of the "Cloak" button.
-This button provides the "Cloaked" promotion, which makes the unit invisible.
-It can be removed by pressing the "Decloak" button (which you will only see after your unit has cloaked)
-There is a flat movement cost (1 mp) to cloaking to try and limit the exploitability of this.
-AI scripting that causes the AI to decloak units in solar systems and cloak units outside solar systems.
-New in v1.2, a sound effect triggered when you press the Cloak and Decloak buttons (Cloak On and Cloak Off)
Download removed, due to the mod's integration in 3.0 (and the fixing of several Cloaking Devices bugs in 3.25).
Changelog:
To Install:
1. Unzip the files to a temporary directory (such as Temp/Cloaking Devices... this is defaulted).
2. Copy the Mods folder into your Civilization IV\Beyond the Sword directory (or wherever you installed BTS). This will overwrite the following files in all Star Trek directories SAVE Voyager and Xindi Attack.
-Units.xml (changed in all)
-CIV4PromotionInfos.xml (changed in all)
-CIV4UnitInfos.xml (changed in all save TOS, Millennium, Lost Era).
-CvGameUtils.py (changed in all)
-CvMainInterface.py (changed in all)
-CvFinalFrontierEvents.py (changed in all)
-Audio2DScripts.xml (changed in DS9)
-AudioDefines.xml (changed in DS9)
If you have made changes to any of said files, please back them up or manually copy the code over. All changes are marked with "Cloaking Devices"
3. To test, start a game in any Star Trek scenario, go into Worldbuilder, give yourself a unit with the Cloaking Device promotion. You should have a "Cloak" button you can press (at the end of the movement, kill, sleep, etc. mission buttons). Upon pressing it, you should gain Cloaked, loose 1 movement point, and gain the "Decloak" button where the "Cloak" button was. (Both buttons are identical graphically, mouse-over it to check)
Credits:
TC01 for making the module/modcomp.
deanej for making the Star Trek Mod
The_J for helping me figure out how to make the button display text
apenpaap for suggesting how the AI scripting should work
Whoever made the Cloak button (may have been deanej or Jaydn or someone else...)
Jon Shafer for creating Final Frontier.
Firaxis/2K Games (makers of Civ 4)
Paramount/Viacom (makers of Star Trek)
This is a now defunct modmod which expands cloaking devices- by giving you the ability to cloak and decloak your ships. It is defunct because deanej has merged it with the main Star Trek mod and is now standard as of 3.0.
Therefore, the download has been removed, so as not to confuse people. If you want the source code... (the original source code), please either post that in this thread or PM me.
Otherwise, this thread can be used for discussion about Cloaking Devices, as set up in 3.0.
Original Description:
This has been implemented as a python action button (without adding a new mission or command to the SDK). It has been added to all ST scenarios that feature cloaking devices as of the current version, v1.2. There is also AI scripting to make the AI cloak and decloak. It's still being worked on and is extremely basic, but it works. Thanks to apenpaap for the core idea of how it works.
As of v1.2, there is a sound effect triggered on when you cloak and decloak a unit.
Features:
-Cloaking Device Promotion now enables use of the "Cloak" button.
-This button provides the "Cloaked" promotion, which makes the unit invisible.
-It can be removed by pressing the "Decloak" button (which you will only see after your unit has cloaked)
-There is a flat movement cost (1 mp) to cloaking to try and limit the exploitability of this.
-AI scripting that causes the AI to decloak units in solar systems and cloak units outside solar systems.
-New in v1.2, a sound effect triggered when you press the Cloak and Decloak buttons (Cloak On and Cloak Off)
Download removed, due to the mod's integration in 3.0 (and the fixing of several Cloaking Devices bugs in 3.25).
Changelog:
Code:
v1.2 Changelog:
-Added audio effect when cloak or decloak occurs
-Added Cloaks to all remaining Star Trek scenarios
-Fixed bug in ST Galaxy cloaking
v1.1 Changelog:
-Added Cloaks to ST 2.0 scenarios (Millennium, Galaxy, Lost Era)
-Fixed bug where ships start with wrong cloaking promotion
-Made cloaked ships unable to attack (have 0 strength)
-Added AI scripting to make the AI cloak and decloak units
To Install:
1. Unzip the files to a temporary directory (such as Temp/Cloaking Devices... this is defaulted).
2. Copy the Mods folder into your Civilization IV\Beyond the Sword directory (or wherever you installed BTS). This will overwrite the following files in all Star Trek directories SAVE Voyager and Xindi Attack.
-Units.xml (changed in all)
-CIV4PromotionInfos.xml (changed in all)
-CIV4UnitInfos.xml (changed in all save TOS, Millennium, Lost Era).
-CvGameUtils.py (changed in all)
-CvMainInterface.py (changed in all)
-CvFinalFrontierEvents.py (changed in all)
-Audio2DScripts.xml (changed in DS9)
-AudioDefines.xml (changed in DS9)
If you have made changes to any of said files, please back them up or manually copy the code over. All changes are marked with "Cloaking Devices"
3. To test, start a game in any Star Trek scenario, go into Worldbuilder, give yourself a unit with the Cloaking Device promotion. You should have a "Cloak" button you can press (at the end of the movement, kill, sleep, etc. mission buttons). Upon pressing it, you should gain Cloaked, loose 1 movement point, and gain the "Decloak" button where the "Cloak" button was. (Both buttons are identical graphically, mouse-over it to check)
Credits:
TC01 for making the module/modcomp.
deanej for making the Star Trek Mod
The_J for helping me figure out how to make the button display text
apenpaap for suggesting how the AI scripting should work
Whoever made the Cloak button (may have been deanej or Jaydn or someone else...)
Jon Shafer for creating Final Frontier.
Firaxis/2K Games (makers of Civ 4)
Paramount/Viacom (makers of Star Trek)