Procedural map generation

Procedural DEV BLOG generation





DobrΓ½ Den, now I will show you an example of procedural map generation, on  Unreal Engine 4 .





The function of calculating random points on the playing field:





The function of calculating random points
The function of calculating random points

Let's take a closer look at the For Loop function  .





Cycle
Cycle

Firs Index β€” . For Loop β€” , First Index Last Index . Last Index β€” .





Loop Body β€” , ( 150 ). Index β€” 150 .





. .





Randomizer

Random Float in Range β€” . Min β€” Max β€” Return Value β€”





Zero point coordinates

Break Transform β€” .





Rotation, Scale. .





.





Mathematics

Make Vector β€” Location.





Make vector
Make Vector

:





Data output

:





True β€” Actor Tree 2 ().





Return Value β€” .





Completed β€” .





, .





:





I am preparing information for an article about Dedicated server (Remote server), Multiplayer, Session creation and connection to them, shooting system and the game development process itself.








All Articles