Commit graph

280 commits

Author SHA1 Message Date
in0finite
83615206d5 Change scene name in StartGame window 2020-05-31 19:09:42 +02:00
in0finite
df643f0b86 Rename scene 2020-05-31 19:09:42 +02:00
in0finite
552b27e049 Adjust column widths and preserve stats game object across scenes 2020-05-31 19:09:42 +02:00
in0finite
cf3fc109f8 Update status of rigid body every frame 2020-05-31 19:09:41 +02:00
in0finite
8c2aefe161 Change default ped sync rate to 20 2020-05-31 19:09:41 +02:00
in0finite
e9d4374af8 Don't use scroll view for stats window 2020-05-31 19:09:41 +02:00
in0finite
f1254e10e6 Uses it's own scroll view for stats 2020-05-31 19:09:41 +02:00
in0finite
e7ac6074d1 Use index 2020-05-31 19:09:41 +02:00
in0finite
8429b2c36b Remove ping from player stats 2020-05-31 19:09:41 +02:00
in0finite
422dc1d8c4 Add ped state to player stats 2020-05-31 19:09:41 +02:00
in0finite
efd831f504 Change format of a setting - now rigid body can be disabled on local player 2020-05-31 19:09:41 +02:00
in0finite
b54948dd55 Create some files 2020-05-31 19:09:41 +02:00
in0finite
700aa0aac9 Update MirrorLite 2020-05-31 19:09:41 +02:00
in0finite
f9c8a5d31f Destroy OutOfRangeDestroyer script on peds which are controlled by players 2020-05-31 19:09:41 +02:00
in0finite
3869ff0a09 Destroy OutOfRangeDestroyer script on clients 2020-05-31 19:09:41 +02:00
in0finite
33c3700291 Disable vehicle damage 2020-05-31 19:09:41 +02:00
in0finite
ed7ce1429f Improvements 2020-05-31 19:09:41 +02:00
in0finite
266c90deac Improvements 2020-05-31 19:09:41 +02:00
in0finite
e117c2cd81 Fixed several bugs:
- vehicle states are activated on clients at the end of frame, because at the moment of ped creation, vehicle may not be created yet

- ped doesn't switch to stand state in Start(), on clients

- state is now synced using string, not struct, because struct failed to sync after first modification
2020-05-31 19:09:41 +02:00
in0finite
aeb0c8fc1e Apply "Disable vehicle's rigid body on clients" setting immediately 2020-05-31 19:09:41 +02:00
in0finite
d91cd759e3 Attempt to fix state sync 2020-05-31 19:09:41 +02:00
in0finite
1fce7d1a5e Add stats prefab into startup scene 2020-05-31 19:09:41 +02:00
in0finite
bd2aeea20f Create prefab for stats 2020-05-31 19:09:41 +02:00
in0finite
027319df86 Attempt to fix state sync 2020-05-31 19:09:41 +02:00
in0finite
0893fd0ca1 Add stats window to prefab 2020-05-31 19:09:41 +02:00
in0finite
5ca4ce46df Working on player stats 2020-05-31 19:09:41 +02:00
in0finite
b987948bf9 Working on net stats 2020-05-31 19:09:41 +02:00
in0finite
e9ef2e583d Working on misc stats 2020-05-31 19:09:41 +02:00
in0finite
eedc0f1e62 Working on stats 2020-05-31 19:09:41 +02:00
in0finite
54c44a89a7 Create some files 2020-05-31 19:09:41 +02:00
in0finite
ec4435e181 Converting vehicle states to new API 3 2020-05-31 19:09:41 +02:00
in0finite
b474d7df85 Converting vehicle states to new API 2 2020-05-31 19:09:41 +02:00
in0finite
4faa53bb1d Converting vehicle states to new API 2020-05-31 19:09:41 +02:00
in0finite
7fb6256b3a States can provide additional data for clients when being switched 2020-05-31 19:09:41 +02:00
in0finite
f3bacefadb Change vehicle setting 2020-05-31 19:09:40 +02:00
in0finite
8da6e641b2 Apply sync rate to NetworkTransform too 2020-05-31 19:09:40 +02:00
in0finite
a4329fedea When entering/exiting vehicle, don't change sync interval, but instead disable/enable NetworkTransform 2020-05-31 19:09:40 +02:00
in0finite
927044d517 Add setting 2020-05-31 19:09:40 +02:00
in0finite
23ed98633a Remove DefaultTransformSyncInterval variable 2020-05-31 19:09:40 +02:00
in0finite
548f0ee57c Add configurable ped sync rate 2020-05-31 19:09:40 +02:00
in0finite
2c60eef867 Add setting 2020-05-31 19:09:40 +02:00
in0finite
6cca13e705 Add option to toggle control of vehicle input on local player 2020-05-31 19:09:40 +02:00
in0finite
15ccf99e47 Add setting 2020-05-31 19:09:40 +02:00
in0finite
50b7d7630c Added option to toggle control of wheels on local player 2020-05-31 19:09:40 +02:00
in0finite
c44ba4146b OutOfRangeDestroyer: don't increase out-of-range time if target object doesn't exist 2020-05-31 19:09:40 +02:00
in0finite
c49b1cf2a5 Add anti roll force only on server 2020-05-31 19:09:40 +02:00
in0finite
0e6f471db6 Apply sync rate on start 2020-05-31 19:09:40 +02:00
in0finite
06af108c8e Add configurable vehicle sync rate 2020-05-31 19:09:40 +02:00
in0finite
4c3f09e279 NetworkTransform is enabled/disabled in Update() 2020-05-31 19:09:40 +02:00
in0finite
752c59116c Cache NetworkTransform 2020-05-31 19:09:40 +02:00