Announcement

Collapse
No announcement yet.

Advanced Laser, Energy, & Bullet Decal System

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

    [SUBMITTED] Advanced Laser, Energy, & Bullet Decal System

    Hey fellow Gamedev comrades!

    I have submitted my Advance Decal system to the trello boards. VOTE HERE

    You get both an advanced Decal placing system all done in blueprints and a wide array of Decal materials.

    -Metal, Concrete, Wood, Glass, Sheetrock, Plaster Bullet decals and more++
    -Laser, Energy, and Explosion scorched decals\
    -Decals materials that dissipate heat and change materials
    -SubUV placement system for allowing many variations of decals efficiently
    -Directional based decals that match the angle of the impact! =)
    -Raw textures include diffuse, specular, normals files

    Burn away surfaces today!

    Click image for larger version

Name:	decalsMaster.jpg
Views:	1
Size:	661.9 KB
ID:	1141665


    Check out the video out!



    I really enjoyed this project and If you like what you see, please GO VOTE
    Last edited by eXi; 04-24-2015, 06:18 AM.
    W3 Studios

    #2
    Voted. Great job, these look really awesome.

    Comment


      #3
      These are the best I've seen yet! Great job!
      KITATUS
      "Information shouldn't be behind a paywall, It should be free for all!"

      Comment


        #4
        Originally posted by KitatusStudios View Post
        These are the best I've seen yet! Great job!
        Thanks KitatusStudios!

        Originally posted by Synt4x View Post
        Voted. Great job, these look really awesome.
        Thanks Also Synt4x.

        I've gained a whole new respect for the Material Editor on this one I could spend all day everyday in UE4, oh wait... I do! haha
        W3 Studios

        Comment


          #5
          Just. Awesome. =]
          Full Time UE4 Tutor! www.tesla-dev.com
          Watch, Learn & Create using my tutorials here: *https://www.youtube.com/playlist?lis...8Zjziv4gUqjLZ_*

          Comment


            #6
            Nice Work! Love your effects!

            Comment


              #7
              Pretty **** cool.

              Necro's Bone Box, Necro's Utility Material Pack, Necro's Utility Material Pack #2, Necro's Rock Box, Necro's Tool Box on the UE4 Marketplace.

              Comment


                #8
                Originally posted by Necrophob30 View Post
                Pretty **** cool.
                Thanks Necrophob30!

                Originally posted by Demolition Man View Post
                Nice Work! Love your effects!
                Cheers & thanks alot DemolitionMan!

                Originally posted by Tesla View Post
                Just. Awesome. =]
                Thank you Tesla!

                I'm glad that people are enjoying this pack.
                W3 Studios

                Comment


                  #9
                  BTW, does this decal system work on landscape terrain? Just curious since I didn't see any examples of that in your video.

                  Comment


                    #10
                    Originally posted by Demolition Man View Post
                    BTW, does this decal system work on landscape terrain? Just curious since I didn't see any examples of that in your video.
                    Good suggestion, I'm planning on using them on both landscape and brushes, but I haven't tried yet. It should work, but I will do a test and make sure. Thanks!
                    W3 Studios

                    Comment


                      #11
                      Originally posted by Devero View Post
                      Good suggestion, I'm planning on using them on both landscape and brushes, but I haven't tried yet. It should work, but I will do a test and make sure. Thanks!
                      Ya, I am evil that way. I sort of have a knack for asking interesting questions....

                      Comment


                        #12
                        Originally posted by Demolition Man View Post
                        Ya, I am evil that way. I sort of have a knack for asking interesting questions....
                        I did check this on landscapes as I sent the release version to Epic and it worked fine. There is one small hiccup if you assign a physical material to a landscape you need to restart the editor for it to actually work. =)

                        Thanks again!
                        W3 Studios

                        Comment


                          #13
                          Hello fellow Gamedevs! The decal pack is now available on the marketplace. =)

                          There is one step that needs to be done after downloading the pack to open the demo map correctly. The physics surface configuration doesn't get setup when added to a project.

                          1) Download the "PhysicsSetup.ini" HERE to your project config directory
                          2) Open your editor and go to "Project Settings"

                          Click image for larger version

Name:	openprojectsettings.jpg
Views:	2
Size:	211.3 KB
ID:	1065453

                          3) Go to the "Physics" option under the Engine category
                          4) In the upper right hand corner, you have the option to "Import..." a file. Click on it and load the "PhysicsSetup.ini" that you downloaded.

                          Click image for larger version

Name:	loadconfig.jpg
Views:	2
Size:	248.0 KB
ID:	1065454

                          5) The change doesn't take effect until you close down the editor and restart it
                          6) After restart, load the demo map and it should work =)

                          Let me know if anyone has issues.

                          Thanks and Enjoy your Gamedev!
                          Devero
                          W3 Studios

                          Comment


                            #14
                            Hi everyone!

                            After you get the physics ini setup working, open up the "AdvancedDecals" level (the demo map). Then open up the level blueprint. Make sure you are on the EventGraph top most level and you will see how the blueprint logic is structured.

                            Click image for larger version

Name:	bpstructure.jpg
Views:	1
Size:	306.1 KB
ID:	1065488

                            Each collapsed node on the right handles a specific piece of the logic.

                            1) "Initial Impact Trace" Node
                            -This node is simple, it just traces the world for the hit object

                            2) "Directional 2nd Trace" Node
                            -This node is used to calculate the direction of fire and can handle any surface, topology, or even edge cases

                            3) "Set Decal from Impact Angle" Node
                            -This node is where you can adjust your Angle threshold for your decals such as what angle is considered deadon...ect.
                            -You can add even more resolution by extending a few more angle thresholds. I have it set to three, but you could techincally setup as many that you want.
                            -For each angle threshold, you can setup a specified range of images to use. The Decal Sub UVMin and Max denote what images to use on the texture atlas.
                            -You can set wheter or not a decal needs to have alignment or not. For example, the deadon bullet hole doesn't need to be aligned. Instead, we randomly rotate it to give more variance

                            4) "Select Particle & Decal from Surface" Node
                            -This node is where you want to plug in what decal material or instance to use for each surface type.
                            -You can also plugin the particle effect that you want to use or *Tip, the 20+ gun impact particle pack plugs right in here =)
                            -This is where you want to also specify any custom decal sizing for bigger holes
                            -You can add more decal surfaces easily here. For example, Dirt doesn't have a decal material assigned by default. Just copy the "Set Decal Material" node and plug it in the chain, thats it.

                            Click image for larger version

Name:	surfacetype.jpg
Views:	1
Size:	490.8 KB
ID:	1065490

                            5) "Setup and Spawn Decal" Node
                            -This node handles all of the final settings before spawning the decal.
                            -Here is where you would add more "MaterialInstancDynamic" variables for your custom material effects. Check out the example material nodes provided. They were a ton a fun.
                            -Finally, the math for aligning the decal to anytype of surface. This is complicated just ignore it, it works. This will handle any custom model surface upbasis. Depending on how you imported your model, there are differences and can throw off your calculation reference window. Figuring this out made my eyes hurt =)


                            I hope you enjoy the pack and can't wait to see what you use it for.

                            Have fun with your Gamedev! and Thanks!
                            Last edited by Devero; 01-22-2015, 01:36 PM.
                            W3 Studios

                            Comment


                              #15
                              I'm working on a near-future project so the guns include both projectile and energy. After watching your video I can say this is literally perfect.
                              Click image for larger version

Name:	take-my-money-16.jpg
Views:	1
Size:	34.3 KB
ID:	1065520

                              Comment

                              Working...
                              X