Commit Graph

2981 Commits

Author SHA1 Message Date
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
63971c90a9 (a9fbb0120) Disable controls when the pause menu or settings menu is open. Closes #1391 2019-04-08 19:16:37 +03:00
Joonas Rikkonen
e19bf22112 (9c93ed664) Fixed fabricators and deconstructors deteriorating when they're powered (not just when fabricating/deconstructing) something 2019-04-08 19:16:23 +03:00
Joonas Rikkonen
d482e6554d (276e03242) Reset Use and Select inputs when releasing the Shoot input to prevent accidentally selecting/using items 2019-04-08 19:16:09 +03:00
Joonas Rikkonen
5d5979c58b (a69e7b9c1) Moved delete button to the top of submarine list in submarine editor load window, to minimize accidental clicks 2019-04-08 19:15:54 +03:00
Joonas Rikkonen
d8b194d249 (91c5faef2) Item deterioration fixes 2019-04-08 19:15:41 +03:00
Joonas Rikkonen
35ee8dc883 (e1516fabb) Don't allow selecting railgun shell or depthcharge ItemContainers (can only be accessed when the item is in the inventory). Fixes characters getting locked to looking towards the shell/charge they're holding. 2019-04-08 16:00:08 +03:00
Joonas Rikkonen
4902de606b (5d9bdaea4) Deterioration values (timer, deterioration rate, whether the timer is currently running, item condition) are visible in debugdraw, fixed items that should only deteriorate for X seconds after being used deteriorating continuously 2019-04-08 15:59:53 +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
eaf8b1275d (f0be0bba0) Fixed inability to repair items when they'er not deteriorating (was caused by 9a14162) 2019-04-08 15:59:19 +03:00
Joonas Rikkonen
e124c593c7 (c9cd4d8f0) Fixed ducts in Berilia, added description 2019-04-08 15:59:05 +03:00
Joonas Rikkonen
a78f8546bd (539ce533b) Added Venture to the vanilla content package 2019-04-08 15:58:50 +03:00
Joonas Rikkonen
33b8c37933 (3cb6209cf) Show the "starting a round" popup to all clients when the server initiates a new round. Closes #1396 2019-04-08 13:37:27 +03:00
Joonas Rikkonen
24794932dc (b1ed113e0) Randomize map seed when opening the "new game" tab. Closes #1399 2019-04-08 13:37:12 +03:00
Joonas Rikkonen
9594ea67a7 (bf037f9b0) Don't allow deleting vanilla subs or subs that are a part of some content package 2019-04-08 13:36:58 +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
1f8b2325ed (5d487a390) Cleanup. 2019-04-08 13:35:32 +03:00
Joonas Rikkonen
8850d49960 (3f75a3756) Minor optimization: removing hudbars don't generate garbage anymore (the collection usually contains only one item and the loop was not evaluated many times, but it still doesn't hurt to fix it, especially when there's a todo note about it). 2019-04-08 13:35:18 +03:00
Joonas Rikkonen
f278ff212c (370a5daac) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-08 13:35:02 +03:00
Joonas Rikkonen
8a227a4f2c (570318151) Cleanup. 2019-04-08 13:34:48 +03:00
Joonas Rikkonen
2fe8139ffd (b651e55f4) Don't quantize physicsbody velocities server-side. Caused subs to occasionally not move horizontally because the velocities got rounded down to zero if the sub wasn't accelerating fast enough. 2019-04-08 12:06:53 +03:00
Joonas Rikkonen
153b08065b (12487d533) Added Berilia submarine, 95% complete 2019-04-08 12:06:38 +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
c3ab4b6899 (8825d662c) Small adjustments to workshop layout and created custom buttons for steam links. 2019-04-08 11:45:03 +03:00
Joonas Rikkonen
9aea0fa7af (daabbddf0) Fixed ToolBox.WrapText stripping out extra spaces from the text, causing caret positioning not working correctly if the text contains multiple successive spaces 2019-04-08 11:44:49 +03:00
Joonas Rikkonen
904a1dabb0 (d5da14437) Fixed all tags not being visible in SteamWorkshopScreen and description box not showing the full description, minor layout tweaks 2019-04-08 11:44:33 +03:00
Joonas Rikkonen
532e8bf122 (2f2a6df6a) Fixed crashing when attempting to publish a sub with a preview image larger than 1MB on the Steam Workshop. Closes #1400 2019-04-08 11:44:20 +03:00
Joonas Rikkonen
ae07c3174a (05de9c4) Added Linux launch scripts to the project 2019-04-07 21:49:05 +03:00
Joonas Rikkonen
d16c470df6 (de584e63e) Improved MP campaign setup UI 2019-04-07 21:44:28 +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
be96afc5dd (4ddf8b0b2) Fixed power not working correctly in some grids with chained relays and junction boxes. Closes #1385 2019-04-07 21:44:02 +03:00
Joonas Rikkonen
4b58cd0294 (417e3e432) Fixed voip volume setting not being applied on startup 2019-04-07 21:43:49 +03:00
Joonas Rikkonen
be76bd53e9 (9a14162c6) Disabled spontaneous deterioration on items that are not being used. TODO: adjust all deterioration rates and delays 2019-04-07 21:43:35 +03:00
Joonas Rikkonen
3d3975e07c (0132c0433) Fixed client-side nullref exception when enabling game mode voting 2019-04-07 21:43:22 +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
bd174a8769 (c08b6301f) Fixed clients not converting achievement identifiers to lower case, making some achievements impossible to unlock in single player. 2019-04-07 13:41:21 +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
db754188ce (bc739e38f) Added impact sounds to items (e.g. when dropped to the ground). Closes #841 2019-04-07 13:40:53 +03:00
Joonas Rikkonen
d15a88c619 (3e8bdbb0a) v0.8.9.9 + merge fix 2019-04-06 17:54:39 +03:00
Joonas Rikkonen
f043ac26f4 (5754c8b91) Fixed incorrectly placed gap in Typhon's cargo room 2019-04-06 17:52:36 +03:00
Joonas Rikkonen
dc8b49b5b6 (e3f5b70a3) Updated vanilla sub preview images (resolution 1024 x 448-512) 2019-04-06 17:52:23 +03:00