Commit Graph

1003 Commits

Author SHA1 Message Date
Joonas Rikkonen b70bfcfba4 (681c8f119) Don't allow putting toolboxes inside toolboxes or doctor's clothes. Closes #1616 2019-06-13 11:47:04 +03:00
Joonas Rikkonen 16359ea873 (537240172) Fixed RuinGenerator using unsynced random when doing connections between ruin entities. I don't think there are any assemblies atm that use this type of connections, but if there were, the connections might've differed between clients/server. 2019-06-13 11:46:43 +03:00
Joonas Rikkonen 2b5e828716 (afc093585) Removed leftover debug message from whitelist 2019-06-13 11:46:23 +03:00
Joonas Rikkonen 40aac0de8f (49d6e0ff6) Fixed an ID mismatch problem that occasionally caused clients to get kicked out in the multiplayer campaign. Closes #1603, closes #1562 2019-06-13 11:46:03 +03:00
Joonas Rikkonen cdb2476d51 (e3d158689) Fixed server not saving debug console logs when savedebugconsolelogs is set to true 2019-06-13 11:45:41 +03:00
Joonas Rikkonen f8405fedb4 (ce6f2672e) Additional verbose logging 2019-06-13 11:45:20 +03:00
Joonas Rikkonen 45bce243bf (f6e171bd5) Fixed: Server not buildable in DebugMac configuration 2019-06-13 11:44:59 +03:00
Joonas Rikkonen a34a6bf1db (31379c825) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-13 11:44:39 +03:00
Joonas Rikkonen bd5c18aea2 (eeeb15d3d) Added: Platform collision for items 2019-06-13 11:44:18 +03:00
Joonas Rikkonen 1fc6492506 (387dc7b04) Fixed incorrect physicorium shell description. Closes #1613 2019-06-13 11:43:57 +03:00
Joonas Rikkonen 122be7783b (8cc6af65f) Fixed Character.GetConfigFile searching for the character file from all available content packages, not just the ones that are currently selected. Caused modded character files to affect the game even when the mod is not enabled. An easy way to reproduce the issue was to install BTE but not select it, which caused "damagedsprite not found" errors because the vanilla game would attempt to use the BTE human file (which still has the damagedsprite configured even though the texture has been removed). 2019-06-13 11:43:36 +03:00
Joonas Rikkonen 39d182c352 (0ee266e33) Use the collider position as the reference point when deciding whether or not a platform should be ignored while checking the floor y. Fixes bots being unable to exit ladders if some part of their body is below the platform (#1589). TODO: test for negative implications. 2019-06-11 21:50:19 +03:00
Joonas Rikkonen 4a401c865d (4d56b6900) Fixed ability to drop items into secure lockers (or other containers that require specific items) without having access to it. Closes #1559 2019-06-11 21:43:02 +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 fdd6850743 (090ca8617) Fixed AIObjectiveFindSafety crashing when inside a hull that doesn't belong to any sub (e.g. in ruins). Closes #1542 2019-06-09 17:43:44 +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 3393cb7a1b (4ca1f10d7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-06-04 16:41:59 +03:00
Joonas Rikkonen fd8fe59688 (7d2df62c0) fixed ID card tags 2019-06-04 16:41:39 +03:00
Joonas Rikkonen 440393d0cd (87a0f7ac8) If the bot is on a different level than the target, keep running to the target. i.e. Cannot use linear distance calculation inside the sub. 2019-06-04 16:40:41 +03:00
Joonas Rikkonen 7f5a6f77dd (c8c4b0d92) Require that the bot is in the same hull as the goto target, before calling it done. 2019-06-04 16:40:23 +03:00
Joonas Rikkonen 7a4e0ea1bb (c9039a4ad) Shorter the follow distance to make to make it less likely that bots stay on the doorways when following. TODO: We'd probably want to check that the target is in the same room? 2019-06-04 16:38:34 +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 1a892815fb (91ea4d8cb) Fixed: Incorrect parameter formatting 2019-06-04 15:38:50 +03:00
Joonas Rikkonen e592c49fa8 (221f9f2a6) Merge branch 'dev' into capitalizationfixes 2019-06-04 15:38:31 +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 62646dfc96 (299a6cc5b) Added an upper limit to impact damage done to ragdolls (10% of the character's max health). Because ragdolled characters can now receive impact damage, getting the sub thrown around by monsters was way too lethal. 2019-06-04 15:37:33 +03:00
Joonas Rikkonen a83532f7a9 (5f61edb68) Allow to issue orders in single player while not controlling any character (freecam debug). 2019-06-04 15:35:45 +03:00
Joonas Rikkonen ef5e0359c3 (93b896fa9) Fixed items not being moved to the humanhusk's inventory when a huskified player dies due to the inventory slot types not matching. 2019-06-04 15:34:30 +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 405cdf63a3 (a7543019c) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-23 17:04:47 +03:00
Joonas Rikkonen 304db988b1 (b63c9bf0c) Fixed OpenFileDialog not closing on Linux 2019-05-23 17:04:30 +03:00
Joonas Rikkonen 834ee2947b (32eb82193) Fix: bots not using the oxygen tanks found in their inventory when the find safety objective is active. 2019-05-23 16:28:22 +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 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 aab7b3ff16 (c08201dee) Hide the texture scale for now, because currently you shouldn't edit it in the editor. 2019-05-23 16:26:31 +03:00
Joonas Rikkonen 48e8c62cae (97bf93407) Fix a typo in a function name. 2019-05-23 16:26:13 +03:00
Joonas Rikkonen a95f1b7186 (d7b8238d6) Don't show reports from breaches that are room to room (the bots should still target them). 2019-05-23 15:18:50 +03:00
Joonas Rikkonen 90b0c208fc (1343e66e3) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-05-23 15:08:45 +03:00
Joonas Rikkonen 1fb558d7ef (84593b8fb) Fixed: Oxygen levels of the patient on the submarine being adjusted too late 2019-05-23 15:08:27 +03:00
Joonas Rikkonen a965314b8f (15bea4eef) Only ask medical assistance if there is a character with the rescue all objective. Don't allow to add targets if the bot is dead. 2019-05-23 15:07:50 +03:00
Joonas Rikkonen f3cb071b1d (2921cd18b) Fix potential null reference exceptions in the IsValidTarget of the rescue all method. 2019-05-23 15:07:32 +03:00