Commit graph

416 commits

Author SHA1 Message Date
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
in0finite
6472f3c73e Working on vehicle sync 3 2020-05-31 19:09:39 +02:00
in0finite
b89e365619 Remove unused code for camera 2020-05-31 19:09:39 +02:00
in0finite
9944d54c20 Split into another function 2020-05-31 19:09:39 +02:00
in0finite
a90cb21be6 Cleanup coroutine 2020-05-31 19:09:39 +02:00
in0finite
f159f76806 Remove log message 2020-05-31 19:09:39 +02:00
in0finite
5e8d96aead Working on vehicle sync 2 2020-05-31 19:09:39 +02:00
in0finite
09b1bfae30 Working on vehicle sync 2020-05-31 19:09:39 +02:00
in0finite
f9e89e25ea Improvements 2020-05-31 19:09:39 +02:00
in0finite
30dc42d3ad Enter vehicle only on server 2020-05-31 19:09:39 +02:00
in0finite
91ffd9531f Removed commented code 2020-05-31 19:09:39 +02:00
in0finite
5a720b020a Fix another NRE 2020-05-31 19:09:39 +02:00
in0finite
344318f558 Fix NRE caused by updating camera in LateUpdate() 2020-05-31 19:09:39 +02:00
in0finite
669daa23be Send crouch button event 2020-05-31 19:09:39 +02:00
in0finite
9f64097b5e Exit crouch move state only on server 2020-05-31 19:09:39 +02:00
in0finite
2681264b40 Exit crouch state only on server 2020-05-31 19:09:39 +02:00
in0finite
e2895deb31 Improvement 2020-05-31 19:09:39 +02:00
in0finite
4d00d5df55 Add comments 2020-05-31 19:09:39 +02:00
in0finite
bda70b5bfb Only on server 2020-05-31 19:09:39 +02:00
in0finite
8ea0d445ac Add comment 2020-05-31 19:09:39 +02:00
in0finite
d2a5764624 Fix log 2020-05-31 19:09:39 +02:00
in0finite
1204ff9942 Log when player connects 2020-05-31 19:09:38 +02:00
in0finite
50c31a61be Log some info when player disconnects 2020-05-31 19:09:38 +02:00
in0finite
da380e0fa1 Kill player's ped after he disconnects 2020-05-31 19:09:38 +02:00
in0finite
c88920e3f8 Send input from Update(), with a specified max rate 2020-05-31 19:09:38 +02:00
in0finite
787603cdb8 Don't reset input after sending it 2020-05-31 19:09:38 +02:00
in0finite
60c5284984 Camera is updated in LateUpdateState() - this seems to have fixed the problem with camera shaking 2020-05-31 19:09:38 +02:00
in0finite
907db40357 Set default IP to 127.0.0.1 2020-05-31 19:09:38 +02:00
in0finite
9096954525 Send heading 2020-05-31 19:09:38 +02:00
in0finite
929bb22fb5 Testing client behaviour when input is reset 2020-05-31 19:09:38 +02:00
in0finite
3084cf03db Add PedSync script to player prefab 2020-05-31 19:09:38 +02:00
in0finite
3d814ed028 PlayerController reads input on clients too 2020-05-31 19:09:38 +02:00
in0finite
38b8def30f Add comment 2020-05-31 19:09:38 +02:00
in0finite
1462897bfc Add comment 2020-05-31 19:09:38 +02:00
in0finite
be231b0f7d Working on sending input to server 2 2020-05-31 19:09:38 +02:00
in0finite
abf9db0818 Working on sending input to server 2020-05-31 19:09:38 +02:00
in0finite
10da16dced Remove spamming logs 2020-05-31 19:09:38 +02:00
in0finite
3607621665 Don't try to switch state when string is empty 2020-05-31 19:09:38 +02:00
in0finite
dbaf2f00df Remove spamming log 2020-05-31 19:09:38 +02:00
in0finite
b9ff01542a Create some sync scripts 2020-05-31 19:09:38 +02:00
in0finite
92a81ea5c8 Replace NM on a prefab 2020-05-31 19:09:38 +02:00