‫Hello and welcome.
‫In this lecture, we're going to be bringing in some external assets such as these barrels and crates
‫and enabling physics on them so we can have a little bit of fun smashing them to pieces.
‫Let's dive in and see how to get these assets.
‫So currently the least satisfying thing about our game is the assets within it.
‫We are they're pretty plain and vanilla and they certainly don't reflect what I want the game to reflect,
‫which is that this is us wrecking a warehouse with wrecking balls.
‫So this isn't what we want.
‫We need some new assets.
‫And fortunately there is a great integration with the unreal marketplace.
‫If you open up your Epic Games launcher, get to the Unreal section in the left and then click on the
‫Marketplace tab in the top tab bar.
‫Then you can see all of the assets available.
‫Now, don't worry, I'm not going to be asking you to pay for any of these assets right now, although
‫I do recommend paying for assets as you get further down the road with Unreal, it really helps supercharge
‫you into doing more things.
‫Now, what you can do, however, is you can filter by different types of free content.
‫There's a sub toolbar in the marketplace section called Free and under that dropdown you can see there's
‫a bunch of different types of free.
‫You've got the Epic Games content, which is stuff released by Epic Games themselves off from games.
‫They didn't release mega scans, which comes from the Epic Games, mega scans acquisition.
‫Then there is the free for the month collection.
‫So these are asset packs that if you download now, you can use them for free forever, but they're
‫only available this month.
‫Then there's the permanently free collection, which is stuff that has been purchased by Epic Games
‫to make available for us to use.
‫So we're going to be using stuff from the permanently free collection and you could go through and have
‫a look for the basically there's there's over 100 different asset packs here.
‫There's a really cool one that I like called the Factory Environment Collection.
‫It looks really awesome.
‫That's a bit too complicated for what I want to achieve in this section.
‫However, I do recommend that if you want to take the contents of this section further.
‫However, what I'm going to be using is an asset pack that I've already downloaded, and if we go to
‫the library tab and scroll down through the many, many assets that I have got, what I'm looking for
‫is one called industry and I can filter these as industry props pack six.
‫That's the one that I would recommend it you get if you want to follow along with what I'm doing in
‫this project.
‫Unfortunately, if you are following along on a mac, this particular asset pack doesn't support being
‫imported into a project on Mac.
‫But don't worry, I've packaged up a download for you to use and I'll show you how to use it after we've
‫gone through the instructions for Windows.
‫So you search for that in the marketplace, you add it to your basket and you have to check out as if
‫you may even have to enter a credit card even though they're free.
‫You may have to enter a credit card and you won't pay anything, and then it will end up in your vault.
‫In the library section, you'll need to click Add to project and if you haven't used this before, it
‫will have to download it first.
‫Don't worry, it's not too big, it's only about 200 megabytes.
‫And then you can go and add to a project.
‫Then it will come up with this dialog here and at the moment it's defaulting to just showing the compatible
‫project versions.
‫But if you want to bring it into a newer version and you think it will probably work, which I think
‫it will, you can click show all projects and then you can look, we can search or you can look down
‫through your projects and find the Warehouse Wreckage project.
‫And then because there isn't a compatible version within the asset pack itself, you have to click the
‫dropdown to select the nearest version.
‫And in my case, the nearest version is unreal five early access.
‫So I'm going to select that one and I'm going to go ahead and add that to the project.
‫And you can see it shouldn't take very long.
‫It's doing a little bit of downloading.
‫So if you're on a mac, this is the process for you.
‫Now do watch along if you're on a PC as well, because this can be useful to know how you can bring
‫across assets from another project, not just from the marketplace.
‫So go ahead and download the Mac Props Zip, which is against this lecture and go ahead and extract
‫it somewhere.
‫In my case, I'm extracting it to my downloads folder and when that's done, you're going to end up
‫with a folder containing a new project.
‫So double click on that new project to open it in your engine version.
‫This project version is in Unreal Engine five, so you'll need Unreal Engine five or later, and you
‫may need to upgrade the project.
‫When you try and open it, when you open it, you're going to be greeted by this, the default map.
‫But that doesn't matter.
‫What we're going to do is we're going to click down in the bottom left on the content browser.
‫And you can see there is the industry props pack six folder in here, which has got all the same stuff
‫that was in the asset pack from the store.
‫So you're going to right click on that.
‫Then you're going to go to the migrate button and you're going to just check that all these assets are
‫indeed selected.
‫You click, okay, and then you need to navigate to your project folder, which in my case is here and
‫I can go down into the warehouse wreckage.
‫I need to go down into the same folder that has the new project and then I need to go into the content
‫folder within it.
‫Then you can select that folder.
‫And you can see a successful log message pops up.
‫And if you go over into your warehouse wreckage project, open up your content drawer.
‫You should now see the industry props pack six in there like the PC folks.
‫So once that has downloaded and completely finished adding to the project, we can go back over into
‫Unreal and have a look at the content draw.
‫And by the way, you can bring this up with control space as well if you want a quick access.
‫Now you can see that next to the Starter Pack folder.
‫If we're in our content folder, there is now an industry props pack six folder.
‫So we can click into that and we can open up the maps and have a look at the showcase level just to
‫see what kind of stuff is included here.
‫Now, for some strange reason, in my version of Unreal, if I just go ahead and double click on the
‫showcase, it's going to spend a very long time here preparing to load up the level, so I wouldn't
‫recommend doing it this way.
‫You're going to be wasting a lot of life.
‫So what I'm going to do is I'm going to go ahead and just quit this task in the task manager because
‫I can't really quit it any other way while it's trying to load the level.
‫And then I'm going to go ahead and reopen.
‫And once that's open up again, we can go back to our content draw.
‫And the trick here, I don't quite know why this works, but if you right click on the showcase first,
‫you can see that in the preparing the right click menu, it's doing a little bit of that work that it's
‫going to do when we first opened the level.
‫So what happens is it comes up with the right click menu and then it has this little drop down pop up
‫at the bottom that says it's preparing shaders.
‫So what you can now do is you can write, you can just double click on the showcase and it opens instantaneously,
‫but you can see that the showcase level doesn't yet feature any of the materials.
‫But as it is preparing the materials and shaders over here in the bottom right, you can see that they're
‫slowly starting to pop in one at a time.
‫So there's still more going on with the shaders at the moment.
‫But right now we can already see the shape and general color of the objects in this scene.
‫There's a lot of barrels which I think I'm going to make heavy use of some crates, and definitely these
‫racks are going to be fun to try and knock over.
‫So let's go back to the starter content map that we were using so far.
‫So we'll go back to our content folder all the way back up and then we're going to go into starter content
‫and maps and then minimal default.
‫And what I want to do is show you just how easy it is to bring in some assets from that pack.
‫What we can do is go into the content folder again into the industry props pack, this time into the
‫meshes folder.
‫And in here you can see all of the assets from that pack, such as these barrels.
‫And all you have to do is drag one of these into the scene and boom, there you go, you've got a barrel
‫from that asset pack and you can enable physics and you can do all the things we could do with the other
‫objects in this scene.
‫So let's take the challenge of knocking down some assets.
‫I'd like you to place some assets in your starter content scene, enable physics on them, and you can
‫potentially tweak the mass or whatever you want to do with them and try knocking them down and see if
‫you can have a bit of a fun experience from these new assets.
‫Pause video and have a go.
‫Uh.
‫Okay, well, come back so we can go ahead and add a few more barrels of different types and just see
‫what these are like.
‫We can also add a box or two, like, so we can even stack some barrels on top of the box, like.
‫So now if you try and stack barrels on top of barrels at this stage, you're going to end up with a
‫little bit of a headache because these barrels currently don't aren't very stable when stacked on top
‫of each other.
‫But there is a way to improve that and we will be doing that later on.
‫So we're just going to go ahead and select all of these, make sure in the details pane we have the
‫physics filter selected and then click simulate physics on those.
‫Then we can hit play and we can see, there you go.
‫I told you that those barrels aren't very stable.
‫They just pop a little bit.
‫And possibly the fact that our character was in the middle didn't help.
‫So we're going to move player start back a little bit like so and then we go ahead and hit play and
‫yeah, they're still not very stable, but we can shoot these things and have a little bit of fun.
‫This crate seemed way too light for my liking, so I'm just going to adjust its mass and rack, rack
‫it up to 400 and see if that's any better.
‫Now, if I shoot the crate a little bit better, I still think maybe a thousand kilograms for that crate
‫would be enough.
‫So making it one metric ton.
‫Now, if we try knocking down the crate, it reacts a lot more slowly and as I would expect a crate
‫of that size to react.
‫Great stuff.
‫We've got a bit more fun going on now in our scene with some of the assets that we've chosen ourselves.
‫I'll see you in the next lecture.