Files
i-mic-fps/maps/test_map.json

201 lines
3.2 KiB
JSON

{
"metadata": {
"name":"Testing Map",
"gamemode":"C&C",
"authors":["Cyberarm"],
"datetime":"2019-09-25 13:54:34 UTC",
"thumbnail":"",
"description":"A map for testing the map specification."
},
"terrain":{
"package":"base",
"name":"river_terrain",
"water_level":null
},
"skydome":{
"package":"base",
"name":"skydome",
"scale":0.08
},
"lights":[
{
"type":"directional",
"intensity": 1,
"position": {
"x":30,
"y":10,
"z":30
},
"diffuse": {
"red":1,
"green":1,
"blue":1
},
"ambient": {
"red":0.5,
"green":0.5,
"blue":0.5
},
"specular": {
"red":0.2,
"green":0.2,
"blue":0.2
}
},
{
"type":"directional",
"intensity": 1,
"position": {
"x":0,
"y":100,
"z":0
},
"diffuse": {
"red":1,
"green":0.5,
"blue":0.1
},
"ambient": {
"red":0.5,
"green":0.5,
"blue":0.5
},
"specular": {
"red":0.2,
"green":0.2,
"blue":0.2
}
}
],
"entities":[
{
"package":"base",
"name":"evergreen_tree",
"position": {
"x":0,
"y":0.6,
"z":0
},
"orientation": {
"x": 0,
"y": 0,
"z": 0
},
"scale": 1.0,
"scripts": []
},
{
"package":"base",
"name":"tree",
"position": {
"x":16.7,
"y":1.1,
"z":-7.27
},
"orientation": {
"x": 0,
"y": 37.0,
"z": 0
},
"scale": 0.9,
"scripts": []
},
{
"package":"base",
"name":"tree",
"position": {
"x":-21.2121,
"y":0.06,
"z":6.06061
},
"orientation": {
"x": 0,
"y": 64.0,
"z": 0
},
"scale": 0.25,
"scripts": []
},
{
"package":"base",
"name":"power_plant",
"position": {
"x":37.8788,
"y":0.343869,
"z":-6.06061
},
"orientation": {
"x": 0,
"y": 0,
"z": 0
},
"scale": 1,
"scripts": []
},
{
"package":"base",
"name":"war_factory",
"position": {
"x":39.3939,
"y":0.499657,
"z":9.69697
},
"orientation": {
"x": 0,
"y": 0,
"z": 0
},
"scale": 1,
"scripts": []
},
{
"package":"base",
"name":"alternate_tank",
"position": {
"x":37.3939,
"y":0.799657,
"z":20.69697
},
"orientation": {
"x": 0,
"y": 0,
"z": 0
},
"scale": 1.0,
"scripts": []
}
],
"spawnpoints": [
{
"team":0,
"position": {
"x": 37.8788,
"y": 0.343869,
"z": -2.06061
},
"orientation": {
"x": 0,
"y": 180,
"z": 0
}
},
{
"team":1,
"position": {
"x": 39.3939,
"y": 0.799657,
"z": 17.69697
},
"orientation": {
"x": 0,
"y": 0,
"z": 0
}
}
]
}