diff --git a/CEON/gotgPortal.js b/CEON/gotgPortal.js index d2f3a40a..e2898367 100644 --- a/CEON/gotgPortal.js +++ b/CEON/gotgPortal.js @@ -16,9 +16,21 @@ //################################# PORTAL LIST ############################################################# - var portals = [ + + var portals; + if (location.protocol === "hifi") { + portals = Script.require("./portals_domain.json"); + } else { + portals = Script.require("./portals_serverless.json"); + } + for (i = 0; i < portals.length; i++) { + portals[i].id = Uuid.NULL; + portals[i].zoneID = Uuid.NULL; + } + /*var portals = [ {"name": "SANCTUARY", "id": Uuid.NULL, "zoneID": Uuid.NULL, "localPosition": {"x": 906.3857421875,"y": 205.67919921875,"z":-200.65283203125}} ]; + */ //########################################################################################################### diff --git a/CEON/inertia.json b/CEON/inertia.json index 9cfc7dc6..82c6e923 100644 --- a/CEON/inertia.json +++ b/CEON/inertia.json @@ -1,7 +1,8 @@ { "DataVersion":3, "Paths":{ - "\/":"\/4016.94,3982.18,3980.38\/0,0.724424,0,0.689354" + "\/":"\/4016.94,3982.18,3980.38\/0,0.724424,0,0.689354", + "SANCTUARY":"\/906.3857, 205.679,-200.65283\/0,0.724424,0,0.689354" }, "Entities":[ { diff --git a/CEON/portals_domain.json b/CEON/portals_domain.json new file mode 100644 index 00000000..59eb2837 --- /dev/null +++ b/CEON/portals_domain.json @@ -0,0 +1,6 @@ +[ + { + "name": "SANCTUARY", + "localPosition": {"x": 906.3857421875,"y": 205.67919921875,"z":-200.65283203125} + } +] diff --git a/CEON/portals_serverless.json b/CEON/portals_serverless.json new file mode 100644 index 00000000..59eb2837 --- /dev/null +++ b/CEON/portals_serverless.json @@ -0,0 +1,6 @@ +[ + { + "name": "SANCTUARY", + "localPosition": {"x": 906.3857421875,"y": 205.67919921875,"z":-200.65283203125} + } +]