posted on September 13th, 2011, 8:20 pm
This idea involves reprogramming the validtargets to look for a cloak "weapon" instead of the ship using it. That way, you only have to put in a few lines of code for the cloak detect and it will also allow a ship to use multiple cloak technologies specialized to evade certain detection systems. Here's an example of a standard cloak:
- Code: Select all
validtargets = 1
"rom_cloak_supreme.odf" 0
"rom_cloak_tavara.odf" 0
It'll save at least a few kilobytes of space and lots of time coding whenever a new unit is added that has a special cloak system.