Today I show you how you can use simple location volumes to cut out shapes in PCG volumes to create clearings for houses or roads in your game.
Пікірлер: 22
@FPV_Simulator3 күн бұрын
Thank you very much!
@fabiolives11 ай бұрын
Exactly what I was looking for, thanks for uploading this. I’ve been old school so I’ve mostly been using the foliage painter and wanted to start using PCG instead. The only issue I’ve had is getting it to stop spawning inside a village I’m making and this will do the trick. Thanks again!
@SkribblerStudios8 ай бұрын
super helpful! thank you!
@stefan.o2 ай бұрын
Doesn't seem to work for me. Im using a close loop spline to scatter but when I add both the landscape data and get spline data, nothing gets removed.
@crazedmonkey2312 ай бұрын
Not sure the exclusion zone should be a simple subtraction against the area you are populating using pcg
@stefan.o2 ай бұрын
@@crazedmonkey231 Isn't that the same setup you described in the video? How would I go about it then?
@crazedmonkey2312 ай бұрын
@@stefan.o Hard to say without seeing the bp. But I'm wondering are you using the volume sampler node with the spline? There is a specific spline sampler which I think needs to be set up the same way I usually stick to simple shape areas they are just easier to work with.
@stefan.o2 ай бұрын
@@crazedmonkey231 Nothing in the BP besides a spline component with a closed loop.
@LarionSiments5 ай бұрын
Thank you! the problem for me is when you use this method, it cuts out this volume box, but populates the rest of the landscape, which i don't want, i just want it to populate the space inside the PCG volume with a cutout, is that possible?
@crazedmonkey2315 ай бұрын
I think that you would just want to use the pcg volume itself in that case, that's where all the spawning happens for the foliage, you can have multiple pcg volumes per level if you need to create something like parks in a city or for points of interest
@LarionSiments5 ай бұрын
@@crazedmonkey231 Yeah i figured as much, but hoped it wasn't so, thanks though
@crazedmonkey23111 ай бұрын
I've seen many videos using splines to block out areas what about just shapes! 🤣Also quick note make sure to disable collision on the PCG volume or your line traces will act wild 🙃. I hope you enjoyed!
@evansiegal33726 ай бұрын
Is anyone else getting an error on the surface sampler nodes after following this? I double checked everything and did it according to the video but I'm getting an error saying too many points are being generated.
@Sapix_6 ай бұрын
Yeah I'm having the same problem, did u find a solution?
@Vylocity9 ай бұрын
My current system uses GetActorData in the pcg and a difference node and i attach a StaticMesh of a cube to my blueprint with a tag and filter the PCG points based on that tag, but it doesnt work with small points like grass, only my trees
@crazedmonkey2319 ай бұрын
Should work the same as trees only smaller so I'm not really sure
@Vylocity9 ай бұрын
Im trying to add this to a blueprint, so when i place down a BP_House it automatically has that volume attached, however its not available in the drop down on the components tab
@crazedmonkey2319 ай бұрын
The volume is an actor class if you want to add it to another it has to be as a child actor.
@Vylocity9 ай бұрын
@@crazedmonkey231 makes sense, im new to BP so things are just starting to click. Thanks!
@JedidiahPaul-w3o4 ай бұрын
When im following this tutorial, my editor starts lagging a lot and eventually freezes and crashes, even though i have a rly gud pc. any solution?