Commit Graph

1877 Commits

Author SHA1 Message Date
Joonas Rikkonen f96008fc2e (7e2b368ce) Add a null check and change the SelectedContentPackages collection readonly. Should fix the null reference mentioned in a comment of #1513, when starting a Dedicated Server. Does not fix the crash, though. 2019-06-09 17:41:20 +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 effcbd93c6 (ea3b77d8a) Fixed servers not sending a hull update when the last fire source in the hull is put out. Caused the fire not to disappear client-side until the water/oxygen in the hull changes enough for a network event to be created. 2019-06-09 17:37:07 +03:00
Joonas Rikkonen 85d19d7f3c (53c44ee8a) Disallow shooting and attacking when hovering over a GUIComponent + added guimessagebox command 2019-06-09 17:36:48 +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 a127edca80 (292692029) Nerfed plasma cutters, reduced alien wall healths, modified oxygen generation levels to suit new exponential model 2019-06-04 16:50:40 +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 7056cbdeb3 (d34672075) Fixed items not being positioned correctly in itemcontainers that are rotated. Closes #1511 2019-06-04 16:44:27 +03:00
Joonas Rikkonen 2b7649bd2b (44694344e) Don't allow deleting vanilla subs in the sub editor 2019-06-04 16:44:10 +03:00
Joonas Rikkonen 43dcc98b8e (9adead624) Add source rect nudging in the sprite editor (move the source rect position with the arrows). 2019-06-04 16:43:52 +03:00
Joonas Rikkonen 53ff77d428 (953c0c5de) Forgot to commit this 2019-06-04 16:43:34 +03:00
Joonas Rikkonen 808fcdcb75 (6b47d1ebc) Fixed inability to spawn items in characters' inventories and simplified the spawnitem command (multi-word item/character names must be surrounded with quotation marks now, so we don't have to guess which words belong to the item name and which to the character name). + added "startwhenclientsready" console command 2019-06-04 16:43:16 +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 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 5208b922d8 (46e39d26c) v0.9.0.4 2019-06-04 16:12:45 +03:00
Joonas Rikkonen babc87903b (f9330e2e0) Modified: MacOS to use the same monokickstart when launching server 2019-06-04 16:03:35 +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 b31fbe23da (618410bf9) Fixed clients crashing when opening the server settings menu 2019-06-04 15:36:58 +03:00
Joonas Rikkonen f6e6218bb1 (6736960da) Fixes to name-based item checks that wouldn't work correctly if playing in a language other than English: - Fixed Item.ReadSpawnData failing to find the correct prefab if the client is using a different language than the server, a couple of fixes to name-based item checks. - Fixed extra cargo spawning. - Fixed clients not getting correct ID card tags for the respawn shuttle. 2019-06-04 15:36:21 +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 eb7097d1a3 (439f256af) Don't reset the los if there is no client (single player). Fixes los resetting between game sessions (less tedious debugging). 2019-06-04 15:35:26 +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 88c4c9a248 (456804016) Handle exceptions thrown by GameAnalytics.SetEnabledInfoLog in debug builds 2019-06-04 15:30:14 +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 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 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