in0finite
|
fb2f17792e
|
unsupported vehicles will not cause spamming error messages - they are destroyed
|
2021-02-22 22:19:15 +01:00 |
|
in0finite
|
104f627bd3
|
extract into static function
|
2021-02-13 22:52:43 +01:00 |
|
in0finite
|
0d3d8e3dce
|
remove old code
|
2021-02-13 22:44:22 +01:00 |
|
in0finite
|
7b4d256008
|
cache shader property ids
|
2021-02-13 22:38:35 +01:00 |
|
in0finite
|
ec660c368c
|
set vehicle lights' intensity to 0 by default
|
2021-02-13 22:22:03 +01:00 |
|
in0finite
|
2232f4327f
|
fix FPS drop on Android
|
2021-02-13 22:18:27 +01:00 |
|
in0finite
|
f9faff6c67
|
don't detach ragdoll when ped is killed in a vehicle, except if vehicle exploded
|
2021-02-06 21:12:41 +01:00 |
|
in0finite
|
3e73a557f2
|
set vehicle's rigid body CollisionDetectionMode to continuous dynamic
|
2021-02-06 02:39:56 +01:00 |
|
in0finite
|
964a76685e
|
set collision detection mode to ContinuousDynamic - seems that leftover parts no longer can go through ground
|
2021-02-05 23:40:30 +01:00 |
|
in0finite
|
7df6fcd135
|
more limitations on client ...
|
2021-02-05 01:08:07 +01:00 |
|
in0finite
|
93a1c7aaf0
|
use RigidBody's position for syncing, not transform's
|
2021-02-05 01:06:11 +01:00 |
|
in0finite
|
c4699859e1
|
add option to destroy wheel colliders on client
|
2021-02-05 01:04:37 +01:00 |
|
in0finite
|
c6bd9fef9a
|
sync rpm and properly rotate wheel
|
2021-02-04 23:18:01 +01:00 |
|
in0finite
|
b0ec6417c7
|
extract function
|
2021-02-04 23:17:12 +01:00 |
|
in0finite
|
f6fe21cbdb
|
sync y position of wheel
|
2021-02-04 22:21:16 +01:00 |
|
in0finite
|
91bc7547a5
|
don't use gravity and don't detect collisions on client
|
2021-02-04 22:19:34 +01:00 |
|
in0finite
|
9caf2df790
|
set interpolation on vehicle rigid body
|
2021-02-04 22:17:26 +01:00 |
|
in0finite
|
f17824e237
|
reset velocity on clients if it is not synced
|
2021-02-04 22:14:10 +01:00 |
|
in0finite
|
75d9ca5f35
|
when vehicle explodes, all peds inside are killed - this also fixes Unity crash
|
2021-01-05 05:56:39 +01:00 |
|
in0finite
|
85ed0480e6
|
add setting for radio volume
|
2021-01-02 23:22:52 +01:00 |
|
in0finite
|
350f70ac9b
|
don't create hinge joints for vehicle doors
|
2020-12-29 20:58:51 +01:00 |
|
in0finite
|
edceca030f
|
extract function
|
2020-12-29 20:43:33 +01:00 |
|
in0finite
|
74bc44561f
|
remove commented code
|
2020-12-29 20:36:35 +01:00 |
|
in0finite
|
615491aab6
|
use InvariantCulture when (de)serializing colors
|
2020-07-05 22:35:21 +02:00 |
|
in0finite
|
5816570fd2
|
sync color of detached parts
|
2020-07-05 22:33:34 +02:00 |
|
in0finite
|
f926bb7c24
|
send color of detached part
|
2020-07-05 21:39:59 +02:00 |
|
in0finite
|
d5a51d595e
|
newly connected clients can see already existing detached parts
|
2020-07-05 18:37:56 +02:00 |
|
in0finite
|
e959d1c483
|
don't log error if frame is not child of vehicle, because some vehicles have multiple frames with the same name, and this causes error only on client, but not on server
|
2020-07-05 13:42:50 +02:00 |
|
in0finite
|
942453a2a4
|
check if frame is already detached before detaching it - this also fixes a bug on client when he was trying to detach already detached frame
|
2020-07-04 20:12:01 +02:00 |
|
in0finite
|
9c63b25d38
|
log error if frame is not child of vehicle
|
2020-07-04 19:11:39 +02:00 |
|
in0finite
|
96b0ac1f33
|
disable cooking options on MeshCollider
|
2020-07-04 19:11:09 +02:00 |
|
in0finite
|
e47d8d0adf
|
explosion is synced
|
2020-07-04 18:52:23 +02:00 |
|
in0finite
|
798dfd55ed
|
...
|
2020-07-01 23:36:49 +02:00 |
|
in0finite
|
41e5223fc7
|
detached vehicle parts should be synced
|
2020-07-01 23:36:01 +02:00 |
|
in0finite
|
6725e3ce57
|
do some logic only on server
|
2020-07-01 19:36:39 +02:00 |
|
in0finite
|
96829ef506
|
sync vehicle's health
|
2020-07-01 19:31:06 +02:00 |
|
in0finite
|
2e0108d662
|
cleanup code
|
2020-07-01 19:25:59 +02:00 |
|
in0finite
|
395bcdcf4b
|
add some commented code related to petrolcap
|
2020-07-01 18:53:15 +02:00 |
|
in0finite
|
d6c79434a4
|
cache petrolcap transform
|
2020-06-29 21:57:44 +02:00 |
|
in0finite
|
ec43361325
|
play explosion sound
|
2020-06-29 19:08:04 +02:00 |
|
in0finite
|
99c1cf8ecc
|
ped can not be damaged by explosion while he is in vehicle
|
2020-06-29 17:50:33 +02:00 |
|
in0finite
|
47c44355ba
|
replace ExplosionPhysicsForce script from Standard Assets with custom script
|
2020-06-28 20:32:30 +02:00 |
|
in0finite
|
f865dd0051
|
vehicle's max health is calculated as power function of mass
|
2020-06-28 16:44:32 +02:00 |
|
in0finite
|
bfdb8a5ba0
|
use curve for adjusting damage over distance
|
2020-06-28 16:35:35 +02:00 |
|
in0finite
|
ba4e10bb3a
|
explosion damage amount is a power function
|
2020-06-27 22:50:50 +02:00 |
|
in0finite
|
bc605534e6
|
draw gizmos sphere indicating explosion damage radius
|
2020-06-27 22:40:51 +02:00 |
|
in0finite
|
b6b2037e97
|
explosion strength and upward modifier are proportional to squared root of vehicle's mass
|
2020-06-22 03:05:42 +02:00 |
|
in0finite
|
8871702e5b
|
make some parameters configurable
|
2020-06-21 23:35:39 +02:00 |
|
in0finite
|
9678faa18a
|
inflict damage to nearby objects
|
2020-06-21 18:21:15 +02:00 |
|
in0finite
|
b2af2ade90
|
add stats about vehicle's damage
|
2020-06-21 16:35:39 +02:00 |
|