Made for unrealEngine 5.0
This system allows the player to place, edit and delete blueprints in a level.
-
Configuration
1.2. Inputs
1.2.1. Action mappings
1.2.2. Axis mappings
1.3. Create placeable blueprint
1.4. Create a new terrain -
Settings
2.1. SnapGridSize
2.2. RotationSensivity
2.3. BuildHitDistance
2.4. DeleteHitDistance
You will need to create 6 action mappings and 1 axis mapping :
-
Delete This action is used to delete a placeable blueprint.
By default 'Right Mouse Button'.
-
PlaceBuildBlueprint This action is used to place a placeable blueprint.
By default 'Left Mouse Button'.
-
DeleteMode This action is used to switch to the deletion mode.
By default the key 'V'.
-
Unload This action is used to unload the selected placeable blueprint.
By default the key 'U'.
-
Jump This action is used to jump.
By default the key 'Space Bar'
-
ToggleMouseCursor This action is used to show or hide the mouse cursor and acces the HUD menu.
By default the key 'I'.
- Fly Up / Down
This axis is used to fly up or down during fly only.
By default, scale 1 (UP) is 'Space Bar' and scale -1 (DOWN) is 'Left Ctrl'
To add a new placeable blueprint, in the folder 'PlaceableBlueprint' right-click on 'BP_PlaceableBlueprint' and click on 'Create Child Blueprint Class'.
For each created component, add it to the table by creating a new row in the 'DT_BS_PBList DataTable'.
To add a new terrain, right-click and add a new 'level' in the folder named 'Terrains'.
Open the level and set in 'World Settings' the option 'GameMode Override' to 'GM_BuildSystem'.
This parameter is the distance between the points that make up the grid so that the object will snap to the closest grid dot.
By default, this value is 100,0
.
This parameter corresponds to the degree of rotation added to each scroll.
By default, this value is 45,0
.
This parameter corresponds to the maximum distance between the camera and where the player aims when he is in the build mode.
By default, this value is 5000,0
.
This parameter is a local variable accessible from the BuildTrace function.
This parameter corresponds to the maximum distance between the camera and where the player aims when he is in the delete mode.
By default, this value is 500,0
.
This parameter is a local variable accessible from the BuildTrace function.