Commit graph

132 commits

Author SHA1 Message Date
in0finite
2b0f955352 current weapon is determined based on current slot 2020-05-31 19:09:43 +02:00
in0finite
9f5679de5f rename method 2020-05-31 19:09:43 +02:00
in0finite
986e05d2ae update doc 2020-05-31 19:09:43 +02:00
in0finite
6803d56cbc working on player requests 2020-05-31 19:09:43 +02:00
in0finite
a7dd283fd4 show utilities only on server 2020-05-31 19:09:43 +02:00
in0finite
1f095d54a0 display num focus points 2020-05-31 19:09:43 +02:00
in0finite
221086fe95 working on displaying players on minimap 2020-05-31 19:09:43 +02:00
in0finite
d5e35ec745 change window height 2020-05-31 19:09:42 +02:00
in0finite
a1be18c3ce improvement 2020-05-31 19:09:42 +02:00
in0finite
90e5f6f594 add NetManager to prefab 2020-05-31 19:09:42 +02:00
in0finite
a135d2a8bd net status will be available in Utilities namespace 2020-05-31 19:09:42 +02:00
in0finite
2c03d76d4d minimap properly follows ped 2020-05-31 19:09:42 +02:00
in0finite
f40c15c195 kill all peds and destroy all vehicles, including local 2020-05-31 19:09:42 +02:00
in0finite
057a0b2c07 display draw distance 2020-05-31 19:09:42 +02:00
in0finite
f684189be2 Don't constrain ped position 2020-05-31 19:09:42 +02:00
in0finite
88688bea7d Add stats about local ped and his vehicle 2020-05-31 19:09:42 +02:00
in0finite
e60a5295f5 persist camera settings 2020-05-31 19:09:42 +02:00
in0finite
d96f890d02 add world stats 2020-05-31 19:09:42 +02:00
in0finite
d167b39d49 move "show speedometer" 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
94de5c4a48 Load "Max draw distance" setting on start 2020-05-31 19:09:42 +02:00
in0finite
04477198e0 Load "Run in background" setting on start 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
4a60c43ca2 Limit fps to 60 by default 2020-05-31 19:09:42 +02:00
in0finite
b117c27a63 World stats adapted 2020-05-31 19:09:42 +02:00
in0finite
24328020c2 Fix height of some obstacles 2020-05-31 19:09:42 +02:00
in0finite
52f6590c36 Add more obstacles 2020-05-31 19:09:42 +02:00
in0finite
83615206d5 Change scene name in StartGame window 2020-05-31 19:09:42 +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
422dc1d8c4 Add ped state to player stats 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
ed7ce1429f Improvements 2020-05-31 19:09:41 +02:00
in0finite
54c44a89a7 Create some files 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
6cca13e705 Add option to toggle control of vehicle input on local player 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
861aeb5422 Change some vehicle settings 2020-05-31 19:09:40 +02:00
in0finite
5a4d82de13 Fix NRE in minimap when camera is null 2020-05-31 19:09:40 +02:00
in0finite
cdf12168c5 Update docs 2020-05-31 19:09:40 +02:00
in0finite
d4f25102e2 Add some vehicle settings to Options 2020-05-31 19:09:40 +02:00
in0finite
1db0afdfbc Update doc 2020-05-31 19:09:40 +02:00
in0finite
3c1e24cb1c Don't sync linear and angular velocity 2020-05-31 19:09:40 +02:00
in0finite
a9283739eb Sync car color 2020-05-31 19:09:40 +02:00
in0finite
7ea49b763c Add option to disable rigid body on clients 2020-05-31 19:09:39 +02:00
in0finite
e99839de0a Fix sending submit button event 2020-05-31 19:09:39 +02:00
in0finite
ad2c8c9010 Rename var 2020-05-31 19:09:39 +02:00
in0finite
4cae66d0c2 Sitting state should be done 2020-05-31 19:09:39 +02:00
in0finite
09b1bfae30 Working on vehicle sync 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
8ea0d445ac Add comment 2020-05-31 19:09:39 +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
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
abf9db0818 Working on sending input to server 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
b66c73457f Create CustomNetworkManager which prevents client from marking itself as ready until the Loaded finishes 2020-05-31 19:09:38 +02:00
in0finite
00ac3b5153 Make console available in main menu 2020-05-31 19:09:38 +02:00
in0finite
5c390d2be1 Don't assign syncvars in hooks 2020-05-31 19:09:38 +02:00
in0finite
5a07c4604a Update 'Setup Instructions' 2020-05-31 19:09:38 +02:00
in0finite
aca67f12a2 Destroy weapons when ped gets destroyed 2020-05-31 19:09:38 +02:00
in0finite
8457c5550e Spawn connected players when loading process finishes 2020-05-31 19:09:37 +02:00
in0finite
30cc4e0384 Add onStart event to Player 2020-05-31 19:09:37 +02:00
in0finite
455b9dc04d Add OK button in message box 2020-05-31 19:09:37 +02:00
in0finite
da92b2b621 Don't show StartGame/JoinGame windows in pause menu 2020-05-31 19:09:37 +02:00
in0finite
59d98a48a3 Add weapons on start 2020-05-31 19:09:37 +02:00
in0finite
bb8e416457 Change SyncVar to be a GameObject 2020-05-31 19:09:37 +02:00
in0finite
a5a94e23b4 Exclude some vars from serialization 2020-05-31 19:09:37 +02:00
in0finite
01701be12d Working on player spawning 2020-05-31 19:09:37 +02:00
in0finite
3492c39c8b Working on ped networking 3 2020-05-31 19:09:37 +02:00
in0finite
571b498202 Display client status and add ability to cancel connecting 2020-05-31 19:09:37 +02:00
in0finite
0979cabd51 Working on NetManager 2020-05-31 19:09:37 +02:00
in0finite
33e43e1c15 Update doc 2020-05-31 19:09:37 +02:00
in0finite
87db4f7a63 Update readme 2020-05-31 19:09:36 +02:00
in0finite
039ae76a14 Initial commit 2020-05-31 19:07:22 +02:00