Author Topic: Cloaking Device  (Read 55 times)

0 Members and 1 Guest are viewing this topic.

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.
Shivans view most other species the way we view infectious diseases. They think they are doing good by curing the universe of them. After all, no one mourns the fate of smallpox.

The Final War For The Multiverse

 

Offline DefCynodont119

  • 29
  • I should put something witty here- but not this. .
    • Steam
Yep! it's been done before in fact, there should be a script for it somewhere, hmm.
« Last Edit: November 30, 2021, 07:23:36 pm by DefCynodont119 »
My gift from Freespace to Cities Skylines:  http://steamcommunity.com/sharedfiles/filedetails/?id=639891299

 

Offline Darius

  • 211
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:

« Last Edit: November 30, 2021, 07:31:55 pm by Darius »

 
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.

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

Shivans view most other species the way we view infectious diseases. They think they are doing good by curing the universe of them. After all, no one mourns the fate of smallpox.

The Final War For The Multiverse

  
The lock/unlock-primary/secondary-weapon SEXPs control whether a ship can fire. It looks like Axem's script allows ships to fire but it will disable their cloak.