This cave system would consist modeled segments with designated connection points placed in a 3d grid space, the diagrams I have made for this demonstration are in 2D however the concept would still work with the 3rd dimension added.
Segments
The system would contain a number of segments with variations designed to attach at various points, these segments would be designed so that they could be rotated / flipped and colours changed to add additional variation with less work (and system resources)
Below are just some examples of possible segments (green lines designate connection points)
Generating the Cave
To start the cave a cave entrance would be place at random on a plant surface, you could then sample some points around the selected location to determine the the general direction of the terrain, pick a suitable entrance and cut a hole into the surfaces heightmap
From the selected cave point you would then begin by construct a grid around the area, and making any areas that intersect with the terrain as invalid
From here you would begin constructing the cave from the connection points selecting segments at random (could have various probabilities attached to different segments) and checking if the segment can fit, and if not selecting a different segment (at a certain number of tries it would just terminate the end)
this would continue to go though to build out the rest of the cave until all the connection points terminate, some points may reach the surface where a another cave entrance may be suitable to place, otherwise it would just terminate
Possible Gameplay Additions
Several gameplay opportunities could be added with the addition of caves such as hand mining for rare valuable materials, and combat with underground pirate bases, or potential hostile alien life (or benign for the exobiologists)
Possible Gameplay Issues
There are a couple of possible gameplay issues that I can see with caves, 1. being stranded and unable to get out of a cave, and 2. running out of oxygen and unable to get back in time to restock if the cave gets too deep
1: Although commanders are equipped with jetpacks, they still may find it hard to navigate on high g worlds, or have suits with poor thruster energy such as the dominator suits, so a potential solution I can see is the addition of a grappling tool could be added to assist in any climbing issues
2: hand minable materials and on foot synthesis could be added so that you could mine or collect materials that can be used to recharge your suit
Final Notes
Anyway that's my proposal for a way to add caves to elite dangerous, please feel free to pick holes in it, add additional ideas to it, or post your own potential system
Segments
The system would contain a number of segments with variations designed to attach at various points, these segments would be designed so that they could be rotated / flipped and colours changed to add additional variation with less work (and system resources)
Below are just some examples of possible segments (green lines designate connection points)
Generating the Cave
To start the cave a cave entrance would be place at random on a plant surface, you could then sample some points around the selected location to determine the the general direction of the terrain, pick a suitable entrance and cut a hole into the surfaces heightmap
From the selected cave point you would then begin by construct a grid around the area, and making any areas that intersect with the terrain as invalid
From here you would begin constructing the cave from the connection points selecting segments at random (could have various probabilities attached to different segments) and checking if the segment can fit, and if not selecting a different segment (at a certain number of tries it would just terminate the end)
this would continue to go though to build out the rest of the cave until all the connection points terminate, some points may reach the surface where a another cave entrance may be suitable to place, otherwise it would just terminate
Possible Gameplay Additions
Several gameplay opportunities could be added with the addition of caves such as hand mining for rare valuable materials, and combat with underground pirate bases, or potential hostile alien life (or benign for the exobiologists)
Possible Gameplay Issues
There are a couple of possible gameplay issues that I can see with caves, 1. being stranded and unable to get out of a cave, and 2. running out of oxygen and unable to get back in time to restock if the cave gets too deep
1: Although commanders are equipped with jetpacks, they still may find it hard to navigate on high g worlds, or have suits with poor thruster energy such as the dominator suits, so a potential solution I can see is the addition of a grappling tool could be added to assist in any climbing issues
2: hand minable materials and on foot synthesis could be added so that you could mine or collect materials that can be used to recharge your suit
Final Notes
Anyway that's my proposal for a way to add caves to elite dangerous, please feel free to pick holes in it, add additional ideas to it, or post your own potential system