Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: comICEMAN on August 14, 2003, 09:43:03 am

Title: Invisible?
Post by: comICEMAN on August 14, 2003, 09:43:03 am
Can i Model a ship, which has special textures which makes is invisible?
or something else to make it invisible?
Title: Invisible?
Post by: karajorma on August 14, 2003, 10:02:24 am
Texture it with the invisible texture and it will be completely invisble :)

You might also want to look into Phreaks cloaking code in FS2_open.
Title: Invisible?
Post by: TopAce on August 14, 2003, 04:45:21 pm
Setting the $Stealth flag in its table is far simplier than browsing among SCP things . . .
Title: Invisible?
Post by: karajorma on August 14, 2003, 05:15:31 pm
Quote
Originally posted by TopAce
Setting the $Stealth flag in its table is far simplier than browsing among SCP things . . .


Well I suppose that does make it invisble to radar :D You'd still need to tick the box in FRED to hide it though.
Title: Invisible?
Post by: TopAce on August 14, 2003, 05:33:39 pm
Ah ... so you want to make it COMPLETELY invisible for both radars and eyes. Humans, Vasudans, and Shivans cannot get this ... only Predators have this stuff! :D.
In this case, I have no idea what to do.
Title: Invisible?
Post by: LAW ENFORCER on August 14, 2003, 06:07:02 pm
is Phreak a pred? that would explain a lot of.... well one thing...
Title: Invisible?
Post by: karajorma on August 15, 2003, 04:39:56 am
What you need to do is copy a .bmp to your usual texture folder but call it invisible.bmp (I may have got the filename wrong. Check with Modelview what FS2 calls the invisible texture by loading in the knossos).
 Paint your model with that texture and when you see it in game it should be invisible.
Title: Invisible?
Post by: Unknown Target on August 15, 2003, 07:29:57 am
IF you're gonna make it permanently invisible, does it really exist? :D
You could just model a cube + paint it with the invisibilty map ;)
Title: Invisible?
Post by: TopAce on August 15, 2003, 09:06:19 am
I have an idea: What if you model your model, untextured, LODed with two LODs, the first LOD is the model itself, and the second is a 0.001 m x 0.001 m cube.

In the table you set the LOD distance: 10000, 0
It would theoretically draw the pity cube when you are at 10000 meters away from it(you cannot see it, so it is invisible), and the second LOD will be displayed at close range.
Title: Invisible?
Post by: Nico on August 15, 2003, 09:46:23 am
that said, if you want it completly invisible, take any ship and put invisible on it, no need to waste your time making a model nobody will see :p
Title: Invisible?
Post by: TopAce on August 15, 2003, 10:02:07 am
And how the hell would the game know what area to hit of the ship to damage it? And what area the player can collide and hit? How do you want to move and select it in FRED?

Okay, the H key, and to move the SHIFT-O :)
Title: Invisible?
Post by: Nico on August 15, 2003, 10:30:47 am
Quote
Originally posted by TopAce
And how the hell would the game know what area to hit of the ship to damage it? And what area the player can collide and hit? How do you want to move and select it in FRED


I said "take any ship", not "make a blank pof" ;)
I just suggested he took, say, the mara, and apply invisible.pcx on it in modelview, et voila.
Title: Invisible?
Post by: karajorma on August 15, 2003, 10:59:55 am
You don't need to do much work but it is worth doing some so that the gunpoints/turrets are in the correct places.