Commit Graph

84 Commits

Author SHA1 Message Date
Mister_Nebula
11811283d4
Translator (#107)
* add translator

* Fix materials
2020-07-30 20:17:20 +01:00
Mister_Nebula
7304d249df
Player tools base (#102)
* add tools
2020-07-29 22:04:50 +01:00
Mister_Nebula
12174c0d04
Fix connection issues when joining existing game from menu (#100)
* fix it
2020-07-29 15:07:07 +01:00
AmazingAlek
18a520bc78
cleanup (#99)
* cleanup
2020-07-28 14:59:24 +01:00
AmazingAlek
46deed3d4e
sync crouching (#97) 2020-07-28 01:14:32 +02: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
f5b2dad761
Bump version 2020-06-28 16:56:40 +02:00
Ricardo Lopes
41141948a8 Update development environment for Mod Manager 2020-05-20 22:52:27 +02:00
Ricardo Lopes
37244f27ed
Update display name 2020-05-20 04:31:10 +02: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
Ricardo Lopes
170769cefa
Full state sync (#89)
* Sync full state on init

* Sync game state on start

* Show name markers above remote players (#87)

* Showing player markers

* Marker above head

* Use player name on marker

* Remove debug all message
2020-05-19 19:41:33 +02:00
Ricardo Lopes
83e8112c0a
Sync game state on connect (#86)
* Sync full state on init

* Sync game state on start
2020-05-19 19:31:54 +02: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
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
361da9cbbb
Fix network animator errors when nothing to animate (#78)
Clsoes #75
2020-03-14 21:18:23 +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
d762d35f56
resetting animation sync when leaving (#64)
* resetting (mostly) anim stuff when leaving

* setting local instance on player transform sync right away
2020-03-07 16:40:17 +01:00
Ricardo Lopes
9a51f77032
Sector whitelist (#50)
* Sector whitelist

* Revert everything but the whitelist

* newline
2020-03-06 22:32:32 +01:00
AmazingAlek
9e0567358d
broadcast message when player leaves 2020-03-06 19:03:35 +01:00
AmazingAlek
9840e0698f
set player name to profile name
name is read-only while connected
2020-03-06 19:01:16 +01:00
AmazingAlek
d33e7d46c7
disabled hotkeys for NetworkManagerHUD 2020-03-06 19:00:24 +01:00
AmazingAlek
26a435ac61
Alek/death message (#56)
* storing names
* death messages
2020-03-06 05:16:41 +01:00
AmazingAlek
bcf3e3c8bd
join message (#52) 2020-03-04 21:46:16 +01:00
AmazingAlek
7b707be963
Alek/floating bodies (#48)
* spawning all remote synced objects in sun - also moving to sun if in center
2020-03-02 20:44:44 +01:00
AmazingAlek
26dd171a2b
fixed animation errors (#49) 2020-03-02 20:28:52 +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
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
Ricardo Lopes
356852706e
Add instructions to readme (#37)
* Update README.md

* Add credits and discord link

* Add credits and discord link
2020-02-29 10:51:05 +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
Ricardo Lopes
11f5d7de23
Exit ship before respawn (#33)
* 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

* Exit ship on respawn

* Move it

* Wait a lil bit

* nameof

* Remove space suit on respawn

* No animation
2020-02-28 22:39:05 +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
4ec5a39aa6
WIP: Sync ship position (#22)
* Add TransformSync behaviour

* NetworkPlayer using TransformSync

* TransformSync adjustments to make it work for more than just player objects

* Rename for clarity

* Network ship being created from prefab

* Use isAuthority instead of isLocalPlayer

* Actually sync ships

* Fix offset

* Perfect offset

* Smooth damp position

* Smooth damn transform rotation

* Showing ship landing gear

* Sync ships with sectors

* Source comment for quaternion smooth damp

* just some small tweaks (#25)

Co-authored-by: AmazingAlek <alek.ntnu@gmail.com>
2020-02-21 21:51:58 +01:00
amazingalek
dcb36a2820
Alek/smooth anim fix (#21)
* fixed smoothing velocity
2020-02-19 12:57:16 +01:00
amazingalek
0e9bfdd9ae
Alek/smooth anim (#19)
* cleanup of animation sync
* smooth animations
2020-02-18 21:39:18 +01:00
Ricardo Lopes
a1177515b3
Preserve time scale (#18)
* Create QSBBehaviour

* Preserve timescale

* Cleanup
2020-02-18 21:32:26 +01:00
amazingalek
e9a427f44d
Synchronize player animations
* just formatting

* * moved message stuff to new project
* generated .gitignore from https://gitignore.io/api/unity,visualstudio

* fixed build event for message project

* wip

* .

* .

* :S:S:S

* fixed working dir thing

* fixed gitignore

* adding .csproj.user

* .

* nothing works

* fixed gitignore for UnityProject

* wonky animation! \o/

* fixed csproj

* merge

* keeping this line solves the issue of animating local clones

* removed trigger case
2020-02-18 11:08:08 +01:00
Ricardo Lopes
6ea6586acc
Create README with development setup instructions (#10) 2020-02-16 11:34:52 +01:00
Ricardo Lopes
26f8c23c68
Unity Helper Project (#13)
* Add Unity project

* Generate asset bundles in project root

* Rename Assets directory to Assetbundles

* Add Unity project readme

* Ignore this one extra assetbundle file that Unity generates
2020-02-16 00:12:40 +01:00
amazingalek
265a06d00f
Added some missing files for QSB.Messaging
* just formatting

* * moved message stuff to new project
* generated .gitignore from https://gitignore.io/api/unity,visualstudio

* fixed build event for message project

* :S:S:S

* fixed working dir thing

* fixed gitignore

* adding .csproj.user
2020-02-15 21:48:44 +01:00