Joonas Rikkonen
|
a9ad6d0504
|
(02db081a3) Fixed treatment suggestions not working correctly for some items because they were using incorrect affliction identifiers (there's no affliction with the identifier "damage"). Now the treatments can be defined using either the identifier or type of the affliction.
|
2019-04-15 12:05:34 +03:00 |
|
Joonas Rikkonen
|
921e4ef818
|
(aff19d6cd) Don't reset the hull timer if cannot complete the divinggearobjective, because it might cause performance issues. Reduce the timer instead so that new hull is searched once per sec at max.
|
2019-04-15 12:05:20 +03:00 |
|
Joonas Rikkonen
|
a3344fc23b
|
(01ee2b7fd) More pronounced limping animation, don't restrict movement as much when legs are heavily damaged
|
2019-04-15 12:05:07 +03:00 |
|
Joonas Rikkonen
|
29f902f0bb
|
(18bb55660) Add unreachable targets on the unreachables list. Reset the list when a new combat objective begins. Don't immediately find a new hull target if the current hull is unsafe. Instead wait a sec at max. Fixes #1417.
|
2019-04-15 12:01:48 +03:00 |
|
Joonas Rikkonen
|
cc0e217e82
|
(e1476e522) Cleanup.
|
2019-04-15 12:01:32 +03:00 |
|
Joonas Rikkonen
|
e8c67f94c3
|
(a8e725a96) Optimized AIObjectiveFindSafety.FindBestHull. TODO: optimize further, causes huge lag spikes if the character can't find a path (see #1417)
|
2019-04-15 12:01:04 +03:00 |
|
Joonas Rikkonen
|
b705b1579c
|
(c12fe7d80) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-15 12:00:49 +03:00 |
|
Joonas Rikkonen
|
b4ec36f5bb
|
(2fc72545e) new texts regarding missions and beacons.
|
2019-04-15 12:00:35 +03:00 |
|
Joonas Rikkonen
|
455fbb013f
|
(158a62970) Don't allow to replace an existing character. TODO: should make this possible later on, but requires additional logic. Fixes #1375.
|
2019-04-15 12:00:21 +03:00 |
|
Joonas Rikkonen
|
d7e41d95af
|
(bb287fabc) Decreased simple physics distance, sonar now displays characters that are in simple physics mode
|
2019-04-11 18:28:38 +03:00 |
|
Joonas Rikkonen
|
a57b7184fb
|
(f6c34b377) Fix crawlers not reacting to any targets if properly latched on walls.
|
2019-04-11 18:26:42 +03:00 |
|
Joonas Rikkonen
|
9b0e0ab278
|
(ec990ac7c) Save chatbox & crew menu toggle state between rounds
|
2019-04-11 18:26:26 +03:00 |
|
Joonas Rikkonen
|
e7e858c05b
|
(db7e4d6d5) Fix "crawler balling" caused by crawlers taking damage when targeting the sub and not yet latched on it.
|
2019-04-11 18:25:58 +03:00 |
|
Joonas Rikkonen
|
21cc6001d4
|
(fc63971e1) Implement disabling the enemy ai. Fix enablecrewai command.
|
2019-04-11 18:25:29 +03:00 |
|
Joonas Rikkonen
|
3eaec8bbc6
|
(c490f5118) Fixed bots not appearing to use repair tools or weapons client-side when repairing something or attacking (i.e. they aimed the item but never fired/used it)
|
2019-04-11 18:24:01 +03:00 |
|
Joonas Rikkonen
|
3877c18d0c
|
(c15419d90) Changelog additions + merge fix
|
2019-04-08 19:20:05 +03:00 |
|
Joonas Rikkonen
|
71d546ff7f
|
(f36b3a111) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-08 19:17:50 +03:00 |
|
Joonas Rikkonen
|
5a9b681c13
|
(8c99939f6) Fix bots dropping from ladders if there is a non-ladder node in the path (Especially on Typhon). The distance check was incorrect, but after correcting it, I decided that it probably causes more issues than it solves. If there is one node in the path that is not in the current ladder, but the node after that is, we can just follow the path to the node that is on the ladders. Remove an unnecessary IgnorePlatforms assignment. It's handled in the HumanAIController.
|
2019-04-08 19:17:35 +03:00 |
|
Joonas Rikkonen
|
eb6e919c66
|
(f832e24f5) Prevent bots jumping from too high.
|
2019-04-08 19:17:20 +03:00 |
|
Joonas Rikkonen
|
9a829206af
|
(2c264b075) Improve readability (no functional changes).
|
2019-04-08 19:17:06 +03:00 |
|
Joonas Rikkonen
|
5876097da4
|
(4b07ea1ca) Removed unused method from HumanoidAnimController
|
2019-04-08 19:16:51 +03:00 |
|
Joonas Rikkonen
|
28f2c00255
|
(02bbfb6a3) Let the ai objectives handle waiting (after switching characters). Currently only idle objective uses wait timer, others ignore it. Reduce the wait time from 20 to 10 secs.
|
2019-04-08 15:59:36 +03:00 |
|
Joonas Rikkonen
|
1ffe3e4ec0
|
(6b95aa87e) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-08 13:36:44 +03:00 |
|
Joonas Rikkonen
|
2efcd200f5
|
(17490598f) Don't allow putting items into locked inventories by double-clicking (causes them to be dropped in multiplayer)
|
2019-04-08 13:36:30 +03:00 |
|
Joonas Rikkonen
|
10776572d2
|
(0eef99a8b) Don't change targets, wander or stay still in ladders. Don't stay still in water. Improve bot behavior in close spaces.
|
2019-04-08 13:36:16 +03:00 |
|
Joonas Rikkonen
|
9c07ebda53
|
(8311f9380) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-08 13:36:00 +03:00 |
|
Joonas Rikkonen
|
d28b04ed3b
|
(30308f7e4) Fixed players being able to overwrite vanilla content when the vanilla package is not selected
|
2019-04-08 13:35:46 +03:00 |
|
Joonas Rikkonen
|
8a227a4f2c
|
(570318151) Cleanup.
|
2019-04-08 13:34:48 +03:00 |
|
Joonas Rikkonen
|
935cd6bc65
|
(235745275) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-08 12:06:09 +03:00 |
|
Joonas Rikkonen
|
36d6cdcca4
|
(2f52a4bfd) Fix the raycast check in for the end nodes. Partial fix to #1343.
|
2019-04-08 12:02:30 +03:00 |
|
Joonas Rikkonen
|
47ee14227e
|
(551008fc1) Abandon FixLeakObjective when the goto subobjective cannot be completed. Reset AIObjectiveLoops when the objective is activated or added. Don't clear ignored targets periodically by default. Calculate AIObjectiveGoTo CloseEnough when the objective is created. Don't use arm length in CloseEnough, because it's not used in range checks. Partial fixes to #1343.
|
2019-04-08 12:01:54 +03:00 |
|
Joonas Rikkonen
|
55eecc49d8
|
(842e6af33) Human AI needs AITargets too (not much, but they are still useful). Therefor add Type property to AITargets, so that certain targets can be treated human only and others enemy only. Implement target filtering in the Enemy AI Controller.
|
2019-04-08 11:58:50 +03:00 |
|
Joonas Rikkonen
|
33b205b1c7
|
(3300d3915) When searching for a new room to move to, AIObjectiveIdle only attempts to find a path to one potential room per frame. Fixes lag spikes caused by idling NPCs (was particularly noticeable if the character was in a room with no way out). Closes #1397
|
2019-04-07 21:44:15 +03:00 |
|
Joonas Rikkonen
|
7ffcee3075
|
(df011a643) Fixed affliction source not being copied when creating a list of merged afflictions. Prevented affliction-based causes of death from getting the "killer" field assigned correctly, which prevented some afflictions from being unlocked.
|
2019-04-07 13:41:34 +03:00 |
|
Joonas Rikkonen
|
1297127ae2
|
(0be4bd31d) Todo note about idling characters killing the framerate (see #1397)
|
2019-04-07 13:41:07 +03:00 |
|
Joonas Rikkonen
|
d15a88c619
|
(3e8bdbb0a) v0.8.9.9 + merge fix
|
2019-04-06 17:54:39 +03:00 |
|
Joonas Rikkonen
|
14d0daf16d
|
(ccef21f63) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-06 17:49:31 +03:00 |
|
Joonas Rikkonen
|
45c1ed499a
|
(e326112f5) Increased discharge coil sound range and added camera shake to make it more noticeable when it's used
|
2019-04-06 17:49:18 +03:00 |
|
Joonas Rikkonen
|
0725e1c4b2
|
(1d7e76d1f) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-06 17:46:55 +03:00 |
|
Joonas Rikkonen
|
f958f5fb44
|
(248ac43ed) Added inventory icons for Physicorium items armor, helmet, ammunition box and spear + normal and explosive spear (not yet implemented)
|
2019-04-06 17:46:42 +03:00 |
|
Joonas Rikkonen
|
6fed28e80b
|
(b00ce5ec2) Fixed character's feet levitating when standing at the base of a staircase without climbing it. Closes #1275
|
2019-04-05 16:21:41 +03:00 |
|
Joonas Rikkonen
|
a3ff707a31
|
(cf99ace8a) Fix bots entering the combat state if taking damage from falling etc.
|
2019-04-05 16:21:12 +03:00 |
|
Joonas Rikkonen
|
69c414dfc9
|
(34cca982f) Steering tweaks that should fix bots not being able to proceed on ladders when the next waypoint is not on the ladder but the one after that is.
|
2019-04-05 16:20:58 +03:00 |
|
Joonas Rikkonen
|
25768d8845
|
(4b54fb4bf) Refactor AIObjectiveCombat and the reactions to the damage. Fixes bots not reacting to any damage done with repair tools. Now they should flee (but not retaliate).
|
2019-04-05 16:20:11 +03:00 |
|
Joonas Rikkonen
|
501a114000
|
(4119dec1c) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-05 16:19:55 +03:00 |
|
Joonas Rikkonen
|
d7364171fb
|
(e31a38ae1) Fixed spritebatch not being disposed when saving submarine preview images, don't reload all subs when saving a sub
|
2019-04-05 16:19:40 +03:00 |
|
Joonas Rikkonen
|
161f725778
|
(2b36813ef) Added Back button to submarine editor
|
2019-04-05 16:19:07 +03:00 |
|
Joonas Rikkonen
|
8f42801c7a
|
(2d473d38a) Add RequireAimToUse checks for being logical and for future. Shouldn't have any functional implications in the current version, but we could have RepairTools or Weapons that don't require aiming.
|
2019-04-05 16:18:52 +03:00 |
|
Joonas Rikkonen
|
350e6d6036
|
(5c39920a7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-04-05 16:18:37 +03:00 |
|
Joonas Rikkonen
|
aef3a96d60
|
(cb01ae2fe) Small adjustments to Sub Editor entity list
|
2019-04-05 16:18:23 +03:00 |
|