Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2015 13:06
Show Gist options
  • Save anonymous/b78d218dc5795b2f46ce to your computer and use it in GitHub Desktop.
Save anonymous/b78d218dc5795b2f46ce to your computer and use it in GitHub Desktop.
/*
tagus_fnc_getCarrierSpawnPositions
----------------------------------
Arguments:
None
Returns:
2D Array of 3D ASL positions relative to the Carrier's location
- The first element of the array is the array of Briefing Room spawn 3D ASL positions
- The second element of the array is the array of Briefing Room Supply Box 3D ASL positions
- The third element of the array is the array of Below Deck spawn 3D ASL positions
- The fourth element of the array is the array of Below Deck Supply Box 3D ASL positions
Notes:
For Briefing Room, I recommend setting the unit's direction to 180 + the Carrier's orientation.
For Below Deck, I recommend setting the unit's direction to 270 + the Carrier's orientation.
*/
[
//35 Briefing room PLAYER spawn positions
[
[10,-44,16],
[8,-44,16],
[6,-44,16],
[4,-44,16],
[2,-44,16],
[10,-42,16],
[8,-42,16],
[6,-42,16],
[4,-42,16],
[2,-42,16],
[10,-40,16],
[8,-40,16],
[6,-40,16],
[4,-40,16],
[2,-40,16],
[10,-38,16],
[8,-38,16],
[6,-38,16],
[4,-38,16],
[2,-38,16],
[10,-36,16],
[8,-36,16],
[6,-36,16],
[4,-36,16],
[2,-36,16],
[10,-34,16],
[8,-34,16],
[6,-34,16],
[4,-34,16],
[2,-34,16],
[10,-32,16],
[8,-32,16],
[6,-32,16],
[4,-32,16],
[2,-32,16]
],
[ //2 Briefing Room SUPPLY BOX spawn positions
[7,-48,16],
[3,-48,16]
],
//190 Below deck PLAYER spawn positions
[
[-10,-14,9.25],
[-8,-14,9.25],
[-6,-14,9.25],
[-4,-14,9.25],
[-2,-14,9.25],
[0,-14,9.25],
[2,-14,9.25],
[4,-14,9.25],
[6,-14,9.25],
[8,-14,9.25],
[-10,-16,9.25],
[-8,-16,9.25],
[-6,-16,9.25],
[-4,-16,9.25],
[-2,-16,9.25],
[0,-16,9.25],
[2,-16,9.25],
[4,-16,9.25],
[6,-16,9.25],
[8,-16,9.25],
[-10,-18,9.25],
[-8,-18,9.25],
[-6,-18,9.25],
[-4,-18,9.25],
[-2,-18,9.25],
[0,-18,9.25],
[2,-18,9.25],
[4,-18,9.25],
[6,-18,9.25],
[8,-18,9.25],
[-10,-20,9.25],
[-8,-20,9.25],
[-6,-20,9.25],
[-4,-20,9.25],
[-2,-20,9.25],
[0,-20,9.25],
[2,-20,9.25],
[4,-20,9.25],
[6,-20,9.25],
[8,-20,9.25],
[-10,-22,9.25],
[-8,-22,9.25],
[-6,-22,9.25],
[-4,-22,9.25],
[-2,-22,9.25],
[0,-22,9.25],
[2,-22,9.25],
[4,-22,9.25],
[6,-22,9.25],
[8,-22,9.25],
[-10,-24,9.25],
[-8,-24,9.25],
[-6,-24,9.25],
[-4,-24,9.25],
[-2,-24,9.25],
[0,-24,9.25],
[2,-24,9.25],
[4,-24,9.25],
[6,-24,9.25],
[8,-24,9.25],
[-10,-26,9.25],
[-8,-26,9.25],
[-6,-26,9.25],
[-4,-26,9.25],
[-2,-26,9.25],
[0,-26,9.25],
[2,-26,9.25],
[4,-26,9.25],
[6,-26,9.25],
[8,-26,9.25],
[-10,-28,9.25],
[-8,-28,9.25],
[-6,-28,9.25],
[-4,-28,9.25],
[-2,-28,9.25],
[0,-28,9.25],
[2,-28,9.25],
[4,-28,9.25],
[6,-28,9.25],
[8,-28,9.25],
[-10,-30,9.25],
[-8,-30,9.25],
[-6,-30,9.25],
[-4,-30,9.25],
[-2,-30,9.25],
[0,-30,9.25],
[2,-30,9.25],
[4,-30,9.25],
[6,-30,9.25],
[8,-30,9.25],
[-10,-32,9.25],
[-8,-32,9.25],
[-6,-32,9.25],
[-4,-32,9.25],
[-2,-32,9.25],
[0,-32,9.25],
[2,-32,9.25],
[4,-32,9.25],
[6,-32,9.25],
[8,-32,9.25],
[-10,-34,9.25],
[-8,-34,9.25],
[-6,-34,9.25],
[-4,-34,9.25],
[-2,-34,9.25],
[0,-34,9.25],
[2,-34,9.25],
[4,-34,9.25],
[6,-34,9.25],
[8,-34,9.25],
[-10,-36,9.25],
[-8,-36,9.25],
[-6,-36,9.25],
[-4,-36,9.25],
[-2,-36,9.25],
[0,-36,9.25],
[2,-36,9.25],
[4,-36,9.25],
[6,-36,9.25],
[8,-36,9.25],
[-10,-38,9.25],
[-8,-38,9.25],
[-6,-38,9.25],
[-4,-38,9.25],
[-2,-38,9.25],
[0,-38,9.25],
[2,-38,9.25],
[4,-38,9.25],
[6,-38,9.25],
[8,-38,9.25],
[-10,-40,9.25],
[-8,-40,9.25],
[-6,-40,9.25],
[-4,-40,9.25],
[-2,-40,9.25],
[0,-40,9.25],
[2,-40,9.25],
[4,-40,9.25],
[6,-40,9.25],
[8,-40,9.25],
[-10,-42,9.25],
[-8,-42,9.25],
[-6,-42,9.25],
[-4,-42,9.25],
[-2,-42,9.25],
[0,-42,9.25],
[2,-42,9.25],
[4,-42,9.25],
[6,-42,9.25],
[8,-42,9.25],
[-10,-44,9.25],
[-8,-44,9.25],
[-6,-44,9.25],
[-4,-44,9.25],
[-2,-44,9.25],
[0,-44,9.25],
[2,-44,9.25],
[4,-44,9.25],
[6,-44,9.25],
[8,-44,9.25],
[-10,-46,9.25],
[-8,-46,9.25],
[-6,-46,9.25],
[-4,-46,9.25],
[-2,-46,9.25],
[0,-46,9.25],
[2,-46,9.25],
[4,-46,9.25],
[6,-46,9.25],
[8,-46,9.25],
[-10,-48,9.25],
[-8,-48,9.25],
[-6,-48,9.25],
[-4,-48,9.25],
[-2,-48,9.25],
[0,-48,9.25],
[2,-48,9.25],
[4,-48,9.25],
[6,-48,9.25],
[8,-48,9.25],
[-10,-50,9.25],
[-8,-50,9.25],
[-6,-50,9.25],
[-4,-50,9.25],
[-2,-50,9.25],
[0,-50,9.25],
[2,-50,9.25],
[4,-50,9.25],
[6,-50,9.25],
[8,-50,9.25]
],
[ //7 Below Deck SUPPLY BOX spawn locations
[-13,-18,9.25],
[-13,-24,9.25],
[-13,-30,9.25],
[-13,-34,9.25],
[-13,-38,9.25],
[-13,-42,9.25],
[-13,-46,9.25]
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment