Joonas Rikkonen
|
7c67b1f164
|
(57c46943d) Quick fix watchman graphics (not quite right yet, but better). Re-enable the variant 2.
|
2019-05-20 21:00:11 +03:00 |
|
Joonas Rikkonen
|
b71adc7589
|
(2e0e45e1f) Updated: Localization
|
2019-05-20 20:46:21 +03:00 |
|
Joonas Rikkonen
|
97b095bd10
|
(0e668e083) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev (squashed together 20290af96..0e668e083 because the merge script shit itself due to the merges in between)
|
2019-05-20 20:25:12 +03:00 |
|
Joonas Rikkonen
|
f605651966
|
(683b11c00) High-res shuttle preview images + merge fix
|
2019-05-16 08:49:01 +03:00 |
|
Joonas Rikkonen
|
b97ecddf03
|
(da82264a0) Use ISpatialEntity as the target of "go to" objective to get rid of the reaching issues. Use display units instead of sim units. Don't calculate a standing point in "fix leak" objective, because it's handled in the AIOperate method when the bot get's near enough,
|
2019-05-16 06:57:32 +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
|
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
|
5f524ddd3f
|
(457e4ebe5) Fixed: Submarine navigation labels being translated when loading a sub in editor
|
2019-05-16 06:13:49 +03:00 |
|
Joonas Rikkonen
|
ce7b9c4f52
|
(94ad97066) Refactor combat objective. The bots should now be able to reload and seek more ammunition. When they run out of ammunition, they first try to use another weapon and only if no other weapon is found, they seek more ammunition. Had to change the contain item and get item objectives a bit. Hopefully doesn't break things too much.
|
2019-05-16 06:13:15 +03:00 |
|
Joonas Rikkonen
|
6fc8b8b573
|
(2d7903da7) Replaced some horizontal light components with vertical ones in tutorial outpost
|
2019-05-16 06:02:10 +03:00 |
|
Joonas Rikkonen
|
d70c463f41
|
(3d327d975) Merge branch 'dev' into human-ai
|
2019-05-16 06:01:53 +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
|
257889b9cc
|
(42b18ccca) Allow to return to the initial combat mode after retreating. Implement reloading (disabled because only reloads one ammunition) -> TODO: only load ammunition when found in the inventory. Implement a generic method for removing subobjectives and resetting the reference. Refuel the repair tool.
|
2019-05-16 05:58:15 +03:00 |
|
Joonas Rikkonen
|
412d46169e
|
(1621785a9) Size variants of labels, also reverts 995d492
|
2019-05-16 05:57:39 +03:00 |
|
Joonas Rikkonen
|
f8ca1444fd
|
(7765c6989) Only show a bunch of pathfinder errors and warnings in debug builds.
|
2019-05-16 05:57:22 +03:00 |
|
Joonas Rikkonen
|
1ae482a84d
|
(8c8a15639) Implemented new wall textures
|
2019-05-16 05:56:49 +03:00 |
|
Joonas Rikkonen
|
6b1500aa8d
|
(203af66e8) Allow to attack other enemies too.
|
2019-05-16 05:56:32 +03:00 |
|
Joonas Rikkonen
|
fe5f386358
|
(61f67c194) Fix the raycast and angle checks. use the weapon position instead of the character position.
|
2019-05-16 05:56:16 +03:00 |
|
Joonas Rikkonen
|
0bb541bce8
|
(2c8e14bca) Added edge variants for new environment base textures
|
2019-05-16 05:54:50 +03:00 |
|
Joonas Rikkonen
|
e9664d3639
|
(084340338) Add an aim timer before the weapon can be used. Fix a null reference exception.
|
2019-05-16 05:54:33 +03:00 |
|
Joonas Rikkonen
|
57302f7bb8
|
(4ff749939) Added new environment assets for implementation
|
2019-05-16 05:51:28 +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
|
566f1d16e4
|
(913cde46d) Refactor AIObjectiveUsing to use the TryAddSubObjective method. Reorganize a bit.
|
2019-05-16 05:50:04 +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
|
b9cca44ce2
|
(8045205b5) Test a velocity based calculation for skipping the nodes in steering.
|
2019-05-16 05:45:04 +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
|
3c17c976d7
|
(e8b231370) Reduce the required distance to the next node before skipping to the next node while in stairs. Should make it easier for bots to use the stairs.
|
2019-05-16 05:43:06 +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
|
5b2bf67d66
|
(067f4d694) The recursive version of GetConnectedComponents can traverse between wifi components, use recursive GetConnectedComponents when finding the controller used to operate some item (-> AI characters can now figure out how to operate a turret that's connected to a periscope through wifi components, relays, etc)
|
2019-05-16 05:41:41 +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 |
|
Joonas Rikkonen
|
7d0d669cdc
|
(8fd5fa292) Fix a stack overflow issue.
|
2019-05-16 05:40:19 +03:00 |
|
Joonas Rikkonen
|
ddd84a4f9e
|
(c45394988) Refactor and fix button interaction and access checks in the indoors steering manager.
|
2019-05-16 05:40:00 +03:00 |
|
Joonas Rikkonen
|
3575c8df52
|
(03ab09991) Load chinese fonts dynamically, removed unnecessary duplicate block from DynamicRenderAtlas
|
2019-05-16 05:39:25 +03:00 |
|
Joonas Rikkonen
|
96eb27140e
|
(ab2157c70) Remove KeepDivingGear property, because it can cause issues when the objective tree is deep. Checking the property is possible via recursion, but it seems that the checks can miss a frame. Instead, let's just make it simple and remove the diving suit only when idling.
|
2019-05-16 05:37:46 +03:00 |
|
Joonas Rikkonen
|
6f9690eeaf
|
(326dbd217) Don't take the diving suit off while trying to get a diving suit as a part of the goto objective. Fixes bots occasionally standing next to the diving suit cabinet apparently holding the suit in hands but not putting it on or moving anywhere.
|
2019-05-16 05:37:14 +03:00 |
|
Joonas Rikkonen
|
01743eb7e1
|
(6fe53068b) Add a wait timer at the beginning and a temporal spread on creating the autonomous objectives. Should improve performance, because the find target loops are thus spread a bit.
|
2019-05-16 05:36:58 +03:00 |
|
Joonas Rikkonen
|
a3db11876b
|
(d34fb2097) Major refactoring: - Replace custom logic regarding subobjectives with generic logic. - Ensure that all the objectives follow the same logic, reduce duplicate code where possible.
|
2019-05-16 05:32:56 +03:00 |
|
Joonas Rikkonen
|
a447a47661
|
(06129f656) Add some missing texts. Incomplete.
|
2019-05-16 05:26:25 +03:00 |
|
Joonas Rikkonen
|
812598774e
|
(24bcea40e) Fix the ai checks about door buttons. Don't aim at targets that cannot be seen.
|
2019-05-16 05:25:52 +03:00 |
|
Joonas Rikkonen
|
e284e1039a
|
(ee2d498e3) Fix bots ignoring doors when shooting.
|
2019-05-16 05:24:28 +03:00 |
|
Joonas Rikkonen
|
52d25694ed
|
(050157f65) Fix bots not being able to use buttons or ladders because the were aiming. Don't aim when farther than 500 pixels away from the target.
|
2019-05-16 05:23:39 +03:00 |
|