Commit graph

156 commits

Author SHA1 Message Date
in0finite
aba562a3f8 add weapon column to player stats 2020-05-31 19:09:44 +02:00
in0finite
68507d06f3 add weapon to spawnable prefabs list 2020-05-31 19:09:44 +02:00
in0finite
b2d5b9b4b7 add networkevents2messagebox script to prefab 2020-05-31 19:09:44 +02:00
in0finite
fc49001762 main menu buttons have different text color when window is opened 2020-05-31 19:09:44 +02:00
in0finite
f400009bcf implement MenuEntry 2020-05-31 19:09:44 +02:00
in0finite
aeab96e4b5 display msgbox when client disconnects 2020-05-31 19:09:44 +02:00
in0finite
a85e337ae6 create a script 2020-05-31 19:09:44 +02:00
in0finite
c2c45aaaef update doc 2020-05-31 19:09:44 +02:00
in0finite
5d2363d7fa detect dead connections 2020-05-31 19:09:44 +02:00
in0finite
d022f6bb41 add dates to some logs 2020-05-31 19:09:44 +02:00
in0finite
25f9c8a2a7 override ped anims only on server 2020-05-31 19:09:44 +02:00
in0finite
a645e5e8dc improve vehicle spawning API, and add ability to request specific vehicle 2020-05-31 19:09:44 +02:00
in0finite
f513eff625 PedStalker can follow any ped, not just local ped 2020-05-31 19:09:44 +02:00
in0finite
90dc1a7b3a add option to remove current weapon 2020-05-31 19:09:44 +02:00
in0finite
bfa6e330f3 implement weapon related requests 2020-05-31 19:09:44 +02:00
in0finite
4727977207 prevent tick rate override by Mirror 2020-05-31 19:09:44 +02:00
in0finite
eb7c90f0ab sync health 2020-05-31 19:09:44 +02:00
in0finite
4a495cfd71 remove unused code 2020-05-31 19:09:44 +02:00
in0finite
eaa9247897 only on server and local player 2020-05-31 19:09:43 +02:00
in0finite
6da98dd68a sync movement input and heading 2020-05-31 19:09:43 +02:00
in0finite
b1acdecd20 fire only on server 2020-05-31 19:09:43 +02:00
in0finite
64f30f6063 only on server 2020-05-31 19:09:43 +02:00
in0finite
4d2cf172da remove unused method 2020-05-31 19:09:43 +02:00
in0finite
8eaf0c956d ped owner syncvar is assigned before spawning weapon 2020-05-31 19:09:43 +02:00
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