Author Topic: Cloaked ships  (Read 4744 times)

0 Members and 1 Guest are viewing this topic.

Offline aldo_14

  • Gunnery Control
  • 213
I have an idea for a ship with a cloak (activated / deactivated by SEXPs) - the only thing is, I need a way to remove engine glows when the ship cloaks for it to work properly... is there a way to do this without disabling the ship?

Maybe if I have 2 engine subsystems, one with a thruster of 0 radius, which are switched on/off during the cloak?

 

Offline Raven2001

  • Machina Terra Reborn
  • 211
  • Im not the droid your looking for, move along
Doesn't FS2 cloak the glows with the SEXP?????
Yeah, I know you were waiting for a very nice sig, in which I was quoting some very famous scientist or philosopher... guess what?!? I wont indulge you...

Why, you ask? What, do I look like a Shivan to you?!?


Raven is a god.

 

Offline aldo_14

  • Gunnery Control
  • 213
   
Quote
Originally posted by Raven2001:
Doesn't FS2 cloak the glows with the SEXP?????

No, they'd still show up as the game doesn't know that the ship is (semi) invisible.  So I need to find a way to turn them off manually, without disabling the ship.

BTW, do you have ICQ Raven?


[This message has been edited by aldo_14 (edited 06-22-2001).]

[This message has been edited by aldo_14 (edited 06-22-2001).]

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Ehh!!! Wrong!! this is what I did to a herc 2 to get only the rear 2 thrusters... rename the textures from thruster01 to invisble.  Works like a charm... andthey won't collide either...
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
yep, but that's definitive, you can't have the thrusters back when uncloaked, then
SCREW CANON!

 

Offline aldo_14

  • Gunnery Control
  • 213
I think i can get it if I use 2 engine subsytems and use some heavy SEXPs.

Basically, engine01 will be the normal engine glow.  Engine02 will have a 0 radius (or 0.1 if necessarry).  When the cloak activates, engine01 deactivates, and is invisible.  This should work.

 

Offline aldo_14

  • Gunnery Control
  • 213
Well, I have a working cloak;

 
 
 

The only problems are;
- I need to get the ship to re-appear (very difficult, and I'm not even sure it's possible) by rebuilding the visible subsystem
- I need to make a new semi transparent map, as the invisible texture seems to disable collision detection, plus it's too hard to see  

Still, i have an alternative   method idea.

------------------
Team Member of The Ghost and the Darkness
       [email protected]      
ICQ: 119819902

"Why does it always rain on me?
Is it because I lied when I was seventeen?
....
Even when the sun is shining, I can't avoid the lightning.."


(c)1999 Travis

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Make a sexp,

when
  is destroyed delay
     [name of ship]
     [name of subsystem]
     1
  Set subsystem strength
   100


no?
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

  

Offline aldo_14

  • Gunnery Control
  • 213
I had something similar, along the lines of;

-when button pressed
    - [
    - 1
-set subsytem strength
    - Beta 1
    - cloak
    - 100

  and;

-when button pressed
    - ]
    - 1
-repair subsystem
    _ Beta 1
    - cloak
    - 101

But it didn't work for repairing.  I also tried various different ways of repairing the subsystem, and alternate activation / deactivation keys, but it still doesn't work.

It's probably not possible with visible / physical sub-systems.

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
What happened when a hygeia docked with it?
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline aldo_14

  • Gunnery Control
  • 213
 
Quote
Originally posted by Snipes:
What happened when a hygeia docked with it?

didn't try it... it was a custom model with no dockpoints, anyway.

The basic idea is that the main hull is a fully transparent ship outline.  Inside is the cloak sub-system, which is a (slightly smaller) ship object.  So when you activate the cloak, you are destroying the visible part of the hull.

It works pretty well (as far as appearances go), the main problem is that i need to use fairly simple hull models (196 faces each at the mo) because I have to use two of them for each LOD.

 

Offline aldo_14

  • Gunnery Control
  • 213
Well, it's definately impossible to do it the way i want   .

Basically, I can't replace a physical susbsystem once it is destroyed.  i make a ship that can cloak itself, or a ship that can decloak, but not one that does both  

However, if i do some playing about, I think I cna make a fighter which can cloak / decloak once.  Poly count may be a bit dodgy, though.

[This message has been edited by aldo_14 (edited 06-23-2001).]

 

Offline Fattony

  • Banned
  • 26
Make a transparent model of the ship and a textured version of the fighter/ship around the transparent named "Cloak" then you destroy the subsystem (textured) by pressing one button and repair with another.

Try it, you know you want to.

 

Offline Fattony

  • Banned
  • 26
 
Quote
Posted by SomeoneAbove:
The only problems are;
- I need to get the ship to re-appear (very difficult, and I'm not even sure it's possible) by rebuilding the visible subsystem
- I need to make a new semi transparent map, as the invisible texture seems to disable collision detection, plus it's too hard to see

