Skip to content

Commit

Permalink
striker's changes (#802)
Browse files Browse the repository at this point in the history
* Adjusted the players character rotation for /house interior 4

The players character is now facing the right angle by adjusting the rotation.

* Update SpawnPos.pwn

Spawn locations were changed to avoid spawning in an area were /zone was used. One of these locations was right where a house marker was, so you ended up inside the player's home.
  • Loading branch information
EPIC-striker authored Jul 28, 2020
1 parent 686ef70 commit becf84d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion javascript/features/houses/utils/interior_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const INTERIOR_LIST = [
value: 5,

interior: 3,
exits: [ { position: [ 2495.96, -1692.80, 1014.74 ], rotation: 90 } ],
exits: [ { position: [ 2495.96, -1692.80, 1014.74 ], rotation: 180 } ],

features: {
health: [ 2493.79, -1694.42, 1014.74 ],
Expand Down
8 changes: 4 additions & 4 deletions pawn/Elements/Player/SpawnPos.pwn
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SetPlayerRandomSpawnPos(playerId) {
InitSpawnPos() {
AddSpawnPos(1675.272705, 1447.991333, 10.787893, 269.266143, 0);
AddSpawnPos(1319.331298, 1252.010498, 10.820312, 355.673431, 0);
AddSpawnPos(1679.644287, 1761.207397, 10.828730, 173.409606, 0);
AddSpawnPos(1507.313400, 2138.960200, 10.820300, 348.923800, 0);
AddSpawnPos(1608.072509, 1818.844970, 10.820312, 357.025268, 0);
AddSpawnPos(1582.040893, 1768.947753, 10.820312, 80.059234, 0);
AddSpawnPos(1465.603515, 1895.265747, 11.460937, 270.219512, 0);
Expand All @@ -58,7 +58,7 @@ InitSpawnPos() {
AddSpawnPos(1663.515136, 2750.059814, 10.820312, 179.228729, 0);
AddSpawnPos(1644.108886, 2749.604248, 10.820312, 180.795013, 0);
AddSpawnPos(1600.998291, 2712.172119, 10.820312, 1.903411, 0);
AddSpawnPos(1029.821166, 1848.373901, 11.468292, 83.660774, 0);
AddSpawnPos(1015.772000, 1855.992200, 10.812500, 177.655100, 0);
AddSpawnPos(2556.753906, 2023.815063, 10.825762, 9.086769, 0);
AddSpawnPos(2478.968261, 1927.325683, 10.522821, 5.013446, 0);
AddSpawnPos(2620.452880, 1903.202880, 11.023437, 178.915191, 0);
Expand Down Expand Up @@ -137,13 +137,13 @@ InitSpawnPos() {
AddSpawnPos(2445.729492, 2376.328369, 12.163512, 88.564323, 0);
AddSpawnPos(2219.647949, 1838.794921, 10.820312, 87.327117, 0);
AddSpawnPos(693.479675, 1953.186401, 5.539062, 180.767715, 0);
AddSpawnPos(1171.563720, 1352.462158, 10.921875, 19.191267, 0);
AddSpawnPos(1067.899700, 1403.345500, 5.820300, 6.352700, 0);
AddSpawnPos(1098.600219, 1386.900878, 10.820312, 0.945639, 0);
AddSpawnPos(1097.698974, 1705.114135, 10.820312, 182.616897, 0);
AddSpawnPos(1031.635742, 1025.352661, 11.000000, 309.254577, 0);
AddSpawnPos(1527.187622, 1043.612304, 10.820312, 185.256668, 0);
AddSpawnPos(2497.326904, 1285.076782, 10.812500, 359.805175, 0);
AddSpawnPos(2480.153320, 1662.935546, 10.976562, 185.389953, 0);
AddSpawnPos(2399.358200, 1183.766800, 10.820300, 88.284200, 0);
AddSpawnPos(1698.768310, 2082.504882, 10.820312, 271.557220, 0);
AddSpawnPos(965.152709, 1684.009887, 8.851562, 266.984375, 0);
AddSpawnPos(2291.005126, 2044.278442, 11.062500, 90.522262, 0);
Expand Down

0 comments on commit becf84d

Please sign in to comment.