Joonas Rikkonen
|
ab2ca90d08
|
(900eddc26) Take the priority modifier in account when calculating the priority, not the max value.
|
2019-05-16 05:13:03 +03:00 |
|
Joonas Rikkonen
|
3c8707fc16
|
(d9d8b0f27) Always display waypoint ids in debug draw. Adjust the positions and the colors.
|
2019-05-16 05:12:44 +03:00 |
|
Joonas Rikkonen
|
e06a473b41
|
(a63bd205d) Adjust automatic order priority modifiers.
|
2019-05-16 05:12:24 +03:00 |
|
Joonas Rikkonen
|
019712ef66
|
(829458a66) Don't apply priority modifier on the priority value, because it's already applied to the max value. The priority value should be normalized, because we are using the lerp.
|
2019-05-16 05:12:07 +03:00 |
|
Joonas Rikkonen
|
dbccd76613
|
(c6ca0ef58) Recreate objectives when the bot is dismissed.
|
2019-05-16 05:11:49 +03:00 |
|
Joonas Rikkonen
|
de8a23f687
|
(1137f730e) Instead of forcing the looping objectives to use the average, let them decide the method of evaluating the targets. Use the highest priority for now.
|
2019-05-16 05:11:32 +03:00 |
|
Joonas Rikkonen
|
759e4aee0d
|
(96ccafd88) Fix the goto objective not always completing because of too high NearEnough value.
|
2019-05-16 05:11:17 +03:00 |
|
Joonas Rikkonen
|
9a1e7f8212
|
(1c6954251) Add IsLoop property. Fixes operate item orders being removed when they are done. Instead of calling loopable objectives done, let's just use the priority system.
|
2019-05-16 05:11:01 +03:00 |
|
Joonas Rikkonen
|
781fd44a8c
|
(4efa46ffe) Limit the base priority due to devotion to 10.
|
2019-05-16 05:10:42 +03:00 |
|
Joonas Rikkonen
|
cdeb6d40b3
|
(f3bfe1ac4) Fix damage priority calculation.
|
2019-05-16 05:10:25 +03:00 |
|
Joonas Rikkonen
|
9cc9137fff
|
(b8fa3b004) Merge branch 'dev' into human-ai
|
2019-05-16 05:10:07 +03:00 |
|
Joonas Rikkonen
|
7ebb0be29b
|
(db42ef494) Don't allow combat priority go over 100.
|
2019-05-16 05:09:51 +03:00 |
|
Joonas Rikkonen
|
171c42f077
|
(3241b8fe7) Adjust the priorities. The orders should now always have higher priority than other objectives (except find safety and combat).
|
2019-05-16 05:09:33 +03:00 |
|
Joonas Rikkonen
|
7c901d8d77
|
(8fd36f702) Add a separate value for run threshold. Increase the order priority from 50 to 70.
|
2019-05-16 05:09:15 +03:00 |
|
Joonas Rikkonen
|
3a3d55d780
|
(39b4d0859) Merge branch 'dev' into human-ai
|
2019-05-16 05:08:56 +03:00 |
|
Joonas Rikkonen
|
616efac2bf
|
(19b26d13b) Merge branch 'dev' into human-ai
|
2019-05-16 05:08:39 +03:00 |
|
Joonas Rikkonen
|
454dda56c7
|
(1762f02b3) Merge branch 'dev' into human-ai
|
2019-05-16 05:08:22 +03:00 |
|
Joonas Rikkonen
|
4797f6b0d3
|
(307219669) Add some automatic orders.
|
2019-05-16 05:08:02 +03:00 |
|
Joonas Rikkonen
|
b51fd32b88
|
(de7949704) Rewrite the leak priority calculations. Ensure that the damage priority is not negative.
|
2019-05-16 05:07:45 +03:00 |
|
Joonas Rikkonen
|
7f58f30829
|
(1c243b972) Fix steering related issues in the fix leaks objective.
|
2019-05-16 05:07:27 +03:00 |
|
Joonas Rikkonen
|
37555ed1a4
|
(9fc7c8e98) Only reset when the objective is an order.
|
2019-05-16 05:07:07 +03:00 |
|
Joonas Rikkonen
|
2a0e289a59
|
(40f4f67f8) Further changes to the calculations.
|
2019-05-16 05:06:49 +03:00 |
|
Joonas Rikkonen
|
b7272e1c96
|
(2f379083c) Change how some of the priorities are clamped.
|
2019-05-16 05:06:30 +03:00 |
|
Joonas Rikkonen
|
b5db30ec72
|
(c48cb7804) Change the operate item priority calculation so that it starts from 25 and increases with devotion and is multiplied by the priority modifier. Clamp the result.
|
2019-05-16 05:06:11 +03:00 |
|
Joonas Rikkonen
|
ff5a819ad3
|
(62a89ce6a) Refactor and fix priority calculations. WIP, but should already improve things.
|
2019-05-16 05:05:53 +03:00 |
|
Joonas Rikkonen
|
d0795791e7
|
(3bb9485ad) Add automatic orders as objectives instead of orders so that we can take advantage of the existing priority system. Turn the priority values defined in the xml into modifiers.
|
2019-05-16 05:04:53 +03:00 |
|
Joonas Rikkonen
|
5def53f7bd
|
(2972c6da9) Add a missing text.
|
2019-05-16 05:04:29 +03:00 |
|
Joonas Rikkonen
|
039d07f693
|
(a2943d8b7) Merge branch 'dev' into human-ai
|
2019-05-16 05:04:10 +03:00 |
|
Joonas Rikkonen
|
60f52375e6
|
(7788ec72a) Test issuing orders automatically.
|
2019-05-16 05:03:49 +03:00 |
|
Joonas Rikkonen
|
96a5875b9a
|
(a01a93af6) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-05-07 16:24:58 +03:00 |
|
Joonas Rikkonen
|
cc22268f0e
|
(ae2d4614b) Added: NPCConversation translations
|
2019-05-07 16:24:41 +03:00 |
|
Joonas Rikkonen
|
799c2d4a5c
|
(20b87e5bc) More workarounds to missing texts, fixed an error in one of the French texts
|
2019-05-07 16:24:23 +03:00 |
|
Joonas Rikkonen
|
ed23155de7
|
(a79419041) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-05-07 16:24:06 +03:00 |
|
Joonas Rikkonen
|
bc55ab10b8
|
(d81130005) added new outpost to project
|
2019-05-07 16:23:50 +03:00 |
|
Joonas Rikkonen
|
92f300128e
|
(f6783d0df) Workarounds to missing texts (use a "fallback tag" if the correct tag can't be found, now used for "shuttle" and "savesubdialogdescription"), minor layout tweaks to fix overlapping texts in Pt-Br
|
2019-05-07 16:23:32 +03:00 |
|
Joonas Rikkonen
|
482f3c1f3c
|
(975eacb57) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-05-07 16:23:16 +03:00 |
|
Joonas Rikkonen
|
bb6067df31
|
(1e5573bea) new outpost
|
2019-05-07 16:22:58 +03:00 |
|
Joonas Rikkonen
|
e55a5d6d9d
|
(aef4f0ea0) Option to override sprites per language, new logos
|
2019-05-07 13:23:02 +03:00 |
|
Joonas Rikkonen
|
310019f7a9
|
(e07f39206) Fixes to text wrapping: - No spaces between symbols in wrapped chinese texts. - Automatically determine if the symbols/words are chinese/japanese/korean instead of just determining how to do the wrapping based on the selected display language (because there may still be western words/names in the texts when using Chinese, or vice versa when for example viewing Workshop items with a Chinese description). - Fixed wrapping when texts mix western and Chinese symbols.
|
2019-05-07 13:20:01 +03:00 |
|
Joonas Rikkonen
|
5af8170ac6
|
(372c6e60a) More automatic text scaling + merge fix
|
2019-05-06 14:15:40 +03:00 |
|
Joonas Rikkonen
|
1e666a5a0d
|
(073c09b0f) Don't allow signals to deactivate Repairables (made it impossible to fix hatches on some vanilla subs because the signals kept the Repairable inactive, preventing the repair state from being updated)
|
2019-05-06 11:40:06 +03:00 |
|
Joonas Rikkonen
|
c76284c511
|
(1539ce1d5) Increased starting funds
|
2019-05-06 11:38:03 +03:00 |
|
Joonas Rikkonen
|
47abb30bef
|
(2a2494e33) Fixed tutorial names not being translated
|
2019-05-06 11:37:28 +03:00 |
|
Joonas Rikkonen
|
8e53c38461
|
(93b920f3f) Fixed Chinese text wrapping (can't wrap based on spaces because there's no spaces)
|
2019-05-06 11:36:38 +03:00 |
|
Joonas Rikkonen
|
029f5fccda
|
(8df97f638) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
|
2019-05-06 11:35:46 +03:00 |
|
Joonas Rikkonen
|
26eaf244ed
|
(b17b66c5f) updated remora and drone
|
2019-05-06 11:35:29 +03:00 |
|
Joonas Rikkonen
|
f42a7c1ec6
|
(69d450d58) Initialize SteamManager before creating the GameMain instance
|
2019-05-06 11:34:36 +03:00 |
|
Joonas Rikkonen
|
f72fd0bf29
|
(80eb10d43) Option to automatically pause the game when the window loses focus (on by default)
|
2019-05-06 11:34:17 +03:00 |
|
Joonas Rikkonen
|
5868b1da41
|
(0792e9b34) Option to ignore item requirements in the sub editor. Items can now be placed to secure cabinets and crates in character mode without having to spawn an ID Card in the inventory first.
|
2019-05-06 11:33:42 +03:00 |
|
Joonas Rikkonen
|
cffaef3c3c
|
(4dba94638) Legacy save file support (= save files present in Data/Saves will still be usable)
|
2019-05-06 11:29:24 +03:00 |
|