Phasing cloak.  

 

Offline aldo_14

  • Gunnery Control
  • 213
Well, iknow I can't fix a visible sub-system (i.e. turret, cloak object) once destroyed.  However, I cna put to gether a fighter with 3 objects;

outer hull, cloak, inner hull

Destroying the outer hull reveals the cloak, destroying the cloak shows the inner hull - hence I can cloak / decloak.

the main problem is that there is clipping between the hull objects because, although they are resize, there is still no clear space between them.  So I'll need to fix this  

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
make the second hull a destroied vertion of the cloak "cloak-destroyed", the cloak is invisable and the destroied vertion is never there as long as the cloak is still there, make the main hull into a physical subobject (you'll need to make an invisable objectas the LOD0 geometry or the game will probly crash when one of these is destroied) of the LOD0 geometry.

then you start out with both the normal hull and the cloak (wich is invisable) visable, then you destroy the hull subobject to cloak, then the cloak object to decloak.

------------------
Bobboau, bringing you products that work.............. in theory
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline aldo_14

  • Gunnery Control
  • 213
 
Quote
Originally posted by Bobboau:
make the second hull a destroied vertion of the cloak "cloak-destroyed", the cloak is invisable and the destroied vertion is never there as long as the cloak is still there, make the main hull into a physical subobject (you'll need to make an invisable objectas the LOD0 geometry or the game will probly crash when one of these is destroied) of the LOD0 geometry.

then you start out with both the normal hull and the cloak (wich is invisable) visable, then you destroy the hull subobject to cloak, then the cloak object to decloak.


But won't the game crash as the destroyed version of the cloak is over 100 polys?

 

Offline Roy fokker

  • Flaming FREDder
  • 29
well i tell ya aldo_14 i can be used as a targetable waypoint. Well lets say you are doing a mission and you want to fire a warning beam shot across the ship, well all you do is just make your ship indestrucable and bingo. well it could and would be useful to the mod that am apart.

------------------
Roy Fokker member of Roboteh Mod
Mission designer for Hidden terror  and Inferno
Roy Fokker
Mission designer for  Inferno and Wing Commander Saga

 
   Hey everyone, I found this topic to be the most interesting and most feasable formula for cloaking a fighter.  I think that aldo is overlooking something small here.


If I am correct, if you destroy a hull, it can't come back. If you destroy a subsystem, it will build back up.

So here is what you do.

1. Take a fighter, make two skins of it. One a cloak and the other the main textured version. Set up the cloaked version as a subsystem that is slightly "larger" (underline that)than the main hull so that the subsytem actually surrounds the ship.

2. Now set it up so that one of the faces on the back of the cloaked model is flipped toward the inside and you can shoot the flipped face from the inside of the model.
3.Now, set up a weapon such as a black beam cannon or even a regular energy weapon and make it black. (black energy weapons can be seen through and are pretty much invisible) and make sure that it has the capability to damage the cloak subsystem and knock it down to 5%.

4. Place this particular cannon on the back of the ship at an angle that faces the exact face that has been flipped on the cloaked subsystem model.

   Now, when you fire that particular energy weapon, the subsystem (cloaked) should dissapear until it reaches 100% again and the subsystem will re-appear, thus you are decloaked when you fire and cloaked when it charges back up  


The only problem I can think of is, will the subsysem dissapear when it gets to 5% automatically or can it be programmed to do this?

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
 
Quote
Originally posted by WS-Thunder:
  Hey everyone, I found this topic to be the most interesting and most feasable formula for cloaking a fighter.  I think that aldo is overlooking something small here.


If I am correct, if you destroy a hull, it can't come back. If you destroy a subsystem, it will build back up.

So here is what you do.

1. Take a fighter, make two skins of it. One a cloak and the other the main textured version. Set up the cloaked version as a subsystem that is slightly "larger" (underline that)than the main hull so that the subsytem actually surrounds the ship.

2. Now set it up so that one of the faces on the back of the cloaked model is flipped toward the inside and you can shoot the flipped face from the inside of the model.
3.Now, set up a weapon such as a black beam cannon or even a regular energy weapon and make it black. (black energy weapons can be seen through and are pretty much invisible) and make sure that it has the capability to damage the cloak subsystem and knock it down to 5%.

4. Place this particular cannon on the back of the ship at an angle that faces the exact face that has been flipped on the cloaked subsystem model.

   Now, when you fire that particular energy weapon, the subsystem (cloaked) should dissapear until it reaches 100% again and the subsystem will re-appear, thus you are decloaked when you fire and cloaked when it charges back up  


The only problem I can think of is, will the subsysem dissapear when it gets to 5% automatically or can it be programmed to do this?

sorry to disapoint you, but even if the subsystem can heal back, the submodel won't reappear. This has been tested a lot with the transforming veritech.
SCREW CANON!