(Child of InstancedStaticMeshComponent) Component corresponding to specific ID and Material Instance, contains the block data and Instances.
**[SIZE=3]
LevelBlockConstructor
Holds array BlockLayers corresponding to blocks withing the area of constructor.
**
WorldGenerator
Class that generates endless terrain(LevelBlockConstructors) using Perlin Noise.
BlockMaterialIDTable
-Table that holds ** material Instance **[SIZE=3]corresponding to **[/SIZE]**MaterialID .
There are tons of configurations available starting from the mesh, possible material instances, terrain build speed and amount, terrain size and height, rendering distance, perlin noise and many more.
What version of the engine is this plugin compatible with @Vagen?
I have tried running this with 4.10.4 and 4.11.2. Both of them were not compatible with the plugin and did not work.
I have logged the issues on github.
After that press reimport and your heightmap should work.
Press [Generate Bit Data from Texture]
after that [Horizontal/Vertical Optimization]
As soon as you see log that optimization if finished press [Build Blocks]
This literally means that there is no data to optimize.
The plugin is not saving BitData as it takes too much space in ram and harddisk.
But bit data is automatically generated when you load data from some file ( press [Load Data] )
Here are the save files.[It was in description. Download and Extract into (D:) ]
You could also regenerate the whole map if you want. Look at the youtube video.
Also please check every value when creating/adding new LevelBlockConstructor. LevelSize, LevelHeight, BlockMesh, BlockMaterial etc.]
You can create a Blueprint prefab with those value and drag and drop them into level.
Good Luck.
I also recompiled the whole engine and plugin as Engine Plugin.
This doesn’t seem to be working with packaged projects, nothing is generated. Unless I’m doing something wrong, but it works in the editor. I’ve also tried setting your world map as the default, with the same result. Other than that very nice and thanks for sharing!
In UE 4.11.2 Constant Error when starting: “Missing or incompatible modules in BlockConstructionPlugin plugin …”
There is no any directory “Content” in dir “BlockConstructorPlugin” in your BlockConstructor-master.zip, so how accurate is this tutorial at all?
“BlockConstructor-master.zip\BlockConstructor-master\Content” is not equal to “BlockConstructor-master.zip\BlockConstructorPlugin\Content” (there are complete different, don’t ask me why)
2.
I made C++ blank project; delete all files in "f:\UnrealEngine Projects emp2\Plugins\BlockConstructorPlugin\Binaries\Win64";
When start compiling in VS2013 =>There are the errors:
a)
Error 1 error C2661: ‘stat::stat’ : no overloaded function takes 2 arguments f:\unrealengine projects emp2\plugins\blockconstructorplugin\source\blockconstructorplugin\System\LevelBlockConstructor.h 306 1 temp2
b)
Error 2 error C2661: ‘stat::stat’ : no overloaded function takes 2 arguments F:\UnrealEngine Projects emp2\Plugins\BlockConstructorPlugin\Source\BlockConstructorPlugin\System\LevelBlockConstructor.h 306 1 temp2
c)
Error 3 error : Failed to produce item: F:\UnrealEngine Projects emp2\Plugins\BlockConstructorPlugin\Binaries\Win64\UE4Editor-BlockConstructorPlugin.dll f:\UnrealEngine Projects emp2\Intermediate\ProjectFiles\ERROR temp2
d)
Error 4 error MSB3073: The command “F:\UnrealEngine\Engine\Build\BatchFiles\Build.bat temp2Editor Win64 Development “F:\UnrealEngine Projects emp2 emp2.uproject” -waitmutex” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 temp2
Just for comparison, I start/compile without a problem BrickGameUE4.11.2
You might need Visual Studio 2015 I guess, it works just fine over here whether I make a C++ project or a BP project. I recorded a quick little video of how I set it up with a BP project;