If you'd like you might want to modify the colors used but I think this would be a great addition to one of your mod's (and I'm not just saying that because I scipted it
).
With these scripts you can create a cave without onlining it and 2 types of entrances (south of the mountain and east of it). What it does is create the static floors for you under the mountain and the cave entrance so there's only a few tiles you'll need to fix to make it look right in game (where the entrance meets the cave under mountain) though it is walkable there the cave tiles look off.
The way to use it, is to use the mountain color that I assigned for mountain with cave (might want to change it) in the area where you want the cave and make it touch with the entrance color. I only set one color for cave entrance east and one for south at 30 height and one for the cave mountain at 45 height. As long as you make the cave entrance atleast 3 tiles wide and 2 high it'll look good.
I don't have a place to host them so I'll span them throughout a few posts. If you have any questions about it or need any help so you can integrate it with you mod post here.
For files I modified I'll just be posting the changes. The files
cave4mountain.txt, cavefloorE.txt, cavefloorS.txt go in statics2 folder,
caveentranceE.txt, caveentranceS.txt go in map2 folder.
MapTrans.txt
Code:
// ****************************
// 19 = Cave Entrance E
// ****************************
ca 19 030 01d4 01d6 01d8 01da 01db
// ****************************
// 20 = Cave Mountain
// ****************************
c0 20 045 022c 022d 022e 022f
// ****************************
// 21 = Cave Entrance S
// ****************************
cc 21 030 01d4 01d6 01d8 01da 01db
groups.txtCode:
//*****************************
//19 = Cave Entrance E
//*****************************
ca 19
//*****************************
//20 = Cave Mountain
//*****************************
c0 20
//*****************************
//21 = Cave Entrance S
//*****************************
cc 21
betweentrans2.txtCode:
19 caveentranceE.txt
21 caveentranceS.txt
statbetweentrans2.txtCode:
19 cavefloorE.txt
21 cavefloorS.txt
20 cave4mountain.txt
caveentranceE.txtCode:
AAAAAAAA 01db 000 000
BBBAAABB 01d3 000 000
BAAAAABB 01da 000 000
BAAABBBB 01d9 000 000
BBBAAAAA 01d4 000 000
BBBBBAAA 01d4 000 000
AABBBAAA 01db 000 000
AABBBBBA 01d8 000 000
AAAABBBA 01d8 000 000
BAAAAABB 01da 000 000
caveentranceS.txtCode:
AAAAAAAA 01db 000 000
BBBAAAAA 01d4 000 000
BBBBBAAA 01d5 000 000
AABBBAAA 01d6 000 000
AAAABBBA 01db 000 000
BBBAAABB 01d3 000 000
BAAAAABB 01da 000 000
BAAABBBB 01da 000 000
AABBBBBA 01d6 000 000
BAAAAABB 01da 000 000