Slopes
Introduction
If you've ever tried DynamX, you may have had difficulty driving vehicles over blocks or even half-slabs. This problem arises because DynamX is a mod that adds physics, and it is not physically realistic for a car to easily climb 50cm or even 1m (the height of a block)!
The solution added to DynamX is the use of slopes.
What? Slopes in Minecraft?
These slopes are not visible (except in debug mode), but vehicles can drive on them and thus climb blocks.
Using Slopes
Adding Slopes:
Take the "Slopes tool" item from DynamX in your hand. This item has 3 modes (create, auto, and delete), use Shift+scroll to change modes.
In all modes, use Shift+right-click to clear the selection and start over.
Mode CREATE:
This mode allows you to quickly add a slope. To do this, you must define the 4 corners of the slope by clicking (right-click) in order, at each end of the slope (it can have any shape you want, as long as the points are added in order).
Once the 4 points are selected, you will have a preview of the slope,
(The order of the points are shown):
You can change the last added point (point 4) by clicking elsewhere, and you can remove points by clicking on them again (be sure to maintain the order when adding a new point, you should always have a flat preview like the one shown above).
Once your slope is set, you can add it by using the command /dynamx slopes create
. The slope will be saved, and vehicles will be able to drive on it.
Mode AUTO:
If you think that configuring each slope one by one might take a very long time, the auto mode is here for you: select the two corners of an area (not too large) where you want to have one or more slopes going in the same direction:
Then, configure the slope's orientation by right-clicking in the air with the slopes item in hand:
If you look in the direction of the slope, press "Apply orientation"; otherwise, turn in the correct direction and do it.
When exiting the menu or pressing "Apply," you will see the slope appear (note: if you have selected too large an area, the calculation may take some time):
In the same menu, you can enable slopes on half-slabs, modify diagonal behavior, or ignore certain blocks in your slope (by typing their ID, e.g., minecraft:grass
), so feel free to experiment!
Once the preview satisfies you, use the command /dynamx slopes automatic generate
to add the slope to DynamX.
Mode DELETE:
The last mode allows you to delete existing slopes in a cubic area defined by 2 points:
Once the preview satisfies you, use the command /dynamx slopes delete
to permanently remove all slopes in the area.
Generate slopes automatically for everyone:
Experimental option, no tutorial available at the moment.
View All Slopes:
To see all the slopes around you, you can hold the slopes item or activate the SLOPES_DEBUG option in DynamX's debug menu (numeric keypad '7').
Info
You must place a vehicle in the area where you want to see the slopes, or they will not be loaded.
Note
I am open to suggestions to improve this system, Aym'.