Commit graph

119 commits

Author SHA1 Message Date
in0finite
d167b39d49 move "show speedometer" setting to PedManager 2020-05-31 19:09:42 +02:00
in0finite
b4fa58650f Move "turn speed" setting to PedManager 2020-05-31 19:09:42 +02:00
in0finite
9fbd976388 Remove "jump speed" setting 2020-05-31 19:09:42 +02:00
in0finite
c939f16c81 Don't block camera with peds 2020-05-31 19:09:42 +02:00
in0finite
613ecd215a Fix resetting ped when falling below the world 2020-05-31 19:09:42 +02:00
in0finite
3869ff0a09 Destroy OutOfRangeDestroyer script on clients 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
d91cd759e3 Attempt to fix state sync 2020-05-31 19:09:41 +02:00
in0finite
027319df86 Attempt to fix state sync 2020-05-31 19:09:41 +02:00
in0finite
e9ef2e583d Working on misc stats 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
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
10b5e541bc Spine's direction is obtained from aim direction 2020-05-31 19:09:40 +02:00
in0finite
cb92bdd3dd Properly obtain aim direction 2020-05-31 19:09:40 +02:00
in0finite
781553d6a4 ... 2020-05-31 19:09:40 +02:00
in0finite
2f82eca889 Register ped as Cell focus point 2020-05-31 19:09:40 +02:00
in0finite
7f5b37f85e Disable ped transform syncing while in vehicle 2020-05-31 19:09:40 +02:00
in0finite
d76320682a Cache NetworkTransform and save default sync interval 2020-05-31 19:09:40 +02:00
in0finite
461a3087b8 Remove authority when ped exits vehicle 2020-05-31 19:09:40 +02:00
in0finite
45897ebd9d Working on vehicle authority 2020-05-31 19:09:40 +02:00
in0finite
394e08b458 States now control switching when they are forcefully switched to by the server. Fix for vehicle exiting state. 2020-05-31 19:09:39 +02:00
in0finite
e99839de0a Fix sending submit button event 2020-05-31 19:09:39 +02:00
in0finite
78507f0f32 Send submit button event 2020-05-31 19:09:39 +02:00
in0finite
1865251ebb Additional check 2020-05-31 19:09:39 +02:00
in0finite
07fa4c2752 Comments 2020-05-31 19:09:39 +02:00
in0finite
45418f88e0 Working on vehicle exiting 2 2020-05-31 19:09:39 +02:00
in0finite
be83e941a7 Working on vehicle exiting 2020-05-31 19:09:39 +02:00
in0finite
6ae76e392f Working on vehicle sync 7 2020-05-31 19:09:39 +02:00
in0finite
8026142938 Add cleanup 2020-05-31 19:09:39 +02:00
in0finite
9a5d6a3ec6 Working on vehicle sync 6 2020-05-31 19:09:39 +02:00
in0finite
c3bd5362d5 Don't set camera parent 2020-05-31 19:09:39 +02:00
in0finite
7a6c6b4aa8 Fix cleanup 2020-05-31 19:09:39 +02:00
in0finite
5e32312a77 Fix cleanup 2020-05-31 19:09:39 +02:00
in0finite
b1dcbd80c8 Improvement 2020-05-31 19:09:39 +02:00
in0finite
028c63955c Remove commented code 2020-05-31 19:09:39 +02:00
in0finite
e4644c1319 Fix 2020-05-31 19:09:39 +02:00
in0finite
4cae66d0c2 Sitting state should be done 2020-05-31 19:09:39 +02:00
in0finite
2842d653ef Working on vehicle sync 5 2020-05-31 19:09:39 +02:00
in0finite
63491e76ea Working on vehicle sync 4 2020-05-31 19:09:39 +02:00
in0finite
f3eff67bdf Improvement 2020-05-31 19:09:39 +02:00
in0finite
c7ce53f6e1 Almost done with vehicle entering 2020-05-31 19:09:39 +02:00