Commit Graph

2909 Commits

Author SHA1 Message Date
Joonas Rikkonen a3ff707a31 (cf99ace8a) Fix bots entering the combat state if taking damage from falling etc. 2019-04-05 16:21:12 +03:00
Joonas Rikkonen 69c414dfc9 (34cca982f) Steering tweaks that should fix bots not being able to proceed on ladders when the next waypoint is not on the ladder but the one after that is. 2019-04-05 16:20:58 +03:00
Joonas Rikkonen 11a77e3694 (83dad7f87) Fixed crashing when attempting to use the turrets in character mode in the sub editor 2019-04-05 16:20:42 +03:00
Joonas Rikkonen e086af2c6f (bebc37619) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-05 16:20:27 +03:00
Joonas Rikkonen 25768d8845 (4b54fb4bf) Refactor AIObjectiveCombat and the reactions to the damage. Fixes bots not reacting to any damage done with repair tools. Now they should flee (but not retaliate). 2019-04-05 16:20:11 +03:00
Joonas Rikkonen 501a114000 (4119dec1c) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-05 16:19:55 +03:00
Joonas Rikkonen d7364171fb (e31a38ae1) Fixed spritebatch not being disposed when saving submarine preview images, don't reload all subs when saving a sub 2019-04-05 16:19:40 +03:00
Joonas Rikkonen 592683afa8 (4cdc7cef2) Changed Pause Menu quit button to say "Main Menu" as you aren't closing the game when pressing it 2019-04-05 16:19:22 +03:00
Joonas Rikkonen 161f725778 (2b36813ef) Added Back button to submarine editor 2019-04-05 16:19:07 +03:00
Joonas Rikkonen 8f42801c7a (2d473d38a) Add RequireAimToUse checks for being logical and for future. Shouldn't have any functional implications in the current version, but we could have RepairTools or Weapons that don't require aiming. 2019-04-05 16:18:52 +03:00
Joonas Rikkonen 350e6d6036 (5c39920a7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-05 16:18:37 +03:00
Joonas Rikkonen aef3a96d60 (cb01ae2fe) Small adjustments to Sub Editor entity list 2019-04-05 16:18:23 +03:00
Joonas Rikkonen f6bf7d9219 (dc09b0993) Fix bots not aiming with the welding tool when trying to repair, because of a dump error when checking the RequireAimToUse property. 2019-04-05 16:18:08 +03:00
Joonas Rikkonen d259ac40a2 (33511440f) Small tweaks to the Sub Editor screen 2019-04-05 16:17:53 +03:00
Joonas Rikkonen 2e5da818ba (ca275c7a4) Tune Crawler attack (on ground only) so that it applies forces also to torso, which will make her to jump a bit. Rise the torso and head positions and the collider offset from ground a bit. 2019-04-05 16:17:37 +03:00
Joonas Rikkonen aafb463dcf (2c44bade5) Workshop UI improvements final 2019-04-05 16:17:24 +03:00
Joonas Rikkonen e3c7b67a5e (82fdb1b93) Higher-res tickbox & radio button sprites 2019-04-05 16:17:09 +03:00
Joonas Rikkonen f787256dc8 (03383d4e3) Fixed items being impossible to select in character mode in the sub editor when using the legacy control scheme 2019-04-05 16:16:54 +03:00
Joonas Rikkonen f475c16b71 (802af8fef) Changed workshop items to be ordered by total unique subscriptions rather than trending which is view based 2019-04-05 16:16:40 +03:00
Joonas Rikkonen 5a1f55ade5 (9cf9078c7) Changelog additions 2019-04-05 16:16:26 +03:00
Joonas Rikkonen 2fbd1a1d92 (93746b96f) Workshop menu layout improvements 2019-04-05 16:16:09 +03:00
Joonas Rikkonen 2b1458a89f (6e2d03d7f) Changelog update 2019-04-05 16:15:54 +03:00
Joonas Rikkonen 19b451ff17 (5ddee76aa) Workshop UI improvements #2 2019-04-05 16:15:40 +03:00
Joonas Rikkonen 07c40f317f (52c7231e3) Reparse item messages when key bindings are changed 2019-04-05 16:15:27 +03:00
Joonas Rikkonen 94fe1ba331 (064609500) Fixed nearby items being selected when dragging/selecting/modifying wires in the sub editor. 2019-04-05 16:15:12 +03:00
Joonas Rikkonen 6c2c522f30 (250dbe18e) Don't prevent item UI panels from overlapping with the chatbox or crew list areas when in the sub editor 2019-04-05 16:14:57 +03:00
Joonas Rikkonen f00b74926b (47f7024a5) Adjusted door/hatch shadow sizes to get them to match the sprite more closely 2019-04-05 16:14:43 +03:00
Joonas Rikkonen 7dae8639cc (2c4d0cf44) Fixed memorystream not being disposed when saving a submarine preview image 2019-04-05 16:14:26 +03:00
Joonas Rikkonen 1db710b92b (fdce94d18) Fixed steam workshop menu being way too tinty & moved text changes to the end of the text xml 2019-04-05 16:14:12 +03:00
Joonas Rikkonen 52e8d4acc8 (42760ea3b) First pass of workshop UI improvements 2019-04-05 16:13:57 +03:00
Joonas Rikkonen 9e62d2219a (335f60e63) Don't deselect items in the subeditor with "select" key. Use "deselect" instead. Fixes inventories and other interfaces closing when clicking trying to interact with the items inside them. 2019-04-05 16:13:41 +03:00
Joonas Rikkonen 29e979d60a (7840e7e91) Fixed characters selecting entities when dragging and dropping items into them when the Select input is bind to Mouse1. 2019-04-05 16:13:27 +03:00
Joonas Rikkonen 57e5a969ba (f95283b36) Submarine preview layout changes, don't display attributes that don't have a value, GUIMessageBox layout tweaking 2019-04-05 16:13:12 +03:00
Joonas Rikkonen f91e28c248 (5643d05c2) Show wall count in the sub editor, color the item/structure/wall counts orange/red if there's a very high number of them 2019-04-05 16:12:57 +03:00
Joonas Rikkonen c5136838d0 (e34759bb4) Fixed large engine emitting smoke before it can be repaired 2019-04-05 16:12:41 +03:00
Joonas Rikkonen 9f8e3143be (dc5ca92e4) Removed colliders and background sprites from the wall cap/tie structures. 2019-04-05 16:12:27 +03:00
Joonas Rikkonen 04ca38b01c (4d1b2ceab) Front structures (depth <= 0.5) are drawn in front of damageable walls. Makes it possible to create decorative structures that go in front of the walls without having to make them damageable. 2019-04-05 16:12:13 +03:00
Joonas Rikkonen af1970e8a4 (3e7222290) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-05 16:11:59 +03:00
Joonas Rikkonen 7007804063 (1c5ab9230) Enemies don't attack outposts or targets inside it anymore. 2019-04-05 16:11:44 +03:00
Joonas Rikkonen e84203781e (e1b4346f3) Fix enemies not being able to get into the sub via vertical hatches. Removed the velocity manipulation, because it only caused issues. 2019-04-05 16:11:30 +03:00
Joonas Rikkonen 53443f5eee (d3b1aba39) Slightly reduced the amount of oxygen characters consume from hulls 2019-04-05 16:11:15 +03:00
Joonas Rikkonen b5b5177bc5 (090f1227e) Fixed crew list occasionally not scrolling with the arrow buttons 2019-04-05 16:11:00 +03:00
Joonas Rikkonen 95698f5eb5 (42c79b8de) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-05 16:10:45 +03:00
Joonas Rikkonen 458143c84a (e86a06f54) Halve Mudraptor texture resolution and fix the ragdoll accordingly. 2019-04-05 16:10:31 +03:00
Joonas Rikkonen c68e353c55 (90fefeea4) Added missing vents to Dugong 2019-04-05 16:10:15 +03:00
Joonas Rikkonen 0589ecd9e2 (da4728791) Job preferences can be edited mid-round in the info menu. Closes #1237 2019-04-04 11:43:52 +03:00
Joonas Rikkonen 6ac3ecd2b2 (86a1bac17) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-04 11:43:25 +03:00
Joonas Rikkonen 3b35ba056d (1a47431ff) Instead of displaying the red flash, automatically put the currently equipped item in the inventory (no matter if it's one or two handed) when picking up items that require two hands. If the item cannot be put into the inventory, the flash should be displayed (no auto dropping). 2019-04-04 11:12:32 +03:00
Joonas Rikkonen 709d9e44ab (541e3ffbe) Check that the mask is equipped in the head before trying to unequip. 2019-04-04 11:12:18 +03:00
Joonas Rikkonen 7126a60b7a (558e47075) -Reduced condition loss per use for plastiseal (-100 to -25), reduced the effect a bit (TODO: add more plastiseal to subs) -Reduced condition loss per use for antibiotic glue (-100 -> -50) -Implemented crafting recipes for antidotes -Made spacing more uniform in medical xml 2019-04-04 11:12:05 +03:00