-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement: made item spawn points easier to define and added the ab…
…ility to specify item spawn rates in .env
1 parent
7651d78
commit 600a6fd
Showing
7 changed files
with
166 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
{ | ||
"name": "deathmatch_1", | ||
"respawnPoints": [ | ||
{ | ||
"position": {"x": 5, "y": 2, "z": 0}, | ||
"quaternion": {"x": 0, "y": 0.92, "z": 0, "w": 0.37} | ||
} | ||
], | ||
"itemRespawnPoints": [ | ||
|
||
{ | ||
"position": {"x": -1, "y": 0.25, "z": -6}, | ||
"itemId": 2 | ||
}, | ||
{ | ||
"position": {"x": 10, "y": 0.25, "z": 0}, | ||
"itemId": 1 | ||
} | ||
|
||
] | ||
} | ||
"name": "deathmatch_1", | ||
"respawnPoints": [ | ||
{ | ||
"position": { "x": 5, "y": 2, "z": 0 }, | ||
"quaternion": { "x": 0, "y": 0.92, "z": 0, "w": 0.37 } | ||
} | ||
], | ||
"itemRespawnPoints": [ | ||
{ | ||
"position": { "x": -1, "y": 0.25, "z": -6 }, | ||
"itemIds": [2] | ||
}, | ||
{ | ||
"position": { "x": 10, "y": 0.25, "z": 0 }, | ||
"itemIds": [1] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,87 @@ | ||
{ | ||
"name": "deathmatch_1", | ||
"respawnPoints": [ | ||
{ | ||
"position": {"x": 22.5, "y": 0.5, "z": -9}, | ||
"quaternion": {"x": 0, "y": 0.92, "z": 0, "w": 0.37} | ||
}, | ||
{ | ||
"position": {"x": 2.6, "y": 0.5, "z": -17.4}, | ||
"quaternion": {"x": 0, "y": -0.95, "z": 0, "w": 0.33} | ||
}, | ||
{ | ||
"position": {"x": -22.42, "y": 0.5, "z": -8.35}, | ||
"quaternion": {"x": 0, "y": -0.91, "z": 0, "w": 0.41} | ||
}, | ||
{ | ||
"position": {"x": -6, "y": 0.5, "z": -10.4}, | ||
"quaternion": {"x": 0, "y": -0.92, "z": 0, "w": 0.4} | ||
}, | ||
{ | ||
"position": {"x": -0.38, "y": 5.5, "z": 18.45}, | ||
"quaternion": {"x": 0, "y": 0, "z": 0, "w": 1} | ||
}, | ||
{ | ||
"position": {"x": 5.75, "y": 0.5, "z": -9.75}, | ||
"quaternion": {"x": 0, "y": 0.94, "z": 0, "w": 0.32} | ||
}, | ||
{ | ||
"position": {"x": -5.88, "y": 5.5, "z": 9.1}, | ||
"quaternion": {"x": 0, "y": -0.22, "z": 0, "w": 0.96} | ||
}, | ||
{ | ||
"position": {"x": 33.1, "y": 0.5, "z": -0.22}, | ||
"quaternion": {"x": 0, "y": 0.73, "z": 0, "w": 0.67} | ||
}, | ||
{ | ||
"position": {"x": 20, "y": 0.5, "z": 17}, | ||
"quaternion": {"x": 0, "y": 0.43, "z": 0, "w": 0.89} | ||
} | ||
], | ||
"itemRespawnPoints": [ | ||
{ | ||
"position": {"x": 0, "y": 0.25, "z": 3}, | ||
"itemId": 1 | ||
}, | ||
{ | ||
"position": {"x": -29, "y": 0.25, "z": 0}, | ||
"itemId": 1 | ||
}, | ||
{ | ||
"position": {"x": -0.5, "y": 5.25, "z": 8.4}, | ||
"itemId": 1 | ||
}, | ||
{ | ||
"position": {"x": -10.3, "y": 2.75, "z": 17.65}, | ||
"itemId": 1 | ||
}, | ||
{ | ||
"position": {"x": 25, "y": 0.25, "z": 18}, | ||
"itemId": 1 | ||
}, | ||
{ | ||
"position": {"x": 14.67, "y": 0.82, "z": 0.7}, | ||
"itemId": 1 | ||
}, | ||
{ | ||
"position": {"x": 36.5, "y": 0.25, "z": -18.3}, | ||
"itemId": 2 | ||
}, | ||
{ | ||
"position": {"x": 19, "y": 0.25, "z": -11}, | ||
"itemId": 2 | ||
}, | ||
{ | ||
"position": {"x": -14, "y": 0.25, "z": 9.5}, | ||
"itemId": 2 | ||
}, | ||
{ | ||
"position": {"x": 18, "y": 0.25, "z": 0}, | ||
"itemId": 2 | ||
}, | ||
{ | ||
"position": {"x": -1, "y": 0.25, "z": -6}, | ||
"itemId": 2 | ||
} | ||
|
||
] | ||
} | ||
"name": "deathmatch_1", | ||
"respawnPoints": [ | ||
{ | ||
"position": { "x": 22.5, "y": 0.5, "z": -9 }, | ||
"quaternion": { "x": 0, "y": 0.92, "z": 0, "w": 0.37 } | ||
}, | ||
{ | ||
"position": { "x": 2.6, "y": 0.5, "z": -17.4 }, | ||
"quaternion": { "x": 0, "y": -0.95, "z": 0, "w": 0.33 } | ||
}, | ||
{ | ||
"position": { "x": -22.42, "y": 0.5, "z": -8.35 }, | ||
"quaternion": { "x": 0, "y": -0.91, "z": 0, "w": 0.41 } | ||
}, | ||
{ | ||
"position": { "x": -6, "y": 0.5, "z": -10.4 }, | ||
"quaternion": { "x": 0, "y": -0.92, "z": 0, "w": 0.4 } | ||
}, | ||
{ | ||
"position": { "x": -0.38, "y": 5.5, "z": 18.45 }, | ||
"quaternion": { "x": 0, "y": 0, "z": 0, "w": 1 } | ||
}, | ||
{ | ||
"position": { "x": 5.75, "y": 0.5, "z": -9.75 }, | ||
"quaternion": { "x": 0, "y": 0.94, "z": 0, "w": 0.32 } | ||
}, | ||
{ | ||
"position": { "x": -5.88, "y": 5.5, "z": 9.1 }, | ||
"quaternion": { "x": 0, "y": -0.22, "z": 0, "w": 0.96 } | ||
}, | ||
{ | ||
"position": { "x": 33.1, "y": 0.5, "z": -0.22 }, | ||
"quaternion": { "x": 0, "y": 0.73, "z": 0, "w": 0.67 } | ||
}, | ||
{ | ||
"position": { "x": 20, "y": 0.5, "z": 17 }, | ||
"quaternion": { "x": 0, "y": 0.43, "z": 0, "w": 0.89 } | ||
} | ||
], | ||
"itemRespawnPoints": [ | ||
{ | ||
"position": { "x": 0, "y": 0.25, "z": 3 }, | ||
"itemIds": [1] | ||
}, | ||
{ | ||
"position": { "x": -29, "y": 0.25, "z": 0 }, | ||
"itemIds": [1] | ||
}, | ||
{ | ||
"position": { "x": -0.5, "y": 5.25, "z": 8.4 }, | ||
"itemIds": [1] | ||
}, | ||
{ | ||
"position": { "x": -10.3, "y": 2.75, "z": 17.65 }, | ||
"itemIds": [1] | ||
}, | ||
{ | ||
"position": { "x": 25, "y": 0.25, "z": 18 }, | ||
"itemIds": [1] | ||
}, | ||
{ | ||
"position": { "x": 14.67, "y": 0.82, "z": 0.7 }, | ||
"itemIds": [1] | ||
}, | ||
{ | ||
"position": { "x": 36.5, "y": 0.25, "z": -18.3 }, | ||
"itemIds": [2] | ||
}, | ||
{ | ||
"position": { "x": 19, "y": 0.25, "z": -11 }, | ||
"itemIds": [2] | ||
}, | ||
{ | ||
"position": { "x": -14, "y": 0.25, "z": 9.5 }, | ||
"itemIds": [2] | ||
}, | ||
{ | ||
"position": { "x": 18, "y": 0.25, "z": 0 }, | ||
"itemIds": [2] | ||
}, | ||
{ | ||
"position": { "x": -1, "y": 0.25, "z": -6 }, | ||
"itemIds": [2] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters