Skip to content

Instantly share code, notes, and snippets.

@nemzyx
Created January 12, 2023 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nemzyx/f3666709155a22778b17121a14dfc210 to your computer and use it in GitHub Desktop.
Save nemzyx/f3666709155a22778b17121a14dfc210 to your computer and use it in GitHub Desktop.
AI attempts to create a counter-strike: source map
// This is a comment in a VMF file
versioninfo
{
"editorversion" "400"
"editorbuild" "7153"
"mapversion" "1"
"formatversion" "100"
"prefab" "0"
}
visgroups
{
"current" "0"
visgroup
{
"name" "Default"
"visgroupid" "0"
"color" "255 255 255"
"visgroupid" "-1"
}
}
world
{
"id" "1"
"mapversion" "1"
"classname" "worldspawn"
"skyname" "sky_day01_05"
"maxpropscreenwidth" "-1"
"detailvbsp" "detail.vbsp"
"detailmaterial" "detail/detailsprites"
"fogcolor" "128 128 128"
"fogstart" "0"
"fogend" "1"
"fogmaxdensity" "1"
solid
{
"id" "200"
"side"
{
"id" "3"
"plane" "(-512 -512 0) (-512 -512 256) (-512 512 0)"
"material" "TOOLS/TOOLSSKYBOX"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"lightmapscale" "16"
"smoothing_groups" "0"
}
"side"
{
"id" "4"
"plane" "(-512 512 0) (-512 512 256) (-512 -512 0)"
"material" "TOOLS/TOOLSSKYBOX"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"lightmapscale" "16"
"smoothing_groups" "0"
}
"side"
{
"id" "5"
"plane" "(-512 512 256) (-512 -512 256) (-512 512 0)"
"material" "TOOLS/TOOLSSKYBOX"
"uaxis" "[0 1 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"lightmapscale" "16"
"smoothing_groups" "0"
}
"side"
{
"id" "6"
"plane" "(512 512 0) (512 -512 0) (512 512 256)"
"material" "TOOLS/TOOLSSKYBOX"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"lightmapscale" "16"
"smoothing_groups" "0"
}
}
// Floor brush
solid
{
"id" "700"
"side"
{
"id" "8"
"plane" "(-256 -256 0) (256 -256 0) (-256 256 0)"
"material" "NATURAL/NATURALFLOOR006A"
"uaxis" "[1 0 0 0] 1"
"vaxis" "[0 1 0 0] 1"
"lightmapscale" "16"
"smoothing_groups" "0"
}
"side"
{
"id" "9"
"plane" "(256 -256 0) (256 256 0) (-256 256 0)"
"material" "NATURAL/NATURALFLOOR006A"
"uaxis" "[1 0 0 0] 1"
"vaxis" "[0 1 0 0] 1"
"lightmapscale" "16"
"smoothing_groups" "0"
}
}
// CT Spawn
entity
{
"id" "10"
"classname" "info_player_counterterrorist"
"origin" "-128 -128 64"
"angles" "0 0 0"
}
// T Spawn
entity
{
"id" "11"
"classname" "info_player_terrorist"
"origin" "128 128 64"
"angles" "0 0 0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment