Modding, Mission Design, and Coding > The Modding Workshop

Cloaking Device

(1/2) > >>

Assassin714:
Are there any mods that do something like this? As in, a ship that can literally become invisible (not just undetectable to sensors, but to the naked eye as well)? I'm also interested in the ability for the player to toggle it on or off.

The ship would still have a collision box so it could be hit by random fire, but nothing can target it.

Also another option would be a phase cloak, where the ship becomes intangible as well.

DefCynodont119:
Yep! it's been done before in fact, there should be a script for it somewhere, hmm.

Darius:
I use Axem's cloaking script for exactly this, which on the player can be triggered by a keypress, can be activated spontaneously in combat by AI, and also triggered by sexp.

https://www.hard-light.net/forums/index.php?topic=94909.0

Video of the script in action:

Asteroth:
To put it more simply also, if you'd like to play with the individual parts, the SEXP ship-effect used with "Cloak/Decloak" (this is an animated effect which requires some extra table stuff but if you're using the MVPs you already have it) is what makes a ship visually invisible, the "stealth" flag is typically used for making ships untargetable, and the "no collisions" flag makes the ship intangible (including to other ships, which may not be desired, doing this to weapons only is possible but more complicated). Axem's script does the first two (as well as a lot of other things too), but does not make a ship intangible.

Assassin714:
I suppose it's also possible to make it so certain ships can't fire while cloaked and others can?

Navigation

[0] Message Index

[#] Next page

Go to full version