30 Commits

Author SHA1 Message Date
Mister_Nebula
065c19c652 cleanup, timing fixes 2020-08-09 14:26:33 +01:00
Mister_Nebula
9b98a2fff5 Refactor 2020-08-09 12:19:51 +01:00
Aleksander Waage
b60d79cb39 one step closer to generic 2020-08-09 09:17:00 +02:00
Mister_Nebula
1effae0bd3 event overhaul
i have no idea how i did this but it works
2020-08-08 00:08:44 +01:00
AmazingAlek
465074b176
Alek/transformsync errors (#126)
* fixed transformsync errors
2020-08-07 23:18:07 +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
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
Ricardo Lopes
f3ec54f75c
Add warp to vessel / insert core debug actions (#82)
* Add warp to vessel / insert core debug actions

* Add debug mode config flag

* Enable in-game switching of debug flag
2020-03-14 21:42:43 +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
Ricardo Lopes
ba40a229e9
Default server IP (#44)
* Default server IP

* Change default ip to localhost
2020-03-02 17:34:01 +01:00
AmazingAlek
c862ac79df
allowing nova to kill players (#39) 2020-02-29 14:02:09 +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
Ricardo Lopes
d6f8112bbb
Instant respawn on death (#31)
* Instantly respawn on death

* Avoid spawning to ship spawn point

* Move debug spawn ship position to landing pad

* Separate spawn point for ship and player

* Refactor code

* Cleanup

* Check for ship existance

* Cleanup

* Reset suffocation flag

* Sexier way
2020-02-28 21:32:21 +01:00
AmazingAlek
c804058ec5
Alek/cleanup (#28)
* timesync folder
* fixed wakeupsync isserver thing
2020-02-24 19:55:16 +01:00
AmazingAlek
797f4de50d
Alek/anim triggers (#26)
* syncing animation triggers
* suit sync
2020-02-23 18:31:38 +01:00
AmazingAlek
d7c0c06698
Alek/decoupling (#23)
* refactoring
2020-02-21 23:36:07 +01:00
Ricardo Lopes
a1177515b3
Preserve time scale (#18)
* Create QSBBehaviour

* Preserve timescale

* Cleanup
2020-02-18 21:32:26 +01:00
amazingalek
1f119515ab
Code style / formatting improvements 2020-02-15 20:48:02 +01:00
Ricardo Lopes
0de3879998
Wake up sync (#2)
* Add networksync on wake up

* Attempt

* Added log to screen

* Better debug screen logging

* I'm an idiot

* Wake up client when waking up server

* Set initial sector

* Server use OnClientReceiveMessage

* Cleanup

* Prevent server from waking itself

* Pass id values as number

* Woops

* Best I can do sorry

* Revert "Best I can do sorry"

This reverts commit f3f0fbdb2edb72365dd948775e377a3debd56411.

* Ignore a bunch of sectors earlier

* Cleanup

* Message type enum

* Some comments
2020-02-14 22:14:24 +01:00
Ricardo Lopes
d6e1f4c2a4 Separate handler for client and server 2020-02-13 21:48:23 +01:00
Ricardo Lopes
b52c1dac07 Move logic to Network Manager 2020-02-13 20:46:07 +01:00
Ricardo Lopes
e454653c29 Custom network manager configures itself 2020-02-13 20:34:51 +01:00
Ricardo Lopes
65c8943bd8 Custom network manager 2020-02-13 20:23:26 +01:00
Ricardo Lopes
9d47deed17 Uncomment debug log 2020-02-12 22:43:31 +01:00
Ricardo Lopes
d23615f5e9 Client and server both getting sectors correctly I think? 2020-02-12 22:00:17 +01:00
Ricardo Lopes
8a2113c0f8 Shit doesn't work 2020-02-12 21:39:59 +01:00
Ricardo Lopes
dd16c73d18 Testing send command from client to server 2020-02-11 19:56:57 +01:00
Ricardo Lopes
752f747275 Smoother movement 2020-02-11 13:57:43 +01:00
Ricardo Lopes
1c302a931f Initial commit 2020-02-10 23:07:38 +01:00