The RPG Engine

The RPG Engine

The way terrain works is counterintuitive to me
I started up the demo and played around with the premade map. Overall good impressions, but I was and still am confused with how terrain works.

As far as I could find, there was no way to make terrain. What you were able to do is manipulate existing terrain. This struck me as odd because I figured terrain would act similarly to assets where you would place tiles of terrain and then later shape it further.

I also tried seeing what would happen if I flattened the terrain as much as possible and when I got to the point where most of the map was black because there was no terrain left, the terrain tools started acting erratically and mostly refused to raise the terrain. I'm assuming the way the shaping tools are programmed is that they don't create terrain but instead morph existing terrain.

It would make much more sense to me that the terrain tool starts creating terrain at the centre of the sphere and expands to the edges of the sphere rather than only working on existing terrain.

My other problem with this is that there is no easy way to start off a scene with perfectly flat terrain because there's no option for that and the tools are too finicky to be able to achieve that. The other counterintuitive thing is that props are fixed in place, meaning that if you wish to morph terrain in proximity to any props, you're running the risk of obscuring props with the terrain or making them appear suspended in midair if hollowing out terrain.

How I would naturally do things is

1) make a flat map
2) create a layout, add props, characters, creatures, etc
3) edit terrain.

The way this is programmed doesn't allow that. The only way to make a map right now is

1) edit terrain
2) do everything else.

And there is no option for a flat surface at all.

P. S. I'm still very impressed with this tool, especially considering the size of the dev team and its EA status and I'm not saying I'm right, but I do think being able to at least start out with perfectly flat terrain and create terrain should be features in the final product.
< >
Showing 1-9 of 9 comments
The terrain system is an early pass and is going to be improved. One of the things planned is terrain "shapes" that you can apply to terrain areas to mold them to certain forms. Flat surfacing is also being worked on, it's just tricky. The sculpting tools will also get expanded, but the "build on surface" sculpter is the industry standard.

The pieces that you are using to build terrain are props. You can't change them with any sculpting tools, that would be an in game mesh modifier which would get messy to use and expensive resource wise.

Props are a separate thing from terrain. They have no relation to one another so moving terrain won't effect props or vice versa. Nor would you want them to in most situations. It would get very frustrating to have a workshop area all set up how you want it, then came in with the terrain tool for a slight adjustment, then all your set up props jiggled around and fell over.

Personally, when I'm working I want the terrain mostly resolved first, then build to fit the terrain. Adjustments can be made partway through the process, as needed.

I'd suggest familiarizing yourself with the prefab system as that will let you set any chunk of props into a collection that can be moved as a singular piece. So once you mess with terrain you can easily readjust the prefabs to sit on the terrain where you want them.

I should also note that sculpted terrain is one of the heaviest things in game as far as map size goes. It can easily quadruple the size of a build. This won't have an impact on performance once you're in the map, but it can make sending the map to players take extra time. As such, I typically use terrain props as a majority of my terrain and sculpting for things like streams, lakes, and other smooth shapes.
Oct 5, 2022 @ 5:54am 
Thanks for the kind words :)
I see Jector has already gone into detail with some of the technicalities.
Just some additions:
The size of the terrain can also be adjusted when creating a new blank map from the map menu. And when you create a new map the terrain is perfectly flat.
i appreciate the effort to explain the way things work. I also had no idea creating a new map gives you flat terrain.

I agree that having props and terrain as separate entities makes sense, but I also think there's hidden potential here to allow more options for players.

For example, an option to anchor props to terrain points so that their position adjusts as the terrain shifts. Another cool feature would be to be able to "enable physics" on props, making it so that props would always fall onto terrain and would move according to the laws of physics when the terrain they're lying on changes.

I realise the 2nd idea would be hard to implement without it feeling janky since there's so many props and each one should behave differently according to size and material components, but I'm just saying it'd be cool to have that option, even if all the props' physicality worked the same way and felt a bit janky.

