Author Topic: Recent Progress: Special Forces, Modding, And Explosives  (Read 3472 times)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #1 on: March 10, 2017, 04:35:43 pm »
That effect looks pretty slick so far.

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #2 on: March 10, 2017, 04:38:15 pm »
Thanks!  What's left is mainly making variants for other ship scales, which is just a matter of tuning some variables in there.  And then I'd like to have variants for these in general, even within a given ship scale.  There's a random element to these already, but I'd like more.

It's a pretty big difference from the one-size-fits-all explosions that are in there now, and are ludicrously huge for a lot of ships while being pathetically small for others.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #3 on: March 10, 2017, 04:42:50 pm »
You could also make "bits fly off."  Basically some generic shrapnel cuboids with the texture effect that animate outward from the dead ship.

Wouldn't matter a whole lot that the ship model itself isn't actually fragmenting as it won't be viewed that close up most of the time, but would add an extra level of detail.  It'd be cheating, of course. But cheating = performant.

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • BadgerBadgerBadgerBadger
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #4 on: March 10, 2017, 04:43:52 pm »
I was hoping we might get that bug where unity crashes on me fixed for the weekend :-( Hopefully for monday then?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #5 on: March 10, 2017, 04:51:46 pm »
You could also make "bits fly off."  Basically some generic shrapnel cuboids with the texture effect that animate outward from the dead ship.

Wouldn't matter a whole lot that the ship model itself isn't actually fragmenting as it won't be viewed that close up most of the time, but would add an extra level of detail.  It'd be cheating, of course. But cheating = performant.

That level of detail is likely to be completely invisible, to be honest.  That sort of thing can always be added by me or by someone else, as desired, but it's not something I want to approach right now.  So many little individual particles (for the shards) in a big battle tends to make for more CPU and pipeline work for shuriken than I'd rather have.

I was hoping we might get that bug where unity crashes on me fixed for the weekend :-( Hopefully for monday then?

Yeah... sorry about that one. :/

I was actually just about to write to you about that.

https://bugtracker.arcengames.com/view.php?id=19028#c45956
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #6 on: March 10, 2017, 05:50:51 pm »
That level of detail is likely to be completely invisible, to be honest.  That sort of thing can always be added by me or by someone else, as desired, but it's not something I want to approach right now.  So many little individual particles (for the shards) in a big battle tends to make for more CPU and pipeline work for shuriken than I'd rather have.

Oh I meant for larger things only. Golems, the ark, etc.

Offline treyra

  • Newbie Mark III
  • *
  • Posts: 32
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #7 on: March 10, 2017, 10:03:16 pm »
Oh I meant for larger things only. Golems, the ark, etc.

There is something really satisfying in seeing a good death animation for that massive capital ship.

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • BadgerBadgerBadgerBadger
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #8 on: March 10, 2017, 10:05:05 pm »
As long as it's not my ship!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #9 on: March 13, 2017, 11:00:02 am »
Makes sense to me.  For the really large ships, potentially I could just do some voroni fracturing on the actual models and have those pregenerated and able to fly apart when they die.  It would only be for things like starships, guardians, golems, and king-units, I think.  Maybe not even all starships or guardians.  But the amount of data would be reasonable enough, and it's the sort of thing that can be pre-baked at design time and then run in realtime for much cheaper later.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #10 on: March 13, 2017, 12:37:27 pm »
and it's the sort of thing that can be pre-baked at design time and then run in realtime for much cheaper later.

Exactly. :)
I was thinking a single pre-baked animation-model, but some voroni fracturing would be even cooler.

Offline BadgerBadger

  • Arcen Volunteer
  • Hero Member Mark III
  • *****
  • Posts: 1,229
  • BadgerBadgerBadgerBadger
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #11 on: March 13, 2017, 12:51:26 pm »
Certainly "Voroni Fracturing" sounds much cooler.

Offline Draco18s

  • Resident Velociraptor
  • Core Member Mark V
  • *****
  • Posts: 4,251
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #12 on: March 13, 2017, 01:22:27 pm »
(Oh, it's "Voronoi": there's another O in there. And it's called that because it's based on Voronoi diagrams, which I knew could be extended to 3D space--I've done Delaunay triangulation in 3D space, which is basically the same thing, but treating the points as vertices rather than centroids--but I didn't realize that that was how fracturing worked).
« Last Edit: March 13, 2017, 01:24:07 pm by Draco18s »

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #13 on: March 13, 2017, 03:15:06 pm »
I prefer Velociraptor Fracturing, as the implementation is more intuitive.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline z99-_

  • Full Member
  • ***
  • Posts: 112
Re: Recent Progress: Special Forces, Modding, And Explosives
« Reply #14 on: March 13, 2017, 03:50:23 pm »
I prefer Velociraptor Fracturing, as the implementation is more intuitive.

On top of that, most of the code can probably just be reused from RR.