Author Topic: Multiple Debris Sets  (Read 3537 times)

0 Members and 1 Guest are viewing this topic.

Offline Rga_Noris

  • 29
  • What?
Okay, so I always like debris, but what always got me was how ships always blew up in the exact same way. What about seperate debris sets?

An example scenario:

You shoot a Uly down, and the engine randomly selects one of the debris sets. Now, normally, the fighter would break into 4-5 chunks, but this time you see the firey explosion followed by the site of the left wing spiraling away from the rest of the now lifeless ship. It just gives some options to how things go boom. Same for capships.

I figured it would go like so when naming subobjects:

Set 1:
debris01-1
debris02-1
debris03-1

Set 2:

debris01-2
debris02-2
debris03-2

And we get the point....

Anywho, I'm no coder, so I really have no idea what I'm really asking, but I might as well through it out there.
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Hrmmm... Interesting idea... More work for the modeller, but could be pretty neat.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
The FotG team has been hoping for more ways to make TIEs blow up, so this sounds cool :)
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
I offer an alternative or linking idea.

Instead of having to make all new debris, have the existing system randomly select
which debris actually get produced on death of the ship.

So say you have ship with:

debris01-1
debris02-1
debris03-1
debris04-1
debris05-1
debris06-1
debris07-1

One death it uses
debris03-1
debris06-1
debris07-1

Another death it uses
debris02-1
debris05-1
debris07-1

...and so on.

This way you get your randomness in space junk, and don't need additional debris for
existing ships.
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Rga_Noris

  • 29
  • What?
Well you wouldn't need multiple sets... It would just be cool to have.

And the alternative is good, but gives less control. You couldn't actually change how a ship fractures, just which peices become visible, and this would force less debris for current ships.

Addind additional sets would allow the modder to use the feature without affecting current ships.
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Doesn't the engine do this already, having some debris chunks detonate as soon as they are spawned?
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Yeah, debris lifetime is essentially randomized.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i kinda like it, but modeling is getting hard enough already.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Rga_Noris

  • 29
  • What?
Okay, you don't HAVE to add multiple sets... it would in no way be required. Hell, you currently don't have to have ANY debris, so I do not see why the increase in work load should effect the decision to have this feature in anyway.
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

  

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
It's just that little gets produced as is, so telling a modeler to go make
X amount of more debris, because you want to have randomized debris,
probably adds to slowdown of getting something "finished" - and thus makes
folks tired just thinking about it.
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Nonsense, just say you're maintaining compatibility with 3.6.12 :)
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Rga_Noris

  • 29
  • What?
It's just that little gets produced as is, so telling a modeler to go make
X amount of more debris, because you want to have randomized debris,
probably adds to slowdown of getting something "finished" - and thus makes
folks tired just thinking about it.

So the solution is to have no ability to do it? You're essentially saying that because an OPTIONAL feature that would improve visual quality may add OPTIONAL extra work, that we should just take away the option? Keep it as is? It's one thing to forgo a feature because visual impact would be minimal AND REQUIRE extra work, but another for one that only adds an option.

Besides, I'm well aware of the many request the community frequently makes to WIP. Modders need to learn to say "tough", especially considering the nature of my request would only offer a small amount of visual appeal, and would be entirely optional.

This is all moot of course should no coder want to code it.
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline sigtau

  • 29
  • unfortunate technical art assclown
Well, if it stays optional... I say go for it.  Sounds like it'd be easy to code, though test-casing may require someone who can go through the full process of modeling, UV mapping, texturing, normal mapping, and POFing.
Who uses forum signatures anymore?

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
@Noris... I was explaining why you're getting the killjoy responses seen elseware
in the thread... not saying the proposal is flawed.

Optional is typically good.
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Rga_Noris

  • 29
  • What?
@Noris... I was explaining why you're getting the killjoy responses seen elseware
in the thread... not saying the proposal is flawed.

Optional is typically good.

Erm... I knew that.  :nervous:
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
JGZInv's suggestion could probably be done with just a +Max Chunks: option under $Debris.  Instead of using all chunks, it could just pick a random number from the set.  Those could be combined, it could be a random chunk from a retail-like set, or from one of the subsets Noris is talking about.  If Max Chunks is higher than the number available, no biggie, just use as many as you have in the set.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Rga_Noris

  • 29
  • What?
The issue I see there is outlined with the following scenario, presuming I'm getting what your writing.

So we have two sets, one is the retail, one is another set designed to make the Uly appear as though it cracked in half, with the left wing seperating from the main body.

Uly Go BOOM! Engine picks debris01-1 (the cockpit) as one of the randomly chosen debris, but then chooses debris02-2 from the second set, which contains the main body and the right wing in that chunk, so the player gets to see two cockpits sail through space.

That's why I think multiple sets would provide the most options.
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
maybe i was exaggerating the work involved. debris is fairly easy (and somewhat fun) to make in max with a combination of the slice tool and the ripple tool. cut up your model with slice, then do a cap holes modifier on each of the piece. you might need to use target weld to clean up the resulting edge. select the new polygons (max does this for you) and use the ripple feature to distort them somewhat and make it look like the break was more random than along a plane. i also do a weld pass with about a 0.1 threshold so as to remove any micro polies and bring together any near verts, and also to chop down the detail abit. then you uv map those new polygons and apply some generic damage texture.
« Last Edit: September 02, 2010, 06:26:30 pm by Nuke »
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
No you misunderstood, I didn't clarify.  If there's only a retail set, it would just pick from that.  If there's multiple sets of debris, it would pick all the chunks from the same set.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Rga_Noris

  • 29
  • What?
No you misunderstood, I didn't clarify.  If there's only a retail set, it would just pick from that.  If there's multiple sets of debris, it would pick all the chunks from the same set.

Okay, that makes sense. I suppose the only issue I would have is that if it picked from a retail, or single-debris-set-pof (SDSP), then the modders original intentions of how much debris would be shown is going to be altered, unless it would pick the entire set. SDSP's would get four or five or whatever. But so long as it was controlled be a table flag then I guess it wouldn't effect SDSP's... so I mooted my own point. YAY ME.
I think I'll call REAL Mahjong 'Chinese Dominoes', just to make people think I'm an ignorant asshat.