Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: TrashMan on September 11, 2005, 06:17:02 pm

Title: Neat idea?
Post by: TrashMan on September 11, 2005, 06:17:02 pm
How abou having anothrt possible subobject?

For now we have the basic one (like turret01) and the destroyed version (turret01-destryed).
How abot adding a possibility for turret01-damaged, that is shown when the subsystem integrity drops below 50%


Allso, If I made a sensor array on a ship as a destroyable subobject, if it is destroyed and I repair it in the mision, the array model won't come back, right?

if so, would it be possible to make it so that the re-apperace of subobjects s optional (mission toggle or a special SEXP)?
Title: Neat idea?
Post by: WMCoolmon on September 11, 2005, 06:20:20 pm
Why do we need damaged subobjects when no one's even using the damage decals feature? :wtf:
Title: Neat idea?
Post by: phreak on September 11, 2005, 07:11:42 pm
because nobody remembers to check the wiki for documentation that may be there, but probably isnt :blah:

the second part should be possible once 3.6.7 is relased.  soon™
Title: Neat idea?
Post by: DaBrain on September 11, 2005, 07:44:41 pm
Quote
Originally posted by WMCoolmon
Why do we need damaged subobjects when no one's even using the damage decals feature? :wtf:


AFAIR it caused horrible performance and didn'z work quite right for transparent textures.

If I'm wrong, and I hope I am, we could put something together for the next Media VP.

I guess it won't be much work.


Umm... btw we're talking about impact deacals, right?
Title: Neat idea?
Post by: WMCoolmon on September 11, 2005, 09:09:05 pm
Yeah.
Title: Neat idea?
Post by: DaBrain on September 12, 2005, 04:33:38 am
"Yeah" to all points?
Title: Neat idea?
Post by: WMCoolmon on September 12, 2005, 10:21:49 pm
Quote
Umm... btw we're talking about impact deacals, right?


Yeah to that.

I don't know how much slowdown impact decals cause, because I've never seen them in action myself. I think Bobb rewrote that section of the code to be faster too.
Title: Neat idea?
Post by: TrashMan on September 13, 2005, 05:23:31 pm
So no to may idea? May I ask why?

Wouldn't a damaged sensor array with twisted and missing antennas look cool?
Title: Neat idea?
Post by: AqueousShadow on September 13, 2005, 06:35:07 pm
Probably would be too much effort for the product. Those are minor details, and in your example, not very many ships have stuff like that anyway

And think about it - how exactly would you transition from perfectly normal to a little bent to destroyed? It'd look weird, to say the least. It just wouldn't work unless physical impact actually made "dents" in the structures you're talking about, or even in the hull for that matter.
Title: Neat idea?
Post by: Turambar on September 13, 2005, 08:10:24 pm
Quote
Originally posted by AqueousShadow
Probably would be too much effort for the product. Those are minor details, and in your example, not very many ships have stuff like that anyway

And think about it - how exactly would you transition from perfectly normal to a little bent to destroyed? It'd look weird, to say the least. It just wouldn't work unless physical impact actually made "dents" in the structures you're talking about, or even in the hull for that matter.


once we have normal maps, we'll be able to have impact decals that will look like dents, as the decal can have a normal map(i dunno if we actually can, but they do it in HL2
Title: Neat idea?
Post by: redsniper on September 13, 2005, 08:17:42 pm
Quote
Originally posted by Turambar
...but they do it in HL2

actually, I don't think so. At first I thought it was doing this and was impressed but then I realized that the decals look the same no matter which direction light is coming from. Still, I think using normal maps for decals is a great idea I just wished they had done it in HL2.
Title: Neat idea?
Post by: TrashMan on September 14, 2005, 06:39:59 am
Quote
Originally posted by AqueousShadow
Probably would be too much effort for the product. Those are minor details, and in your example, not very many ships have stuff like that anyway

And think about it - how exactly would you transition from perfectly normal to a little bent to destroyed? It'd look weird, to say the least. It just wouldn't work unless physical impact actually made "dents" in the structures you're talking about, or even in the hull for that matter.


and moving form just fine to destroyed in 1 sec is fine?
Just mask the transition with a explosion - when subsystem reaches 50% a explosin occurs nad the models are switched..

Besides, the good thing about this is - it's optional and backwards comnpatable.
Title: Neat idea?
Post by: DaBrain on September 14, 2005, 08:32:53 am
Quote
Originally posted by Turambar


once we have normal maps, we'll be able to have impact decals that will look like dents, as the decal can have a normal map(i dunno if we actually can, but they do it in HL2


Yeah, that should be pretty easy. ;)

Even I could do that with my limited normal map knowlegde. ;7
Title: Neat idea?
Post by: Dark RevenantX on September 14, 2005, 09:42:32 am
Impact decals don't work at all for me.
Title: Neat idea?
Post by: Sticks on September 15, 2005, 09:09:24 am
Normal maps are geometry dependent, so I'm not sure they would be suited for decals, unless all of the decals contained identical geometry (i.e. a flat quad). That, however, would look odd going around smooth surfaces or corners of objects. That's probably why HL2 didn't contain this feature.
Title: Neat idea?
Post by: DaBrain on September 15, 2005, 11:13:49 am
AFAIK F.E.A.R has normal mapped decals. They look great. :)

Just use a smooth fading out alpha channel and it will look fine.