Commit graph

442 commits

Author SHA1 Message Date
bgkillas
bf6f1d2b76 add a missing not in notplayer ai 2024-08-11 09:50:14 -04:00
IQuant
554f14ca44 Fix crash when nonexistant material is added. 2024-08-11 13:57:25 +03:00
bgkillas
c27b56bfff make notplayer ai significantly smarter 2024-08-11 02:00:08 -04:00
bgkillas
918f5fbf66 dont give notplayer teleportitis perks as they teleport him to 0,0 2024-08-10 17:12:29 -04:00
IQuant
3a984bda72 Make notplayer not pickup items 2024-08-10 23:09:30 +03:00
bgkillas
3f31f9313c stop notplayer from shooting if they cant properly target a player 2024-08-10 16:06:39 -04:00
bgkillas
36d47d8dc4 aim at player if they are visible better as notplayer 2024-08-10 14:51:35 -04:00
IQuant
e102c7bd35 Make a check for target still being alive 2024-08-10 20:41:51 +03:00
IQuant
dd982f2736 Mark that as a different version, as net protocol has changed. 2024-08-10 15:19:30 +03:00
IQuant
c193482098 Clippy approved 2024-08-10 15:18:52 +03:00
IQuant
1d1cf35e93 Cleanup, remove unused code left from an old iteration of world sync. 2024-08-10 15:13:52 +03:00
IQuant
588e4cf2bc Automated commit: v0.18.1 2024-08-10 15:00:16 +03:00
IQuant
8727773ba6 Remove AudioListenerComponent on notplayers when sending them to clients. 2024-08-10 10:54:11 +03:00
bgkillas
b609b8a683 dont pass over eat your vegtables perk, rename notplayer tag 2024-08-09 16:33:12 -04:00
bgkillas
a3aa119c73 fix notplayers shooting each other, dont compare number to nil with last_length 2024-08-09 16:08:42 -04:00
bgkillas
ec8792cbbe have notplayer aim at last player seen 2024-08-09 15:45:10 -04:00
IQuant
4ef1243e4f
Merge pull request #100 from bgkillas/master
have notplayer target better with more then 2 players
2024-08-09 22:14:52 +03:00
bgkillas
e2d27a765d kick if close 2024-08-09 15:08:30 -04:00
bgkillas
2f320a3ef7 check if wall is in the way for target choice 2024-08-09 14:52:11 -04:00
Mikael Walhelm
966e3c3e97
forgot to uncomment code 2024-08-09 14:07:52 -04:00
bgkillas
afea4c3e12 target better with more then 2 players 2024-08-09 14:04:42 -04:00
IQuant
bda699069e Add a note about respawn mechanic. 2024-08-09 18:25:39 +03:00
IQuant
bd876354ca Add respawn perk back to pool. 2024-08-09 18:23:49 +03:00
IQuant
8a473f2ee8 Do not shoot at player through walls. 2024-08-09 18:02:59 +03:00
IQuant
3becca709d Cleanup 2024-08-09 17:41:59 +03:00
IQuant
ad4ab0ff14 Fix clients dying on host side. 2024-08-09 17:19:46 +03:00
IQuant
8901ac7f63 Some basic movement logic, sync notplayer's perks to other players. 2024-08-09 17:03:57 +03:00
IQuant
df206de096 Adjust aim 2024-08-09 16:13:56 +03:00
IQuant
774eb73242 Make notplayer be able to shoot. 2024-08-09 15:43:56 +03:00
IQuant
42f359478e Add bossbar to notplayers 2024-08-09 14:07:27 +03:00
IQuant
5eff10df37 Return the inventory ui for notplayer. 2024-08-09 13:44:33 +03:00
IQuant
0dc0cb1d50 Try to find attack wand. 2024-08-09 13:13:08 +03:00
IQuant
dff7db3464 Fix being able to take control of notplayer after pausing and unpausing. 2024-08-09 12:29:45 +03:00
IQuant
47beb6b923 Fix swapping back to player didn't work after game restart. 2024-08-09 12:28:26 +03:00
IQuant
1c2e632f5a Do the aiming. 2024-08-09 12:13:13 +03:00
IQuant
366f67c09f Add ew_client tag in polymorph sync. 2024-08-09 11:33:57 +03:00
IQuant
2452f84bdf Remove ew_current_player tag, mostly unnecessary. 2024-08-09 11:32:09 +03:00
IQuant
533635d01f Start working on notplayer's ai 2024-08-09 11:31:16 +03:00
IQuant
fd3393db7e Repaint arms, remove cape. 2024-08-08 20:46:09 +03:00
IQuant
3f5c0deffd New arrows for notplayers 2024-08-08 17:28:04 +03:00
IQuant
e389b87e78 Copy perks to notplayers 2024-08-08 16:49:36 +03:00
IQuant
cece4fe7f8 Skip applying some perk patches in local health mode. 2024-08-08 16:06:48 +03:00
IQuant
1a2c87b916 Add an enfect and some invulnerability on switch 2024-08-08 15:34:07 +03:00
IQuant
29f6b28b23 Made notplayer attackable by players and vice-versa. 2024-08-08 15:20:53 +03:00
IQuant
589fd0f4aa Don't respond to welcome packets when run is over. Fixes a crash. 2024-08-08 14:30:09 +03:00
IQuant
406383f475 Actually, just disable inputs to ControlComponents, no special case required anymore. 2024-08-08 14:28:04 +03:00
IQuant
1e387faf30 I forgot to add not 2024-08-08 14:16:47 +03:00
IQuant
1c55250ac7 Fix one of the crashes. 2024-08-08 14:11:59 +03:00
IQuant
6014566bdf Add game over condition (but game crashes for some reason now) 2024-08-08 12:34:21 +03:00
IQuant
3c3ebb78c1
Merge pull request #98 from bgkillas/master
remove world sync version option, update packages
2024-08-08 11:04:23 +03:00