180 Commits

Author SHA1 Message Date
Moonstone Studios
c0797603d7
Add fake sectors for cage and prisoner elevators 2023-11-04 15:40:49 -07:00
Moonstone Studios
2af563ceaa
Create a proper fake sector for elevators
Also adjusted the loglift box shape to encompass the entire lift.
2023-10-28 19:29:35 -07:00
Moonstone Studios
270af9a58f
Player attachment now works on all TH elevators.
Originally, all players in elevators (such as the launch lift and the zero G cave elevator) would merge into one spot. Now, players who did not initiate the elevator remain in their positions.
2023-10-26 16:49:11 -07:00
Moonstone Studios
b16161114c
Elevator attach point moves to player position.
The old behavior would move the player to the control panel, regardless of their distance from it when standing on the lift. Now they stay in place when on the lift.
2023-10-25 20:57:07 -07:00
JohnCorby
1894e4fba6 revert NH compat stuff 2023-07-26 16:54:04 -07:00
JohnCorby
55a4de8e77 hasAuthority -> isOwned 2023-05-08 11:27:32 -07:00
JohnCorby
b7c7de206c forgor braces 2022-12-31 18:08:05 -08:00
JohnCorby
a57c4265ae fake sector check 2022-08-29 21:31:13 -07:00
JohnCorby
88871d4a0c make SendInitialState empty virtual lol 2022-08-02 16:53:11 -07:00
JohnCorby
55287814e7 dont do the goofy caching stuff since its not worth the compute 2022-05-03 21:59:00 -07:00
_nebula
5163b75a13
Cache some unity objects (#517) 2022-05-03 08:48:24 +01:00
JohnCorby
64dd596fba todo 2022-04-08 22:26:58 -07:00
JohnCorby
a67afbffeb i am a dumbass 2022-04-08 19:12:51 -07:00
Mister_Nebula
27a92d4b51 fix items 2022-04-01 19:08:03 +01:00
JohnCorby
8964400e19 make CreateFakeSectors not async 2022-03-21 16:37:08 -07:00
JohnCorby
43cf5a49a8 remove fake sector debug renderer 2022-03-21 16:19:06 -07:00
JohnCorby
9d92dec247 better fake sector placement (use existing triggers more) 2022-03-21 16:14:54 -07:00
JohnCorby
6acf9ca620 typo 2022-03-20 18:34:50 -07:00
JohnCorby
c51848e0e4 typo 2022-03-20 02:39:10 -07:00
JohnCorby
17098e1c1e fake sectors: much work, shapes have to be done manually :( 2022-03-20 02:36:14 -07:00
JohnCorby
46a7f6aa3e bruh 2022-03-20 00:50:17 -07:00
JohnCorby
c36de3073f fake sector: comment out debug renderer 2022-03-20 00:39:13 -07:00
JohnCorby
9dcd2e06c9 fake elevator sectors: attach to the collider gameobjects in case they're in a different position from the elevator 2022-03-20 00:36:42 -07:00
JohnCorby
e0a7bc3f23 fake sectors: treat like normal sectors in sector detector 2022-03-20 00:13:40 -07:00
JohnCorby
542bb8f1ce fake sectors: make them for elevators, cache radius, make fast paths for score calculating 2022-03-20 00:02:48 -07:00
JohnCorby
27a8ff163c fake sector now acts like a real sector 2022-03-19 22:55:58 -07:00
JohnCorby
908bf19114 QSBSectorDetector: move score calculation to QSBSector 2022-03-19 21:44:44 -07:00
JohnCorby
ade8d00060 QSBSectorDetector: tidy, account for angular velocity 2022-03-19 20:02:43 -07:00
JohnCorby
e4da50a656 solution-wide: file-scoped namespaces 2022-03-02 19:46:33 -08:00
JohnCorby
a8fba743f6 Revert "solution wide: use file-scoped namespace" 2022-02-27 05:25:39 -08:00
JohnCorby
4ce58220b1 QSBSectorManager: update reference sector only when attached object is active 2022-02-25 23:18:48 -08:00
JohnCorby
9b94f54a45 WorldObjectType -> WorldObjectScene 2022-02-25 23:18:47 -08:00
JohnCorby
182678c4bc solution wide: use file-scoped namespace 2022-02-25 23:18:46 -08:00
JohnCorby
2761d463e1 QSBSectorDetector: improve 2022-02-16 18:27:45 -08:00
JohnCorby
83bec7b75f optimization: MinBy and MaxBy instead of sorting 2022-02-16 18:14:40 -08:00
JohnCorby
edf469d3e4 rename 2022-01-28 20:50:34 -08:00
JohnCorby
2f99dec87f make BuildWorldObjects async 2022-01-28 20:49:07 -08:00
JohnCorby
65f71678a6 remove unneeded check 2022-01-27 02:15:42 -08:00
JohnCorby
a2660d6a54 send initial states less often and not in RequestStateResyncMessage 2022-01-26 00:12:44 -08:00
JohnCorby
1800e6f21f make SendResyncInfo abstract to make sure we handle resyncs 2022-01-25 21:08:04 -08:00
JohnCorby
508670430b remove usings 2022-01-25 19:49:53 -08:00
JohnCorby
c6d0b87c1b wtf 2022-01-21 19:23:29 -08:00
JohnCorby
4e4bb12ad9 remove IsReady for QSBSectorDetector 2022-01-21 17:27:31 -08:00
JohnCorby
56589609d4 use IsValid to check if SyncBase is initialized but not updating 2022-01-21 17:24:54 -08:00
JohnCorby
0eeaba4eb0 more simplifying 2022-01-21 16:52:30 -08:00
JohnCorby
cc4da03a9b Uninit for SectorSync, rename to QSBSectorDetector 2022-01-21 16:38:59 -08:00
JohnCorby
7e1f62666a seperate building and unbuilding of world objects 2022-01-18 00:46:27 -08:00
JohnCorby
2743c8ffa9 move a bunch of WorldObjectManager stuff to QSBWorldSync 2022-01-18 00:27:32 -08:00
JohnCorby
5b8f51afdd major simplify BaseSectoredSync 2022-01-16 05:45:47 -08:00
JohnCorby
85927c2e9d remove old syncbase and friends 2022-01-14 22:39:41 -08:00