Announcement

Collapse
No announcement yet.

Greg's Destruction Playground

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Greg's Destruction Playground

    Hi all !


    I'm currently playing a lot with destructibles and as I make videos of my different successful tests I thought I would show them over here. I will be adding more and more over time as I get interesting things to work. I will also gladly answer your questions if you have any so don't hesitate.

    Also I'll list my questions about the things I do in a video below them in case some of you would have the answer and would like to share...


    Fire Propagation Destruction:

    Q: When I make all the walls "Extented Structures" only the first would break (only tested with RadialForce). Why is that ? I tested multiple cubes in "Shooter Game" and they all break with the weapons.
    Last edited by GregBlast; 11-05-2014, 05:58 PM.
    My contributions:
    Shooter Game - Toggle Third Person

    My WIPs & Showcases:
    Greg's Destruction Playground


    GregBlast

    #2
    I like this, I can see this being developed into something very cool. Burning down a shack or barn, maybe a field or forest too.

    Comment


      #3
      Looks amazing Would definitely look interesting in some game .

      Comment


        #4
        Thanks for the feedback so far !

        As I can't include more videos in the first post here's another one (not related to fire):

        Destructible Replication (first successful attempt):


        Running as a dedicated server with 2 clients. Triggered from "ApplyPointDamage".
        Last edited by GregBlast; 11-09-2014, 12:01 PM.
        My contributions:
        Shooter Game - Toggle Third Person

        My WIPs & Showcases:
        Greg's Destruction Playground


        GregBlast

        Comment


          #5
          Looking good !

          Comment


            #6
            Destructible Replication (Test #2):


            Obviously some chunks are not ending up the same way on both clients. That is why I enabled max separation and timeout. Any chance anybody already figured how to correctly synchronize chunks over the network (if ever possible) ?

            PS: The fact it doesn't break on every bullet is because I did it on "Fire" event here. Just noticed I forgot to do it when actually firing each bullet.
            Last edited by GregBlast; 11-09-2014, 06:15 PM.
            My contributions:
            Shooter Game - Toggle Third Person

            My WIPs & Showcases:
            Greg's Destruction Playground


            GregBlast

            Comment


              #7
              i doubt very much that there is a way to sync the chunks, most likely only the fact it took damage is sent and the client does the rest
              UT40K:The Chosen - Warhammer 40,000 for UE4
              ut40kgeodav - UE4 Tutorials

              Comment


                #8
                Thought so as well... Thanks for your answer.
                My contributions:
                Shooter Game - Toggle Third Person

                My WIPs & Showcases:
                Greg's Destruction Playground


                GregBlast

                Comment


                  #9
                  Any chance anybody already figured how to correctly synchronize chunks over the network (if ever possible) ?
                  Unreal simulation doesn't use a fixed physics time-step, so it can't possibly be deterministic.
                  You could consume a lot of network bandwidth, by spawning fragments as "projectiles" of some sort, that are chunks going in position/direction, and then occasionally re-syncing them.
                  That won't work very well for any significant number of chunks over the internet, though.

                  Comment


                    #10
                    Well then I wonder how DICE does it. I know many of their destructibles must be pre-defined. Some break instantly too. But still some others look like they would nee per-client sync in order not to kill the gameplay. Like if you shoot a concrete wall to make a hole into it to then shoot enemies through it. Enemies should also be able to shoot you through that hole or it wouldn't be very fair. Thing is that hole can be anywhere on that wall.
                    Last edited by GregBlast; 11-10-2014, 02:30 AM.
                    My contributions:
                    Shooter Game - Toggle Third Person

                    My WIPs & Showcases:
                    Greg's Destruction Playground


                    GregBlast

                    Comment


                      #11
                      looks pretty cool man, does there seem to be a significant performance drop when using this that you've noticed?

                      Comment


                        #12
                        Originally posted by crumbaker View Post
                        looks pretty cool man, does there seem to be a significant performance drop when using this that you've noticed?
                        Well not really. Maybe if I use a lot side by side. Yesterday I made a kind of little house made of multiple destructibles linked via "From Extended Structures". Worked fine without really a performance drop. Also since that I've tested with per-bullet hit (which was not the case there, was only once per mouse click lol). Plus I added fracture particle effects (like for the fire).

                        But this is only local multiplayer so far. To really tell if it's going to be fine I need to test it over the internet. But here I had all at max with a lot of post-process (to simulate an inside-helmet view if you noticed) and a very reflective floor plus dynamic lighting and shadowing so. When I get the time I'll try a burning set of pieces with more "fake" clients.
                        Last edited by GregBlast; 11-10-2014, 06:57 AM.
                        My contributions:
                        Shooter Game - Toggle Third Person

                        My WIPs & Showcases:
                        Greg's Destruction Playground


                        GregBlast

                        Comment


                          #13
                          Hey Greg,

                          Would you be willing to share the blueprint setup of how you made the destructible mesh replicate? Are your destructibles their own blueprint for this?

                          I've previously set up in my character blueprint to apply a radial damage but I've not been able to get that work at all.

                          Your project looks cool and makes me want to try the fire style effect you've got going just for fun!

                          Keep all the fun stuff coming this is awesome!

                          Comment


                            #14
                            Originally posted by Guigsy1865 View Post
                            Hey Greg,

                            Would you be willing to share the blueprint setup of how you made the destructible mesh replicate? Are your destructibles their own blueprint for this?

                            I've previously set up in my character blueprint to apply a radial damage but I've not been able to get that work at all.

                            Your project looks cool and makes me want to try the fire style effect you've got going just for fun!

                            Keep all the fun stuff coming this is awesome!
                            The fire destruction in the first video is not replicated. I'll make a tutorial or something somewhere later and for replication too. This because I'm not yet sure I'm doing those things in the most optimal way at all. And this part of the forum is dedicated to showcasing work in progress so it'll be elsewhere.


                            Here's a new video example. No replication in this one. I just tested for the first time playing with the PhysX API (thanks to Rama's tutorial).


                            Chunk Vacuum

                            I'm basically applying upwards impulse to the chunks in the Destuctible's Tick. I'm thinking playing with the PhysX API might be the answer to the DICE related question and so.
                            Last edited by GregBlast; 11-10-2014, 07:21 PM.
                            My contributions:
                            Shooter Game - Toggle Third Person

                            My WIPs & Showcases:
                            Greg's Destruction Playground


                            GregBlast

                            Comment


                              #15
                              I don't know how i missed rama's tutorial... i've been looking for some starter info like that. Do you think it is possible to direct those impulses by a defined function rather than direction.... I think that could be useful in creating different effects such as a tornado like vortex or a gravity well where everything implodes inward to a point of convergence.

                              Comment

                              Working...
                              X