Commit graph

210 commits

Author SHA1 Message Date
in0finite
ec89abedd8 attach rocket model 2020-12-21 01:50:31 +01:00
in0finite
536c275a5e display rocket crosshair 2020-12-21 01:00:05 +01:00
in0finite
9ee8f0dfac implement reloading time - all weapons have it set to 0, except rockets 2020-12-20 22:27:29 +01:00
in0finite
86e1187b5c implement base projectile system 2020-12-20 21:51:59 +01:00
Antonio Alexandru Ganea
c3aebc3826
RCON Support (#96)
* Added RCON dotnet submodule

* RCON Manager

* RCON works

* Switched inter-thread passing from tasks callbacks to BlockingCollection

* Cleanup

* Config based rcon port and password

* RCON is disabled by default in config

* Added SanAndreasUnity.RCON namespace to CommandInterpreter

* Pass command to main thread first and report progress afterwards

* Minor cleanup

* Removed InvalidOperationException as it was never possible

* Moved OnLoaderFinished code in RCONManager

* Added RCONManager script to prefab

* Added meta files
2020-11-01 23:51:03 +01:00
in0finite
e47d8d0adf explosion is synced 2020-07-04 18:52:23 +02:00
in0finite
41e5223fc7 detached vehicle parts should be synced 2020-07-01 23:36:01 +02:00
in0finite
ec43361325 play explosion sound 2020-06-29 19:08:04 +02:00
in0finite
47c44355ba replace ExplosionPhysicsForce script from Standard Assets with custom script 2020-06-28 20:32:30 +02:00
in0finite
bfdb8a5ba0 use curve for adjusting damage over distance 2020-06-28 16:35:35 +02:00
in0finite
f00b7b7601 adjust explosion parameters 2020-06-22 03:20:44 +02:00
in0finite
4b6223a025 change some params 2020-06-21 16:20:16 +02:00
in0finite
44fe30d8df don't apply explosion force 2 times 2020-06-21 15:33:19 +02:00
in0finite
aaf9af8c3f destroy explosion when particle systems finish 2020-06-21 14:56:21 +02:00
in0finite
07d802ce8f add explosion VFX and explosion physics force 2020-06-21 14:15:20 +02:00
in0finite
c56dad1950 flame VFX done 2020-06-21 01:24:19 +02:00
in0finite
ea6e45b593 smoke VFX done 2020-06-21 00:33:55 +02:00
in0finite
41856f3def vehicle explosion logic done - vehicle parts are detached, have rigid bodies, and explosion force is applied to them 2020-06-20 16:16:11 +02:00
in0finite
ba9318d594 change default text to empty 2020-06-06 20:03:43 +02:00
in0finite
1016a18c80 add OnScreenMessage script to prefab 2020-06-06 18:41:32 +02:00
in0finite
394348745e converting on-screen messages to uGUI 2020-06-06 18:09:26 +02:00
in0finite
78319b501b set correct layer mask for finding ground - fixes a bug for ped always spawning at initial position, because ray was hitting ragdoll colliders 2020-06-06 16:55:57 +02:00
in0finite
e740307084 change projectile raycast mask 2020-06-03 00:41:39 +02:00
in0finite
cb495440cd fix camera being blocked by vehicle's high detail meshes 2020-06-03 00:27:18 +02:00
in0finite
23e75f180c change camera aim offset 2020-06-02 23:50:30 +02:00
in0finite
2fec510ce3 display inflicted damage as on-screen message 2020-05-31 19:09:58 +02:00
in0finite
f2c9e5ff75 inflict damage based on part of body that was hit 2020-05-31 19:09:57 +02:00
in0finite
b203a0b667 weapon's projectile raycasts are made against ped bones 2020-05-31 19:09:57 +02:00
in0finite
ce6cc33d97 re-save prefab 2020-05-31 19:09:57 +02:00
in0finite
15711064c4 change width of radio station label 2020-05-31 19:09:57 +02:00
in0finite
5237c849ba display radio station name 2020-05-31 19:09:57 +02:00
in0finite
9dd132532b don't send navigation events because it's buggy and can send events to invisible UI objects 2020-05-31 19:09:57 +02:00
in0finite
3d81bd25ca use RawImage for minimap texture 2020-05-31 19:09:56 +02:00
in0finite
96dd3fe706 set Z position of some minimap elements to 0 2020-05-31 19:09:56 +02:00
in0finite
190178fac5 disable FPS text and texture by default 2020-05-31 19:09:56 +02:00
in0finite
1ebf03dcb6 change default camera distance from ped and vehicle 2020-05-31 19:09:56 +02:00
in0finite
3b7d466ba6 move speedometer a little to the right 2020-05-31 19:09:56 +02:00
in0finite
e1a6fd9201 change transparency and highlighted/pressed color for main menu buttons, pause menu buttons, chat input 2020-05-31 19:09:56 +02:00
in0finite
ae273868d3 change highlighted and pressed color for main menu button 2020-05-31 19:09:56 +02:00
in0finite
5188399ff8 change object names 2020-05-31 19:09:56 +02:00
in0finite
54b4763f9a uncheck raycasttarget 2020-05-31 19:09:56 +02:00
in0finite
674662635e re-save prefab 2020-05-31 19:09:56 +02:00
in0finite
b1f6c2b8fa convert zone name 2020-05-31 19:09:55 +02:00
in0finite
e415d019fc use RawImage for player icon 2020-05-31 19:09:55 +02:00
in0finite
d404419d5f minimap seems to be converted 2020-05-31 19:09:55 +02:00
in0finite
811c28aa98 enable minimap canvases 2020-05-31 19:09:55 +02:00
in0finite
592de8bc7d use 1 bool to control if FPS should be updated 2020-05-31 19:09:55 +02:00
in0finite
dc283954e5 don't display FPS by default 2020-05-31 19:09:55 +02:00
in0finite
d5ca8ac00d change color of labels to white 2020-05-31 19:09:55 +02:00
in0finite
b4b524f9c2 fix chat display 2020-05-31 19:09:55 +02:00
in0finite
761fb9383c chat display almost finished 2020-05-31 19:09:55 +02:00
in0finite
40e8f6386d change color of FPS text 2020-05-31 19:09:55 +02:00
in0finite
6fbb632eb6 change sort order of canvases 2020-05-31 19:09:55 +02:00
in0finite
fcbf323219 convert FPS display 2020-05-31 19:09:55 +02:00
in0finite
bd2d9489db improve chat input field 2020-05-31 19:09:55 +02:00
in0finite
5143587b01 improve button container in pause menu 2020-05-31 19:09:55 +02:00
in0finite
709f2e8ede some UI adjustments 2020-05-31 19:09:55 +02:00
in0finite
101069ce0a convert speedometer 2020-05-31 19:09:55 +02:00
in0finite
7243560fe0 convert ped state label 2020-05-31 19:09:54 +02:00
in0finite
c7111469fb re-save prefabs 2020-05-31 19:09:54 +02:00
in0finite
93398fb2fb weapon image, weapon ammo, and healthbar are working 2020-05-31 19:09:54 +02:00
in0finite
9993959810 adapt main menu to MenuBar 2020-05-31 19:09:54 +02:00
in0finite
33b57668dd restore canvas statuses 2020-05-31 19:09:54 +02:00
in0finite
6786ab5e76 convert chat input 2020-05-31 19:09:54 +02:00
in0finite
147abe2af6 convert pause menu label 2020-05-31 19:09:54 +02:00
in0finite
e6b3a9f300 menu entries are now components ; fix sorting of menu entries ; 2020-05-31 19:09:54 +02:00
in0finite
29920c8bfa adjust size and position of menu bar 2020-05-31 19:09:54 +02:00
in0finite
0b62ec3c0a remove test button from prefab 2020-05-31 19:09:54 +02:00
in0finite
1185732b28 first working version of new pause menu 2020-05-31 19:09:54 +02:00
in0finite
541f4c333a create canvas for pause menu 2020-05-31 19:09:54 +02:00
in0finite
3b9b41794a delete pausemenu prefab ; group all windows at one game object ; 2020-05-31 19:09:54 +02:00
in0finite
13d3418fef extract "Settings" game object to a prefab 2020-05-31 19:09:54 +02:00
in0finite
439353e588 reduce font size again 2020-05-31 19:09:54 +02:00
in0finite
87313b1b7b reduce font size for main menu button 2020-05-31 19:09:54 +02:00
in0finite
9d76c56ac0 re-enable canvas for touch input 2020-05-31 19:09:54 +02:00
in0finite
477bab3d31 create custom event system which makes it possible to use imGUI and new UI at the same time 2020-05-31 19:09:54 +02:00
in0finite
b4d48ac4c7 change button color 2020-05-31 19:09:54 +02:00
in0finite
bea171a7e6 dynamically adjust font size of button text 2020-05-31 19:09:53 +02:00
in0finite
76aad79d40 only enable main menu canvas in startup scene 2020-05-31 19:09:53 +02:00
in0finite
540e6a83f5 some adjustments 2020-05-31 19:09:53 +02:00
in0finite
dbbcdb4e80 convert Exit button 2020-05-31 19:09:53 +02:00
in0finite
d0138fcca7 convert logo 2020-05-31 19:09:53 +02:00
in0finite
b2ee510576 convert background 2020-05-31 19:09:53 +02:00
in0finite
6b58fdf964 main menu buttons almost done 2020-05-31 19:09:53 +02:00
in0finite
552e4453e0 remove GXT window because GXT is not loaded currently 2020-05-31 19:09:53 +02:00
in0finite
a217af283a re-save ped prefab 2020-05-31 19:09:53 +02:00
in0finite
886edc3084 adjust camera focus position and camera distance 2020-05-31 19:09:53 +02:00
in0finite
a2e9d3f971 camera offset is configurable 2020-05-31 19:09:53 +02:00
in0finite
212d1187ff drive-by firing WIP 2020-05-31 19:09:53 +02:00
in0finite
e50a1e70e2 drive-by WIP 2020-05-31 19:09:52 +02:00
in0finite
aec5a46ccd add scripts to prefab 2020-05-31 19:09:51 +02:00
in0finite
ace5f0d444 attach scripts to prefabs 2020-05-31 19:09:51 +02:00
in0finite
c3382928c2 implement network discovery 2020-05-31 19:09:51 +02:00
jaan242
92bbc4bd53 radio (#69)
* radio

* radio 2

* radio 3

* radio 4
2020-05-31 19:09:51 +02:00
in0finite
b9d409a31c improve enex look ; enex can be animated 2020-05-31 19:09:50 +02:00
in0finite
4b6c42ef61 create enex objects from prefab 2020-05-31 19:09:50 +02:00
in0finite
22c0f06d12 change default IP address in JoinGame window 2020-05-31 19:09:49 +02:00
in0finite
fca5096eba some GXT fixes 2020-05-31 19:09:49 +02:00
AlexWei
e236f7d032 Import gxt (#23)
* import GTX code

import GTX code
add some empty function before integrate

* set gtx path

* refactor code

* fix typo and ui prefab

change gtx to gxt

remove window from start scene and add it in prefab

* add language interface

add language interface;
add some todo comments;
change file tab; make it consistent with project.

* fix game path and typo

add test ui

* add ui part

* fix set gui style pos

it will cause bug in ctor

* add pages to gxt ui

* revert changes to startup scene
2020-05-31 19:09:49 +02:00
in0finite
6da3108432 don't disable vehicle's rigid body 2020-05-31 19:09:48 +02:00