#@Ruiner got another relatively dumb
1 messages ยท Page 1 of 1 (latest)
do it by actor tag, not component tag
i already see the problem ๐
๐
that did it, sorry about that ๐
you use component tags if it's something like a blueprint that also houses a PCG component
@tired orchid speaking of which, is there any way to pass in a custom float to the PCG on demand?
i'm generating the PCG component when new rounds start
potentially answered here https://www.youtube.com/watch?v=0NQAQPaJ8ko
Series of videos to learn how to use the Procedural Generation Content plugin in UE 5.2/5.3.
This fifth video talks about:
- How to create generic graphs in PCG with Graph Parameters
- How to create Graph Instances
- How to Generate at runtime, switching graph/parameters
DISCLAIMER: This plugin is still in experimental mode, to learn more about...
answered here actually, ty!
you can get or set like this from a BP:
had to dig through my UI stuff to remember how lol
but you get all actors of class PCG volume, then get the component, then get the graph from that and from the graph, you can get/set variables you want. in this case, i'm doing a float
oh you need to get the parameter, i think in 5.6 you can now reference them directly in nodes like that though
ah crap
no way im gonna upgrade to 5.6 ๐ข
that's alright, i think i can drop down to CPP for some pcgen
right so this is coming from the round level
as the rounds go up, that float goes higher
so it's not really a good name for the parameter
okay, so you can copy that value from ClusterDensity to $Density
or use it elsewhere
with Copy Attributes?
yeah or set
probably set
like here's an example of how to use a parameter with points
yep
it worked, fabulous. ty!!!
np, it takes a LOT of getting used to. it's quite a bit different than regular BPs
i already have lots of XP with PCG, just returning so i completely forgot everything ๐
well i spend lots of time with pcg and constantly forget everything, so don't feel bad
well not everything, but enough ๐ it's a beast of a tool