Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Ghost on July 14, 2005, 03:43:10 pm

Title: Suggestion for modders/modellers
Post by: Ghost on July 14, 2005, 03:43:10 pm
Paragon came up with it... it goes along with the non-targetable destroyable subsystems dealy. Say you make a new model, a capital ship. We'll use the Deimos in this instance. You know how in Bob's Deimos, you can see through the 'glass' to the hallway behind it? Well, say you had a cluster of little tiny people models behind the exterior glass part. What if it was a non-targetable subsystem, and you blew it up, and the people came flying out as if the hull were destroyed in that area? That'd be cool as hell.
Title: Suggestion for modders/modellers
Post by: Rott3 on July 14, 2005, 03:54:09 pm
That would be cool as hell, but could it be done? Correct me if i'm wrong, but i remember something like this discussed before.
Title: Suggestion for modders/modellers
Post by: WMCoolmon on July 14, 2005, 04:22:34 pm
You'd need a debris LOD for each subobject.
Title: Suggestion for modders/modellers
Post by: Ghost on July 14, 2005, 06:34:06 pm
I think I understand what you mean, but could you be a little more specific?
Title: Suggestion for modders/modellers
Post by: WMCoolmon on July 14, 2005, 06:40:57 pm
Debris for a ship is created from a special LOD with the various textured pieces of the ship.

In order to have debris for a subsystem, you'd have to define a similar LOD so FS2 would know what to get rid of and what to make float around.

Further than that you'll have to ask Bobb.
Title: Suggestion for modders/modellers
Post by: Nico on July 14, 2005, 07:19:56 pm
you really like to complicate things, folks.
you make those people as separate pofs, and do something like that:
when subsystem meatbag destroyed
->spawn N corpseXX.pof ( N, number of corpses, XX, random number, picks any corpse pof, something like that).

Sorry for the crappy atempt at code mimic, i'm no coder :p