37 Commits

Author SHA1 Message Date
AmazingAlek
8d3d3e4bb2
scene manager (#179) 2020-08-16 22:39:21 +02:00
Aleksander Waage
871cb1d437 cleanup + showing clock when fast forwarding 2020-08-14 05:04:31 +02:00
Mister_Nebula
7c68ff02c3 fixes 2020-08-13 22:10:25 +01:00
Mister_Nebula
a4c99e8402 do stuff 2020-08-13 22:06:34 +01:00
AmazingAlek
7cc033ec8a
feature folders (#166) 2020-08-13 21:46:16 +02:00
AmazingAlek
b48639bf77
merge + don't sync sector for menu player (#154) 2020-08-10 20:14:19 +02:00
AmazingAlek
359902399d
event names (#152) 2020-08-10 19:24:28 +02:00
AmazingAlek
4723e67d03
cleanup (#151) 2020-08-10 18:17:54 +02:00
Mister_Nebula
a5c4b3480b added in request event, cleanup 2020-08-10 14:40:06 +01:00
Mister_Nebula
b8067adbeb cleanup 2020-08-10 12:16:07 +01:00
Mister_Nebula
8fbafd7e4c add logs 2020-08-10 12:02:01 +01:00
Mister_Nebula
ff6f771098 help 2020-08-10 11:45:24 +01:00
Mister_Nebula
99064c4572 cleanup 2020-08-09 21:58:03 +01:00
Mister_Nebula
503e08cb57 i don't even know anymore 2020-08-09 21:46:51 +01:00
Mister_Nebula
37ffecdd06 finished wake up 2020-08-09 20:46:02 +01:00
Mister_Nebula
b60e421b04 more stuff and cleanup 2020-08-09 19:33:36 +01:00
Mister_Nebula
90e7a662b0 more stuff 2020-08-09 12:38:35 +01:00
AmazingAlek
df5404aa72
fixed the generic issue (#140) 2020-08-09 11:11:45 +02:00
AmazingAlek
3f02bd25dd
moved files (#110)
* moved tools stuff from Animation and Utility to new Tools folder
* moved debug stuff into Utility
2020-07-30 22:27:14 +02:00
AmazingAlek
c2763b186d
refactored PlayerRegistry and PlayerInfo (#108) 2020-07-30 21:57:39 +02:00
AmazingAlek
18a520bc78
cleanup (#99)
* cleanup
2020-07-28 14:59:24 +01:00
Mister_Nebula
49fa4d1eeb
Nebula development (#96)
* oh my god so many things

* i came in and rewrote half the mod, sorry
2020-07-28 00:13:43 +01:00
AmazingAlek
485698e93b
Alek/simplify name messages (#88)
* Showing player markers

* Marker above head

* Use player name on marker

* Sync full state on init

* Sync game state on start

* removed name from death and leave message

Co-authored-by: Ricardo Lopes <raicuparta@gmail.com>
2020-05-19 20:05:15 +02:00
AmazingAlek
494610c0dd
preventing ship explosion (#67)
* preventing ship explosion
* disabled eject button
2020-03-14 21:20:55 +01:00
Ricardo Lopes
34f75c672f
Death errors workaround, and allow more death types (#79)
* Fix network animator errors when nothing to animate

Clsoes #75

* Broadcast death after all the death logic has been dealt with

for #77

* Remove black hole from death type whitelist
2020-03-14 21:20:25 +01:00
Ricardo Lopes
e690958f0f
Fast forward speed proportional to client / server time diff (#74)
* Remove wake up dependency from transform sync

* Remove wake up dependency for all synced transforms

* Remove comments

* Remove obsolete QSBBehaviour component

* Remove wakeup dependency in RespawnOnDeath

* Prevent errors on MessageHandler and RespawnOnDeath when network not initialized

* Add RespawnOnDeath only after network is initialized

* wip

* Prevent trying to add animator components multiple times

* Reset sectors on scene load

* Reset transform sync on scene change

* Remove comment

* Remove wakeup event dependency from WakeUpSync

* Sync loop count

* Fast forward speed dependent on difference between client and server time

* Lerp on update

* Change fastforward condition

* Update WakeUpSync.cs
2020-03-14 15:42:51 +01:00
Ricardo Lopes
49227bf5c9
Remove dependency on "wake up" events (#68)
* Remove wake up dependency from transform sync

* Remove wake up dependency for all synced transforms

* Remove comments

* Remove obsolete QSBBehaviour component

* Remove wakeup dependency in RespawnOnDeath

* Prevent errors on MessageHandler and RespawnOnDeath when network not initialized

* Add RespawnOnDeath only after network is initialized

* wip

* Prevent trying to add animator components multiple times

* Reset sectors on scene load

* Reset transform sync on scene change

* Remove comment

* Remove wakeup event dependency from WakeUpSync

* Sync loop count
2020-03-13 20:44:32 +01:00
AmazingAlek
31dd0b6a1f random death messages (#65)
* random death messages

* .

Co-authored-by: Ricardo Lopes <Raicuparta@users.noreply.github.com>
2020-03-07 16:47:47 +01:00
AmazingAlek
f239acd724
cleanup after disconnected players (#62)
* * removed need for NetPlayer
* split JoinPlayer into JoinPlayer and LeavePlayer
* cleanup of player and ship in LeavePlayer

* null checks in anim mirror

* it kinda works

* resetting some more stuff when DCing

* cleaning up ship

* removed some unused code

* cleanup

* cleaning up all client owned objects

* resetting (mostly) anim stuff when leaving

* setting local instance on player transform sync right away

Co-authored-by: Ricardo Lopes <Raicuparta@users.noreply.github.com>
2020-03-07 16:42:43 +01:00
AmazingAlek
26a435ac61
Alek/death message (#56)
* storing names
* death messages
2020-03-06 05:16:41 +01:00
AmazingAlek
dda55ee842
Alek/max connections (#45)
* maxconnections = 128
2020-03-02 17:25:37 +01:00
Ricardo Lopes
1f7e0b9c9b
Time scale instead of sleep (#43)
* Time scale instead of sleep

* Cleanup

* Prevent client from ruining time scale

* Disable input while waiting after wakeup

* Disable input only at start of game

* Inver isInputDisable var name
2020-02-29 22:12:09 +01:00
AmazingAlek
c862ac79df
allowing nova to kill players (#39) 2020-02-29 14:02:09 +01:00
AmazingAlek
7d6f9d0a37
removed wake up prompt (#38) 2020-02-29 10:28:21 +01:00
AmazingAlek
3f80846988
hiding the meditation button (for server and clients) (#34) 2020-02-29 09:39:15 +01:00
AmazingAlek
188bbad5e7
Alek/sleep sync (#29)
* syncing time
* clients auto-sleep or pause to reach server's time
* disabled manual sleep/pause for clients
2020-02-28 22:07:39 +01:00
AmazingAlek
c804058ec5
Alek/cleanup (#28)
* timesync folder
* fixed wakeupsync isserver thing
2020-02-24 19:55:16 +01:00