Zak
Resident xenophile
- Joined
- Apr 26, 2016
- Messages
- 5,887
- Nebulae
- 16,124
Well, bsp data is stored in vmf files like thisas much as i would fucking love to have a vmf loader and editor in game, I think that's a bit out of my skill range. Especially the loader, as I'd have to decode the files into something lua can interpret...
Code:
solid
{
"id" "1857"
side
{
"id" "3185"
"plane" "(1280 4608 800) (1280 5120 800) (2048 5120 800)"
"material" "TOOLS/TOOLSNODRAW"
"uaxis" "[1 0 0 0] 0.5"
"vaxis" "[0 -1 0 9] 0.5"
"rotation" "0"
"lightmapscale" "64"
"smoothing_groups" "0"
}
side
{
"id" "3186"
"plane" "(1280 5120 520) (1280 4608 520) (2048 4608 520)"
"material" "CONCRETE/CONCRETECEILING004A"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 45] 0.25"
"rotation" "0"
"lightmapscale" "64"
"smoothing_groups" "0"
}
side
{
"id" "3187"
"plane" "(1280 4608 520) (1280 5120 520) (1280 5120 800)"
"material" "METAL/METALHULL003A"
"uaxis" "[0 1 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "64"
"smoothing_groups" "0"
}
side
{
"id" "3188"
"plane" "(2048 5120 520) (2048 4608 520) (2048 4608 800)"
"material" "METAL/METALWALL025A"
"uaxis" "[0 1 0 0] 1"
"vaxis" "[0 0 -1 288] 1"
"rotation" "0"
"lightmapscale" "64"
"smoothing_groups" "0"
}
side
{
"id" "3189"
"plane" "(1280 5120 520) (2048 5120 520) (2048 5120 800)"
"material" "METAL/METALHULL003A"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "64"
"smoothing_groups" "0"
}
side
{
"id" "3190"
"plane" "(2048 4608 520) (1280 4608 520) (1280 4608 800)"
"material" "METAL/METALWALL025A"
"uaxis" "[1 0 0 0] 1"
"vaxis" "[0 0 -1 288] 1"
"rotation" "0"
"lightmapscale" "64"
"smoothing_groups" "0"
}
editor
{
"color" "0 178 171"
"visgroupshown" "1"
"visgroupautoshown" "1"
}
}
Reactions:
List