Skip to content

Commit

Permalink
CanisterSpawns format. Is non functional and was used in Old Salvage.
Browse files Browse the repository at this point in the history
  • Loading branch information
RainlessSky committed Dec 17, 2024
1 parent 89129e2 commit cf4fc32
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default defineConfig({
{ text: 'Environment', link: '/json/environment.md' },
{ text: 'Game modes', link: '/json/gamemodes.md', collapsed: true, items: [
{ text: 'ArenaForcefieldAltitude', link: '/json/gamemodes/arenaforcefieldaltitude.md' },
{ text: 'CanisterSpawns', link: '/json/gamemodes/canisterspawns.md' },
{ text: 'Control Shift settings', link: '/json/gamemodes/control_shift_settings.md' },
{ text: 'FFAPlayerSpawns', link: '/json/gamemodes/ffaplayerspawns.md' },
{ text: 'FlagSpawns', link: '/json/gamemodes/flagspawns.md' },
Expand Down
54 changes: 54 additions & 0 deletions docs/json/gamemodes/canisterspawns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
title: CanisterSpawns
prev: false
next: false
---

# CanisterSpawns
This would determine where canister locations in Old Salvage are. This no longer does anything, but is still a valid field.

The following setup is from one of Padre's old maps.
```json
"CanisterSpawns": [
[
{
"Name": "Center", // Optional
"Type": "box", // Probably only Box
"Min": [ 162, 66, 131 ],
"Max": [ 162, 66, 131 ],
}
],
[
{
"Name": "Center2",
"Type": "box",
"Min": [ 176, 27, 126 ],
"Max": [ 176, 28, 126 ],
}
],
[
{
"Name": "Corner",
"Type": "box",
"Min": [ 222, 27, 19 ],
"Max": [ 222, 29, 19 ],
}
],
[
{
"Name": "Corner2",
"Type": "box",
"Min": [ 24, 28, 219 ],
"Max": [ 24, 30, 219 ],
}
],
[
{
"Name": "Corner3",
"Type": "box",
"Min": [ 25, 25, 69 ],
"Max": [ 25, 27, 69 ],
}
]
],
```

0 comments on commit cf4fc32

Please sign in to comment.