One other question: What are the maximum map size limits? How is the limit determined? And wouild it be possible to have, let's say, triggers that place a character on a different map when they reach certain points on the current map? I'm thinking stuff like, making a big city on 16 maps and whenever a character moves outside of map boundaries, they are automatically placed on a specific point on a different map? That way you could make larger areas and avoid making a single map that would be resource-intensive.
Oct 8, 2022 @ 2:42am 
I totally get that. There are some technical challenges involved in both of these systems..
as terrain sculpting isn't a simple up and down, moving items as the terrain is sculpted is very tricky.
Having physics on props is actually easier to achieve, I could add an "auto drop" feature which will pull the prop down and rotate it according physical colliders and gravity?

Regarding the map size - there is no set limit however, the larger the map, the longer it will take to load & network. I've seen maps run up to about 300x10x300 but these usually require beefier machines to run. MY pc will comfortable play 120x10x120 (I'm on a 1070ti).
I'm also currently working on "terrain-less" maps. ran fine in testing at a size of 10,000 x 10,000.Although there will need to be some additional optimisations done before you can densely populate that kind of size with props.

Unfortunately the ability to have players automatically move to different maps is not available in game. I'm also not sure it will be added as the design is for the GM to maintain full control of where each player is. If your players individually hopped onto different maps as you were playing, it would be very challenging to keep control of the story & interact with all of them.
Originally posted by Pyrophase:
moving items as the terrain is sculpted is very tricky.
Such a feature should never be mandatory, but an option instead.
personally I like editing terrain a bit so some props will be partially covered by terrain.
I'm no programmer so I wouldn't know the difficulties and limitations of implementing any of these systems, but here's how I figured anchoring props to terrain would work:

You choose a prop or props and pick a point on the terrain. The point on the terrain has coordinates and when you anchor any number of props to that point, the distance and relative position of the props to the point are locked and cannot change. When the position of the terrain point props are anchored to changes, the props' position changes to maintain the original distance and relative position between the point and the props.

For physics, I could see two options that could be of use:
1) enable/disable collision (so you could force props to not be able to clip into anything if you wanted to)
2) enable/disable physics (so props would fall down onto terrain or slide on angled terrain)

With regards to maps which are linked to one another, I wasn't suggesting agency be taken away from the DM. What I had in mind is more of a feature that would help DMs organize their maps. If you had a big area that you split up into smaller maps, it might be hard to keep track of which map you're supposed to open so it would be useful if when characters move to specific spots on the map or outside of the map, the DM could "link" those spots with other spots on different maps so that they could easily switch to the appropriate map without having to keep track of which map they are supposed to open and where they are supposed to put the characters.
Oct 8, 2022 @ 9:58am 
The terrain system isn't a static mesh. as the terrain is sculpted it generates and overrides the old mesh (this allows for sculpting of overhangs but removes the ability to lock the props to a "point".

Enabling physics will be looked into - Although getting the network syncing right is going to be tricky.

Ah - in regards to map-management, I have a pretty niffy idea (a 2D global map with icons you can press to load the 3D scenarios). I haven't had time to start looking at this yet though
Originally posted by Pyrophase:
The terrain system isn't a static mesh. as the terrain is sculpted it generates and overrides the old mesh (this allows for sculpting of overhangs but removes the ability to lock the props to a "point".

Well, when I think about it, being able to enable/disable collision would be enough to achieve what I had in mind. Being able to enable collision would allow for quick terrain changes without having to reposition all the props afterwards and that's all I wanted.



Originally posted by Pyrophase:
Ah - in regards to map-management, I have a pretty niffy idea (a 2D global map with icons you can press to load the 3D scenarios). I haven't had time to start looking at this yet though
Sounds like a fantastic idea! I would appreciate any and all ways of organising maps. It doesn't even have to be a visual representation, as long as you can organise the maps into groups or folders or sth like that.

For exaample, let's say I have a Woods map which is in the centre of the woods. I'd like to be able to organize the maps so that Woods_center is grouped together with the other maps that make up the Woods area like Woods_north, Woods_east, etc. Of course, if I had a visual representation of how the individual maps connect, that'd be even more awesome but it wouldn't be absolutely necessary as long as there are other ways of organizing and grouping maps.
Oct 8, 2022 @ 1:22pm 
An alternative to the visual map would be a folder sorting system (Similar to the player sheets on the beta branch).
You'd be able to organise your maps into folders for easy navigation.

those are the two ideas I'm toying with
< >
Showing 1-9 of 9 comments
Per page: 1530 50