Commit Graph

97 Commits

Author SHA1 Message Date
Joonas Rikkonen 112baf285d (291705dc5) updated drone 2019-05-16 06:56:19 +03:00
Joonas Rikkonen 89dc85adce (6e785d1ae) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 06:56:01 +03:00
Joonas Rikkonen f38aa90847 (546717195) Use the AIObjectiveFightIntruders.IsValidTarget for deciding whether or not the button should flash. 2019-05-16 06:55:43 +03:00
Joonas Rikkonen 5435adc9b4 (6c0663ce1) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 06:55:26 +03:00
Joonas Rikkonen 106c61ca9a (4d3ec7d3b) Fixed: Missing {0} variable from russian localization 2019-05-16 06:55:08 +03:00
Joonas Rikkonen 81fe275299 (c3a729b34) Fix ai reporting only working if there's someone with the appropriate objective. Use the target's hull instead of using the reporter's hull. Take bleeding into account when filtering rescue targets. 2019-05-16 06:54:49 +03:00
Joonas Rikkonen 4c4cac9c39 (b97c9eb63) Restore the escape velocity condition: don't run to walls. 2019-05-16 06:54:31 +03:00
Joonas Rikkonen dbc35568cd (69d6e11bf) shuttle tweaks 2019-05-16 06:53:38 +03:00
Joonas Rikkonen 5453518793 (238bbeef2) Fix find safety not working properly. Decrease the reaction times and cache the current hull safety when the hull safety is updated. 2019-05-16 06:53:04 +03:00
Joonas Rikkonen a2f97bf303 (9cb944db7) Increase the priority modifier of extinguish fires for captain 2019-05-16 06:51:18 +03:00
Joonas Rikkonen 0ba5793b46 (3628de633) Use the visible hulls instead of the current hull in multiple cases. 2019-05-16 06:50:59 +03:00
Joonas Rikkonen 1e41ed6b63 (943a1e25b) Report all visible hulls, but add a dialogue line and icon only for current hull. 2019-05-16 06:50:42 +03:00
Joonas Rikkonen 437465690b (18165dcb9) Propagate hull safety once per second. 2019-05-16 06:50:23 +03:00
Joonas Rikkonen 4c0adb145d (d762b9ca6) Refresh visible hulls once per second. 2019-05-16 06:50:06 +03:00
Joonas Rikkonen d81457e3ef (8348f0003) Report in all the visible hulls (test). 2019-05-16 06:49:48 +03:00
Joonas Rikkonen af7fcb823d (63921aa0d) Implement GetVisibleHulls method. 2019-05-16 06:49:11 +03:00
Joonas Rikkonen 75b9ea6cce (cb3078117) Merged hulls to fix speech issue 2019-05-16 06:46:30 +03:00
Joonas Rikkonen ce02152130 (ef2a86a63) Add a null check. 2019-05-16 06:45:53 +03:00
Joonas Rikkonen 496ee1492c (1fe9abf75) Fix the GetAdjacentHulls method. 2019-05-16 06:45:36 +03:00
Joonas Rikkonen 49b0ee7c50 (de26bb46c) AutoScale CustomInterface texts to prevent overflows 2019-05-16 06:43:54 +03:00
Joonas Rikkonen 3153771cc7 (6f231d0fc) Add generic methods for getting linked map entities. TODO: memory-optimized overload for hulls. 2019-05-16 06:43:33 +03:00
Joonas Rikkonen f01747e822 (773ace2cd) Fixed RagdollParams/AnimationParams GetDefaultPath failing if there are multiple installed content packages that define characters with the same name. TODO: take custom ragdoll/anim paths into account when calculating content package hashes 2019-05-16 06:40:57 +03:00
Joonas Rikkonen 2b95c55070 (5f20d1b76) Remove custom steering logic for stairs, because most of the waypoints going over the stairs don't have stairs assigned to them. Bots shouldn't drop the diving suit if any of the nodes in the path has stairs. Doesn't work well, but it's a minor issue. Don't want to do raycasts here. 2019-05-16 06:40:39 +03:00
Joonas Rikkonen e8ee3f9d18 (18eb9f712) Fix bots stealing items if they happen to target them before somebody equips them. 2019-05-16 06:19:10 +03:00
Joonas Rikkonen 5326dace2b (98af64697) Updated readme file 2019-05-16 06:18:36 +03:00
Joonas Rikkonen bed3afab4b (b7b7e6b02) Rename "courage" to "resolution" and disable it, because it's not yet used anywhere. 2019-05-16 06:18:20 +03:00
Joonas Rikkonen dbb7b175d4 (fc343e73b) Changelog additions 2019-05-16 06:18:03 +03:00
Joonas Rikkonen 8b977ed5c0 (fb180d412) Merge branch 'dev' into human-ai 2019-05-16 06:17:45 +03:00
Joonas Rikkonen 306e3575a8 (95bf20e92) Disable watchman and mechanic variants for the build, because they are not yet quite there. 2019-05-16 06:17:11 +03:00
Joonas Rikkonen 5d38344efc (dc8407cf2) Properly remove reported targets when they are done. Fix get item completing when it shouldn't if the target item was supposed to be equipped. 2019-05-16 06:16:54 +03:00
Joonas Rikkonen 9c964b7843 (7d7010579) Fix ai dialog about not being able to find targets. Use a higher thershold for rescue objectives when it's an order. 2019-05-16 06:14:25 +03:00
Joonas Rikkonen 9ae25de749 (8c8ce5249) Added description of oxygen tank and poison antidotes to englishvanilla 2019-05-16 05:59:05 +03:00
Joonas Rikkonen cb83984e80 (4ca668169) Fixed: Conflict 2019-05-16 05:58:48 +03:00
Joonas Rikkonen 0a67590572 (21a808335) Added: 4k fixes 2019-05-16 05:58:32 +03:00
Joonas Rikkonen 049d3ba795 (e7bd8839d) Remove unused parameters. 2019-05-16 05:51:12 +03:00
Joonas Rikkonen 884360216f (de60c0961) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-16 05:50:56 +03:00
Joonas Rikkonen fd7dfebd3a (50c25dbf6) Added a "back" button that closes the credits, minor credits tweaks 2019-05-16 05:50:39 +03:00
Joonas Rikkonen 5d7cc6599c (9db806bbf) Don't report on targets that have been reported. 2019-05-16 05:49:48 +03:00
Joonas Rikkonen ed49bea3ef (c21615b5b) More optimizations. 2019-05-16 05:48:09 +03:00
Joonas Rikkonen 480bba392c (20fcd3853) Optimizations. 2019-05-16 05:47:52 +03:00
Joonas Rikkonen 068089ae5c (d622ac851) Fix double updates of current orders. 2019-05-16 05:47:36 +03:00
Joonas Rikkonen ce1aa39a4b (b1241e3dd) GUIMessageBoxes use relative sizes 2019-05-16 05:46:12 +03:00
Joonas Rikkonen f8090d470e (5670a7c58) Don't get stuck if cannot use the button. 2019-05-16 05:44:48 +03:00
Joonas Rikkonen 5ec107bf83 (0d96091e5) Adjusted layout spacing on Reactor to make the warning labels slightly more readable on Brazilian Portugese 2019-05-16 05:43:40 +03:00
Joonas Rikkonen 290e86977d (238f46c9e) Fix bots not walking when close enough to the target (only affects go to objectives that are main objectives -> follow order). 2019-05-16 05:43:23 +03:00
Joonas Rikkonen de2246fe57 (e0d673b0d) Test: Don't calculate the distance to the buttons when seeking path. Instead, check the distance when checking the doors. Allows the bots to access the Remora ballast through the door where the button is a bit farther from the door than usually. 2019-05-16 05:42:51 +03:00
Joonas Rikkonen 828150e0ae (9d8f050b8) Added text wrapping to ItemInventory titles and changed pump GUI In/Out text to use a smaller font 2019-05-16 05:42:34 +03:00
Joonas Rikkonen 1d5de494cd (a185ec0cd) Don't report on broken items that have condition above the threshold. Optimize and fix. 2019-05-16 05:41:25 +03:00
Joonas Rikkonen 79d01822d2 (8015dd67d) Show a language selection prompt when launching the game for the first time (WIP) 2019-05-16 05:41:09 +03:00
Joonas Rikkonen 3c11bc2fca (420c429b4) Fix issues in reporting. 2019-05-16 05:40:50 +03:00