Here's my brush, a 256x256x256 cube centred on the origin of the grid. Hammer poops out that annoying invalid brush message
and deletes it, so obviously something is wrong, but what?
According to the wiki documentation here https://developer.valvesoftware.com/wiki/VMF_documentation what I've got is 100% legit, but fails.
Here's a fully working brush from hammer:
and deletes it, so obviously something is wrong, but what?
According to the wiki documentation here https://developer.valvesoftware.com/wiki/VMF_documentation what I've got is 100% legit, but fails.
Code:
versioninfo
{
"editorversion" "400"
"editorbuild" "5479"
"mapversion" "1"
"formatversion" "100"
"prefab" "0"
}
visgroups
{
}
viewsettings
{
"bSnapToGrid" "1"
"bShowGrid" "1"
"bShowLogicalGrid" "0"
"nGridSpacing" "256"
"bShow3DGrid" "0"
}
world
{
"id" "1"
"mapversion" "1"
"classname" "worldspawn"
"skyname" "sky_tf2_04"
"maxpropscreenwidth" "-1"
"detailvbsp" "detail_2fort.vbsp"
"detailmaterial"
"detail/detailsprites_2fort"
solid
{
"id" "1"
side
{
"id" "1"
"plane" "(0 0 128) (-128 0 128) (0 -128 128)"
"material" "DEV/DEV_SLIME"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[1 0 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2"
"plane" "(0 0 -128) (128 0 -128) (0 -128 -128)"
"material" "DEV/DEV_SLIME"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[1 0 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "3"
"plane" "(0 -128 0) (0 -128 128) (-128 -128 0)"
"material" "DEV/DEV_SLIME"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[1 0 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "4"
"plane" "(0 128 0) (0 128 -128) (-128 128 0)"
"material" "DEV/DEV_SLIME"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[1 0 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "5"
"plane" "(128 0 0) (128 0 128) (128 -128 0)"
"material" "DEV/DEV_SLIME"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[1 0 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "6"
"plane" "(-128 0 0) (-128 0 -128) (-128 -128 0)"
"material" "DEV/DEV_SLIME"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[1 0 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
editor
{
"color" "0 210 187"
"visgroupshown" "1"
"visgroupautoshown" "1"
}
}
}
cameras
{
"activecamera" "-1"
}
cordon
{
"mins" "(-1024 -1024 -1024)"
"maxs" "(1024 1024 1024)"
"active" "0"
}
Here's a fully working brush from hammer:
Code:
versioninfo
{
"editorversion" "400"
"editorbuild" "5479"
"mapversion" "1"
"formatversion" "100"
"prefab" "0"
}
visgroups
{
}
viewsettings
{
"bSnapToGrid" "1"
"bShowGrid" "1"
"bShowLogicalGrid" "0"
"nGridSpacing" "64"
"bShow3DGrid" "0"
}
world
{
"id" "1"
"mapversion" "1"
"classname" "worldspawn"
"skyname" "sky_tf2_04"
"maxpropscreenwidth" "-1"
"detailvbsp" "detail_2fort.vbsp"
"detailmaterial" "detail/detailsprites_2fort"
solid
{
"id" "2"
side
{
"id" "1"
"plane" "(-128 128 128) (128 128 128) (128 -128 128)"
"material" "DEV/DEV_STONEWALL001A"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2"
"plane" "(-128 -128 -128) (128 -128 -128) (128 128 -128)"
"material" "DEV/DEV_STONEWALL001A"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "3"
"plane" "(-128 128 128) (-128 -128 128) (-128 -128 -128)"
"material" "DEV/DEV_STONEWALL001A"
"uaxis" "[0 1 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "4"
"plane" "(128 128 -128) (128 -128 -128) (128 -128 128)"
"material" "DEV/DEV_STONEWALL001A"
"uaxis" "[0 1 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "5"
"plane" "(128 128 128) (-128 128 128) (-128 128 -128)"
"material" "DEV/DEV_STONEWALL001A"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "6"
"plane" "(128 -128 -128) (-128 -128 -128) (-128 -128 128)"
"material" "DEV/DEV_STONEWALL001A"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
editor
{
"color" "0 244 129"
"visgroupshown" "1"
"visgroupautoshown" "1"
}
}
}
cameras
{
"activecamera" "-1"
}
cordon
{
"mins" "(-1024 -1024 -1024)"
"maxs" "(1024 1024 1024)"
"active" "0"
}