Commit graph

234 commits

Author SHA1 Message Date
in0finite
33b8d217aa small fix 2020-05-31 19:09:52 +02:00
in0finite
c5c8f2c75b any NPC ped can be recruited 2020-05-31 19:09:52 +02:00
in0finite
193577d9b5 stalker peds can be recruited 2020-05-31 19:09:52 +02:00
in0finite
c4d9fcc924 read G and H button events 2020-05-31 19:09:52 +02:00
in0finite
ecc17aef6d add button pressed event which uses button name 2020-05-31 19:09:52 +02:00
in0finite
688b2c0015 proper switching to/from sprint state 2020-05-31 19:09:52 +02:00
in0finite
4acc23dacd ignore next collision with first enex too 2020-05-31 19:09:51 +02:00
in0finite
8d93a7f2c5 use small raycast distance when teleporting through enexes 2020-05-31 19:09:51 +02:00
in0finite
5fb330cbb0 raycast distance for finding ground is configurable 2020-05-31 19:09:51 +02:00
in0finite
a1751c7ba4 refactor FindGroundParams 2020-05-31 19:09:51 +02:00
in0finite
a12f8aebc1 ignore next collision with second enex 2020-05-31 19:09:51 +02:00
in0finite
66d1709492 teleport only to different interiors 2020-05-31 19:09:51 +02:00
in0finite
14f9e0bd34 remember first and second enex ; teleport from second enex back to first enex 2020-05-31 19:09:51 +02:00
in0finite
c2c84b4c91 rename var 2020-05-31 19:09:51 +02:00
in0finite
9dd1dad363 log matching enexes 2020-05-31 19:09:51 +02:00
in0finite
028d74331f only teleport to enex's counterpart on server 2020-05-31 19:09:51 +02:00
in0finite
a34e9e27d1 don't ignore collision with enex if current enex is disabled 2020-05-31 19:09:51 +02:00
in0finite
d82c42a906 teleport ped to enex's counterpart when collided 2020-05-31 19:09:51 +02:00
in0finite
c78d25f269 report enex collisions to ped 2020-05-31 19:09:51 +02:00
in0finite
34b92f9980 start radio only for local ped ; and start it from the right place 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
jaan242
c99cf04494 moved speedometer label to the right (#67) 2020-05-31 19:09:51 +02:00
in0finite
362241aace don't call OnSpawn() from PedModel, but instead find ground from Start()
this will make sure that ped's starting position does not change before call to FindGround()
2020-05-31 19:09:50 +02:00
in0finite
615f8d33cd more precise positioning after ground is found 2020-05-31 19:09:50 +02:00
in0finite
a06fd323db when teleporting ped, assign his heading too 2020-05-31 19:09:50 +02:00
in0finite
b2f427b67c assign starting position at the start of coroutine 2020-05-31 19:09:50 +02:00
in0finite
86fa29c345 better log messages 2020-05-31 19:09:50 +02:00
in0finite
a84e5f38dc apply "tryFromAbove" parameter when finding ground 2020-05-31 19:09:50 +02:00
in0finite
60f685dd70 don't assign initial Y position when finding ground 2020-05-31 19:09:50 +02:00
in0finite
25d1e30efa add ability to pass parameters to FindGround() 2020-05-31 19:09:50 +02:00
in0finite
e0f296bfd2 remove default SEO 2020-05-31 19:09:49 +02:00
in0finite
2adea110ab change SEO of scripts which had it configured in code 2020-05-31 19:09:49 +02:00
in0finite
186ba140ed change script execution order for all (?) scripts 2020-05-31 19:09:49 +02:00
in0finite
5a947badfa PlayerController uses UIManagers' onGUI event 2020-05-31 19:09:49 +02:00
in0finite
a384877191 sync aim direction for host's ped 2020-05-31 19:09:49 +02:00
in0finite
fb302bf086 camera distance is configurable 2020-05-31 19:09:48 +02:00
in0finite
b1fc9c8d8c using appropriate input buttons based on whether the ped is driving vehicle or not 2020-05-31 19:09:47 +02:00
in0finite
e6ecbc01e4 remove HUD related code from state class 2020-05-31 19:09:47 +02:00
in0finite
1ad26f11ed implement movement button with arrows 2020-05-31 19:09:47 +02:00
in0finite
0afbaa9d4e aim button works 2020-05-31 19:09:47 +02:00
in0finite
4045311d59 preserve input for some buttons 2020-05-31 19:09:47 +02:00
in0finite
cb7c1418d2 move all HUD drawing functions to BaseScriptState 2020-05-31 19:09:47 +02:00
in0finite
f2b4059c49 add fire button 2020-05-31 19:09:47 +02:00
in0finite
3db52f9849 add action buttons for touch input 2020-05-31 19:09:47 +02:00
in0finite
563f526003 improve movement buttons 2020-05-31 19:09:47 +02:00
in0finite
13f94bf27d don't draw hud when input should not be read 2020-05-31 19:09:47 +02:00
in0finite
2596a88be6 draw touch input for movement 2020-05-31 19:09:47 +02:00
in0finite
8ff92619ff working on touch input 2020-05-31 19:09:47 +02:00
in0finite
986a6a3c74 use custom input in PlayerController 2020-05-31 19:09:47 +02:00
in0finite
de0cb01239 state can draw it's own hud 2020-05-31 19:09:46 +02:00