Commit graph

211 commits

Author SHA1 Message Date
in0finite
0e4bd013e1 fix 2022-01-04 21:27:30 +01:00
in0finite
371e5348a6 ... 2022-01-04 19:00:08 +01:00
in0finite
8bf6157183 play sound while panicing 2022-01-04 18:52:27 +01:00
in0finite
eec25605ad implement Panic state 2022-01-02 23:22:19 +01:00
in0finite
6a4dbf12ef implement Surrender state 2022-01-02 21:52:31 +01:00
in0finite
8b4daaffcb perform under-aim detection on time interval 2022-01-01 23:42:38 +01:00
in0finite
126b8e60b4 extract function 2022-01-01 22:42:31 +01:00
in0finite
15897d8656 detect when ped is under aim of other ped 2022-01-01 22:28:32 +01:00
in0finite
1fb28ff19a extract function 2022-01-01 17:37:48 +01:00
in0finite
260caa8bb4 ... 2022-01-01 01:08:56 +01:00
in0finite
8ddcb62ac8 improve switching from aiming states to non-aiming states 2021-12-27 00:39:59 +01:00
in0finite
abac2b54f5 smooth out switching between aim movement states 2021-12-26 23:16:14 +01:00
in0finite
6037568f0a extract function 2021-12-26 21:50:31 +01:00
in0finite
489d733ba4 smooth out aiming with AWA weapons 2021-12-26 20:55:58 +01:00
in0finite
366802644f fix 2021-12-19 23:23:20 +01:00
in0finite
066835cd78 smooth out exiting from drive-by state 2021-12-19 23:19:58 +01:00
in0finite
a873cc7e21 smooth out switching to Jump state 2021-12-19 22:41:07 +01:00
in0finite
f8e8f4aeb8 smooth out switching between crouch states and stand state 2021-12-19 22:13:34 +01:00
in0finite
b9a57dd79e extract function 2021-12-19 21:17:31 +01:00
in0finite
a206f27242 introduce ICrouchState 2021-12-19 20:22:39 +01:00
in0finite
3aa4175f09 fix for crouching states aswell 2021-12-19 20:16:03 +01:00
in0finite
d9acfbb431 smooth out switching between movement states 2021-12-19 02:01:13 +01:00
in0finite
75619c21a1 ... 2021-12-19 01:17:00 +01:00
in0finite
f4d1674744 fix crouch state aswell 2021-12-18 17:46:58 +01:00
in0finite
0214244ee3 smooth out switching from aim to non-aim states 2021-12-18 17:16:40 +01:00
in0finite
bef07417b3 add logic for waiting before switching to aim states 2021-12-18 16:00:02 +01:00
in0finite
944ef746bf cache aim states for ped 2021-12-18 15:56:48 +01:00
in0finite
59edc1b3c0 store LastTimeWhenActivated and LastTimeWhenDeactivated for each state 2021-11-21 21:36:55 +01:00
in0finite
277d8f47c8 smooth out drive-by anim changing 2021-10-17 21:00:35 +02:00
in0finite
beaf2d5484 fix 2021-10-17 20:53:34 +02:00
in0finite
972ee0a873 add ped damage multiplier 2021-10-17 20:30:23 +02:00
in0finite
197b0d58ff dont quickly switch between drive-by and sitting states 2021-10-17 19:36:15 +02:00
in0finite
47eb0553b8 fix error 2021-09-26 20:21:14 +02:00
in0finite
5e08419ac8 change namespace 2021-09-19 20:09:11 +02:00
in0finite
7cdf2def5c remove PedStalker script 2021-09-11 18:04:50 +02:00
in0finite
378a92794d ... 2021-05-02 23:02:04 +02:00
in0finite
0589ccb039 exit aim & fire states if ped is not holding a weapon 2021-02-23 00:10:11 +01:00
in0finite
9e7378d1ca exit drive-by state if ped doesn't have gun weapon 2021-02-22 23:20:01 +01:00
in0finite
7e97945021 add Ped.onDamaged event 2021-02-19 02:55:09 +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
3267daa543 state classes handle killing of ped 2021-02-06 21:11:14 +01:00
in0finite
17f6aaeeda peds are killed with a separate function ; ragdoll is detached only when peds are killed, not destroyed 2021-01-05 05:18:47 +01:00
in0finite
d6d5d660cf wip on ragdoll 2021-01-04 01:28:58 +01:00
in0finite
99c1cf8ecc ped can not be damaged by explosion while he is in vehicle 2020-06-29 17:50:33 +02:00
in0finite
e5c6144706 ped damage handling is done by State classes 2020-06-29 17:12:48 +02:00
in0finite
fe557282eb fix for recruiting peds 2020-06-05 23:49:50 +02:00
in0finite
03a0f5c35e extract method 2020-06-05 23:22:30 +02:00
in0finite
d37d601082 peds can not damage other peds in the same vehicle 2020-06-03 02:12:40 +02:00
in0finite
cb495440cd fix camera being blocked by vehicle's high detail meshes 2020-06-03 00:27:18 +02:00
in0finite
71d18bbe6d change way of specifying which object should be ignored when raycasting - peds can not damage other peds in the same vehicle 2020-06-01 14:58:51 +02:00