Commit Graph

1040 Commits

Author SHA1 Message Date
Joonas Rikkonen f8405fedb4 (ce6f2672e) Additional verbose logging 2019-06-13 11:45:20 +03:00
Joonas Rikkonen adab8589da (f87bfac85) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-12 16:45:24 +03:00
Joonas Rikkonen dce98349ea (23df6915f) Added: Possibility of having a status effect trigger if a requiredItem is missing 2019-06-12 16:45:02 +03:00
Joonas Rikkonen b598459179 (65e2b5073) Fixed crashing when an item that requires aim to use is used by something else than a character. Not sure if there are any vanilla items that can cause this error, but can be reproduced for example by creating a projectile that RequiresAimToUse and triggers the Use method when it hits something. Closes #1602 2019-06-12 16:44:18 +03:00
Joonas Rikkonen e3ca616fff (869ac975f) Merge branch 'master' into dev 2019-06-12 16:43:56 +03:00
Joonas Rikkonen eaf4f6afb8 (face37755) Fixed clients timing out when trying to connect to a server that has banned someone. Closes #1568 2019-06-12 16:43:34 +03:00
Joonas Rikkonen e9c8103be4 (5a6865d0f) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-11 21:46:57 +03:00
Joonas Rikkonen c30f1de8f3 (8814bcb6b) Null checks on GUIStyle fonts 2019-06-11 21:46:39 +03:00
Joonas Rikkonen 5f497543a4 (1986bc0d3) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-11 21:46:21 +03:00
Joonas Rikkonen dd1ce8bf2f (df244251c) Fixed: Electric devices that are underwater and are broken by flooding being repairable forever, due to condition never staying at full condition for long enough for the repairing to stop 2019-06-11 21:46:02 +03:00
Joonas Rikkonen a4875cfeb3 (776291eb7) Create linked gaps when the door is selected. Move the gaps with the doors. 2019-06-11 21:44:32 +03:00
Joonas Rikkonen 3f03bdb9dc (d4b786b03) Fixed welding tools & plasma cutters doing damage to each limb the ray hits, causing them to do excessive damage to characters. Also reduced the damage by 50% because it was still a tad too high. 2019-06-10 17:52:42 +03:00
Joonas Rikkonen 81b6d2199f (c35335f47) Fixed CharacterInfo.IncreaseSkillLevel crashing if the character has been removed, steering component stops giving xp to the user if the user is removed. Closes #1553 2019-06-09 17:44:02 +03:00
Joonas Rikkonen 8e65bd62b9 (7df498c13) Fixed: Doors being weldable in the tutorial with no access to crowbar or info on how to open shut doors, thus causing the player to get stuck 2019-06-09 17:40:45 +03:00
Joonas Rikkonen 942b8a8588 (2be015bd1) Added: Code hardening due to a crash where the item was null 2019-06-09 17:38:57 +03:00
Joonas Rikkonen 77926908fc (be1093d88) Allow to edit the door closing and opening speed. Increase the default speed from 2 to 3. 2019-06-09 17:38:01 +03:00
Joonas Rikkonen cdc58316ed (f2cce83a3) AI combat improvements: - Bots now find weapons that are inside the equipped containers (tool boxes). - Bots can now use any item as a weapon as long as there's a combat priority defined for the items. - Adjust the combat priorities a bit; the bots now prioritize welding tool and plasma cutter over wrench or toolbox. 2019-06-04 16:52:24 +03:00
Joonas Rikkonen 40890a7754 (1cdaf2ba2) Make oxygen generator output decrease exponentially to make it easier to tune the output so there's enough oxygen regardless of the crew size when the generator is in a good condition, but not enough when it's damaged. Generator outputs should be adjusted a little higher now, for example multiplying them by 4 would mean the generator provides 100%-400% of the previous output when above 50% condition, and below that the output starts rapidly dropping. 2019-06-04 16:44:44 +03:00
Joonas Rikkonen 3bc52e2d95 (b4fd73057) Reset item position update interval when a client fails to pick it up due to it being accessible (should cause the position of the item to be corrected if the client failed to pick it up due to the position not matching the server position). 2019-06-04 16:42:57 +03:00
Joonas Rikkonen bea7b58ff3 (a410fd46c) Trying to help the merge script through a jungle of merges 2019-06-04 16:37:31 +03:00
Joonas Rikkonen 81dd2f3202 (0c86b4b28) Revert "Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging)." 2019-06-04 16:02:25 +03:00
Joonas Rikkonen edccfe223d (9a7d83a40) Fullscreen bug workarounds 2019-06-04 16:00:38 +03:00
Joonas Rikkonen f797235bfd (38d8117f7) Added: More routing of TextManager.Get().Replace -> TextManager.GetWithVariable(s), missing workshop-related localization tags to englishvanilla 2019-06-04 15:38:12 +03:00
Joonas Rikkonen 04f69dbe63 (b3c71807f) Updated to the latest version of GameAnalytics 2019-06-04 15:33:38 +03:00
Joonas Rikkonen a3e67dd40a (7163b300e) Added: Way for capitalizing / lowercasing replaced variables depending on the position in the sentence & some implementations 2019-06-04 15:32:59 +03:00
Joonas Rikkonen bc566ac0e7 (bc44f3622) Fixed credits not resizing when resolution is changed 2019-06-04 15:32:04 +03:00
Joonas Rikkonen 93e4767fb8 (657674526) Reallow changing resolution in fullscreen/borderless. TODO: test, disable in borderless because it seems to do nothing? 2019-06-04 15:30:32 +03:00
Joonas Rikkonen bce99f2e6f (7e0adb991) Fixed legacy items failing to load if a sub is saved with a language other than English and the language then changed to something else. 2019-06-04 15:29:55 +03:00
Joonas Rikkonen ebd916e95c (9a7d83a40) Fullscreen bug workarounds 2019-06-04 15:29:36 +03:00
Joonas Rikkonen e9d31ed0be (1241a5bd4) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-23 16:28:04 +03:00
Joonas Rikkonen 44a5c9e588 (81babbeac) Added Linux System.Windows.Forms 2019-05-23 16:27:46 +03:00
Joonas Rikkonen 2c22d6b6d7 (26f71bab4) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-23 16:27:27 +03:00
Joonas Rikkonen 90149b9435 (912383b95) Unequip the diving gear when the follow target unequips it. 2019-05-23 16:27:10 +03:00
Joonas Rikkonen b8ebf34c38 (4c111302a) Fixed Shuttle Shell A01/A02 colliders not being resized according to the size of the wall 2019-05-23 16:26:51 +03:00
Joonas Rikkonen 48e8c62cae (97bf93407) Fix a typo in a function name. 2019-05-23 16:26:13 +03:00
Joonas Rikkonen 79bb912a53 (1da783d84) RepairTool fixes. Closes #1486 - Fixed Submarine.PickBodies only returning the closest body it hits (and the body the ray is inside, if any). - Welding tool raycasts can go through walls, but not fix other types of entities behind the walls. Now it's possible to weld multiple overlapping walls at the same time, but not doors/characters behind the wall. - Made the welding & plasma particles bigger to match the increased range of the tools better. 2019-05-23 16:07:47 +03:00
Joonas Rikkonen 5f4e6dc1a3 (8adbf4e54) Fixed hitscan projectiles going through walls if the weapon is fired while it's barrel is inside a collider 2019-05-23 15:16:59 +03:00
Joonas Rikkonen 65eb8f35c9 (7e8f246d2) Fixed clients not seeing turrets rotating at their end when another client is operating the turret. Happened because the cursor position was only synced when the aim key was pressed, and aiming is not required anymore when using turrets. 2019-05-23 15:16:42 +03:00
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 42cf9d3368 (da0d388a0) Fixed medical item usage occasionally failing even if the character has adequate skills to use it 2019-05-20 20:36:18 +03:00
Joonas Rikkonen 3a0d8bbb8a (7125fc611) DIY translations for the last few missing connection texts. Pretty confident these are correct, hacked the lines together from existing texts and "verified" with Google Translate. 2019-05-18 17:52:10 +03:00
Joonas Rikkonen 31f74aca8d (e3fee50d9) Use roughly matching "fallback translations" for ConnectionPanel texts that haven't been translated yet (e.g. "signal_1" -> "signal_in_1", "trigger_out" -> "shoot"). Still missing the charge-related connection names in batteries, couldn't find any suitable replacements for them 2019-05-18 17:51:52 +03:00
Joonas Rikkonen f36e590854 (d071c9d60) Fixed Connections not reporting missing localizable display names during initialization, added missing displayname attributes to all connections 2019-05-18 17:45:59 +03:00
Joonas Rikkonen 78b67de866 (e9f10995d) Merge branch 'bugreporterUI' into dev 2019-05-18 17:43:00 +03:00
Joonas Rikkonen 3a2310e547 (3ac5065f5) Fixed: Rendering order for Bugreporter window, OK button position 2019-05-18 17:42:41 +03:00
Joonas Rikkonen f1d794cb39 (86c9256b3) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-18 17:35:10 +03:00
Joonas Rikkonen 65a914e5ed (0b29f1236) Added: Scaling to mouse cursor size 2019-05-18 17:34:53 +03:00
Joonas Rikkonen c07d124315 (337c61e36) Fixed ruin walls being almost impossible to cut from inside the ruins due to the raycasts hitting colliders that prevent the subs from entering the ruins 2019-05-18 17:26:52 +03:00
Joonas Rikkonen f605651966 (683b11c00) High-res shuttle preview images + merge fix 2019-05-16 08:49:01 +03:00