Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Kie99 on December 23, 2004, 04:46:54 pm

Title: New Feature?
Post by: Kie99 on December 23, 2004, 04:46:54 pm
How about this, if you want a capital ship to be shielded you have to create a shield mesh for it (Something I wouldn't even dare trying to do) and edit the tables, and even a fighter can just fly within the shield and start shooting the ship.
What about if you could just tick a box and a shield pops up on the ship right next to the hull?

I don't know if this is possible but I heard someone mentioning it in another thread.
Title: New Feature?
Post by: Trivial Psychic on December 23, 2004, 07:54:48 pm
Bob's proposed decal-based shield effect is the closest thing on the horizon, though it won't render in front of the hull.  It gets added on as a temporary extra skin just like impact decals, though its an ani.
Title: New Feature?
Post by: pecenipicek on December 24, 2004, 04:27:33 am
shield hit is an ani...
Title: New Feature?
Post by: aldo_14 on December 24, 2004, 07:04:22 am
But shield hit uses a physically modelled seperate mesh to detect the hit & draw the ani; bobs code/idea IIRC uses the ships hull to define the shield 'mesh'- like impact decals but using a temporary animation (ani) rather than a static pcx (etc) image.
Title: New Feature?
Post by: WMCoolmon on December 24, 2004, 02:47:52 pm
I think it is possible, but unreliable and looks ugly.
Title: New Feature?
Post by: Anaz on December 24, 2004, 05:08:23 pm
I dunno...I think fighters flying under shields would be cool...
Title: New Feature?
Post by: WMCoolmon on December 24, 2004, 05:19:14 pm
It's an issue of polycount...if your shield mesh is too detailed,it slows things down. If it's not as detailed, shield hits are huge. :blah:
Title: New Feature?
Post by: Lynx on December 27, 2004, 04:08:59 am
Yeah, and for blocky ships like the Orion(or most of our capships in WCS) the texture stretching would be hideous, unless you made a very detailed mesh which would slow down things.

Is perhaps possible to have an additional texture layer with a sheild texture(It'd be nothing detailed, a blue white texture or something) that shows up where the ship has ben hit?

I rememer Bobbau considering something like that for damage decals.
Title: New Feature?
Post by: WMCoolmon on December 27, 2004, 04:54:57 am
Come to think of it, I thought this was possible with damage decals. I thought there were two animations - one played when the ship was hit by the weapon, and then one that was left behind (eg one might be a burning away hull texture, and the other, flames slowly burning inside the hull.)

Now, maybe if you made a shield hit animation for the first one, and used a transparent image or animation for the second one........