Advertisement
snake5

new level file format

Feb 17th, 2016
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.42 KB | None | 0 0
  1. {
  2.     version = 9,
  3.     lighting = {
  4.         ambientColor = {
  5.             x = 0,
  6.             y = 0,
  7.             z = 0.1
  8.         },
  9.         dirLightDir = {
  10.             x = 0,
  11.             y = 0
  12.         },
  13.         dirLightColor = {
  14.             x = 0,
  15.             y = 0,
  16.             z = 0
  17.         },
  18.         dirLightDvg = 10,
  19.         dirLightNumSamples = 15,
  20.         lightmapClearColor = {
  21.             x = 0,
  22.             y = 0,
  23.             z = 0
  24.         },
  25.         lightmapDetail = 1,
  26.         lightmapBlurSize = 1,
  27.         aoDist = 2,
  28.         aoMult = 1,
  29.         aoFalloff = 2,
  30.         aoEffect = 0,
  31.         aoColor = {
  32.             x = 0,
  33.             y = 0,
  34.             z = 0
  35.         },
  36.         aoNumSamples = 15,
  37.         sampleDensity = 1
  38.     },
  39.     objects = [
  40.         {
  41.             solid_id = 1,
  42.             group = 0,
  43.             position = {
  44.                 x = 0,
  45.                 y = 0,
  46.                 z = 0
  47.             },
  48.             z0 = 0,
  49.             z1 = 2,
  50.             surfaces = [
  51.                 {
  52.                     surface_id = 1,
  53.                     texture = "null",
  54.                     texgenmode = 0,
  55.                     xoff = 0,
  56.                     yoff = 0,
  57.                     scale = 1,
  58.                     aspect = 1,
  59.                     angle = 0,
  60.                     lmquality = 1,
  61.                     xfit = 0,
  62.                     yfit = 0
  63.                 },
  64.                 {
  65.                     surface_id = 2,
  66.                     texture = "null",
  67.                     texgenmode = 0,
  68.                     xoff = 0,
  69.                     yoff = 0,
  70.                     scale = 1,
  71.                     aspect = 1,
  72.                     angle = 0,
  73.                     lmquality = 1,
  74.                     xfit = 0,
  75.                     yfit = 0
  76.                 },
  77.                 {
  78.                     surface_id = 3,
  79.                     texture = "null",
  80.                     texgenmode = 0,
  81.                     xoff = 0,
  82.                     yoff = 0,
  83.                     scale = 1,
  84.                     aspect = 1,
  85.                     angle = 0,
  86.                     lmquality = 1,
  87.                     xfit = 0,
  88.                     yfit = 0
  89.                 },
  90.                 {
  91.                     surface_id = 4,
  92.                     texture = "null",
  93.                     texgenmode = 0,
  94.                     xoff = 0,
  95.                     yoff = 0,
  96.                     scale = 1,
  97.                     aspect = 1,
  98.                     angle = 0,
  99.                     lmquality = 1,
  100.                     xfit = 0,
  101.                     yfit = 0
  102.                 },
  103.                 {
  104.                     surface_id = 5,
  105.                     texture = "null",
  106.                     texgenmode = 0,
  107.                     xoff = 0,
  108.                     yoff = 0,
  109.                     scale = 1,
  110.                     aspect = 1,
  111.                     angle = 0,
  112.                     lmquality = 1,
  113.                     xfit = 0,
  114.                     yfit = 0
  115.                 },
  116.                 {
  117.                     surface_id = 6,
  118.                     texture = "null",
  119.                     texgenmode = 0,
  120.                     xoff = 0,
  121.                     yoff = 0,
  122.                     scale = 1,
  123.                     aspect = 1,
  124.                     angle = 0,
  125.                     lmquality = 1,
  126.                     xfit = 0,
  127.                     yfit = 0
  128.                 }
  129.             ],
  130.             type = 1
  131.         },
  132.         {
  133.             solid_id = 2,
  134.             group = 0,
  135.             position = {
  136.                 x = 0.1,
  137.                 y = 1,
  138.                 z = 0.5
  139.             },
  140.             z0 = 0,
  141.             z1 = 1,
  142.             surfaces = [
  143.                 {
  144.                     surface_id = 7,
  145.                     texture = "null",
  146.                     texgenmode = 0,
  147.                     xoff = 0,
  148.                     yoff = 0,
  149.                     scale = 1,
  150.                     aspect = 1,
  151.                     angle = 0,
  152.                     lmquality = 1,
  153.                     xfit = 0,
  154.                     yfit = 0
  155.                 },
  156.                 {
  157.                     surface_id = 8,
  158.                     texture = "null",
  159.                     texgenmode = 0,
  160.                     xoff = 0,
  161.                     yoff = 0,
  162.                     scale = 1,
  163.                     aspect = 1,
  164.                     angle = 0,
  165.                     lmquality = 1,
  166.                     xfit = 0,
  167.                     yfit = 0
  168.                 },
  169.                 {
  170.                     surface_id = 9,
  171.                     texture = "null",
  172.                     texgenmode = 0,
  173.                     xoff = 0,
  174.                     yoff = 0,
  175.                     scale = 1,
  176.                     aspect = 1,
  177.                     angle = 0,
  178.                     lmquality = 1,
  179.                     xfit = 0,
  180.                     yfit = 0
  181.                 },
  182.                 {
  183.                     surface_id = 10,
  184.                     texture = "null",
  185.                     texgenmode = 0,
  186.                     xoff = 0,
  187.                     yoff = 0,
  188.                     scale = 1,
  189.                     aspect = 1,
  190.                     angle = 0,
  191.                     lmquality = 1,
  192.                     xfit = 0,
  193.                     yfit = 0
  194.                 },
  195.                 {
  196.                     surface_id = 11,
  197.                     texture = "null",
  198.                     texgenmode = 0,
  199.                     xoff = 0,
  200.                     yoff = 0,
  201.                     scale = 1,
  202.                     aspect = 1,
  203.                     angle = 0,
  204.                     lmquality = 1,
  205.                     xfit = 0,
  206.                     yfit = 0
  207.                 },
  208.                 {
  209.                     surface_id = 12,
  210.                     texture = "null",
  211.                     texgenmode = 0,
  212.                     xoff = 0,
  213.                     yoff = 0,
  214.                     scale = 1,
  215.                     aspect = 1,
  216.                     angle = 0,
  217.                     lmquality = 1,
  218.                     xfit = 0,
  219.                     yfit = 0
  220.                 }
  221.             ],
  222.             type = 1
  223.         }
  224.     ]
  225. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement