Commit graph

181 commits

Author SHA1 Message Date
in0finite
8cde278b13 try to fix skeleton while running with weapon 2020-05-31 19:09:46 +02:00
in0finite
bec4139a68 try to fix position of passenger 2020-05-31 19:09:46 +02:00
in0finite
9b73165fa4 game can work without loading textures 2020-05-31 19:09:46 +02:00
in0finite
09daa45721 display vehicles on minimap 2020-05-31 19:09:46 +02:00
in0finite
62d6925020 store vehicle parent offset 2020-05-31 19:09:46 +02:00
in0finite
59ca8f3d77 adjust root frame position in crouch state 2020-05-31 19:09:45 +02:00
in0finite
aba5c41ffd extract method 2020-05-31 19:09:45 +02:00
in0finite
7983812074 send fire direction to server 2020-05-31 19:09:45 +02:00
in0finite
a1601341e6 fixing fire direction on clients 2020-05-31 19:09:45 +02:00
in0finite
94b7404e4f client checks if vehicle is spawned every frame 2020-05-31 19:09:45 +02:00
in0finite
b467859ce5 extract method 2020-05-31 19:09:45 +02:00
in0finite
57bb127345 now sending net id of current vehicle 2020-05-31 19:09:45 +02:00
in0finite
f92115510f rename var 2020-05-31 19:09:45 +02:00
in0finite
c37482a436 add key shortcut for teleport 2020-05-31 19:09:44 +02:00
in0finite
f82245f10f increase buttons' height 2020-05-31 19:09:44 +02:00
in0finite
c58421be3c map window works when there is no local ped 2020-05-31 19:09:44 +02:00
in0finite
e835786257 fix NRE in EnableOrDisableGunFlash() 2020-05-31 19:09:44 +02:00
in0finite
fe257c58ec remove some spamming logs 2020-05-31 19:09:44 +02:00
in0finite
968e8b53fb update docs 2020-05-31 19:09:44 +02:00
in0finite
3a6146d12c revert 2020-05-31 19:09:44 +02:00
in0finite
e5f704e524 change button text color for opened windows 2020-05-31 19:09:44 +02:00
in0finite
8cd3265ba5 optimization 2020-05-31 19:09:44 +02:00
in0finite
5d197cd9cf update controls text 2020-05-31 19:09:44 +02:00
in0finite
8a0bbb1319 change size and position of controls window 2020-05-31 19:09:44 +02:00
in0finite
cefcf20510 limit number of messages in console to 200 2020-05-31 19:09:44 +02:00
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