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.
Joonas Rikkonen
2019-04-08 16:00:08 +03:00
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
Joonas Rikkonen
2019-04-08 15:59:53 +03:00
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.
Joonas Rikkonen
2019-04-08 15:59:36 +03:00
eaf8b1275d
(f0be0bba0) Fixed inability to repair items when they'er not deteriorating (was caused by 9a14162)
Joonas Rikkonen
2019-04-08 15:59:19 +03:00
a78f8546bd
(539ce533b) Added Venture to the vanilla content package
Joonas Rikkonen
2019-04-08 15:58:50 +03:00
33b8c37933
(3cb6209cf) Show the "starting a round" popup to all clients when the server initiates a new round. Closes#1396
Joonas Rikkonen
2019-04-08 13:37:27 +03:00
24794932dc
(b1ed113e0) Randomize map seed when opening the "new game" tab. Closes#1399
Joonas Rikkonen
2019-04-08 13:37:12 +03:00
9594ea67a7
(bf037f9b0) Don't allow deleting vanilla subs or subs that are a part of some content package
Joonas Rikkonen
2019-04-08 13:36:58 +03:00
2efcd200f5
(17490598f) Don't allow putting items into locked inventories by double-clicking (causes them to be dropped in multiplayer)
Joonas Rikkonen
2019-04-08 13:36:30 +03:00
10776572d2
(0eef99a8b) Don't change targets, wander or stay still in ladders. Don't stay still in water. Improve bot behavior in close spaces.
Joonas Rikkonen
2019-04-08 13:36:16 +03:00
d28b04ed3b
(30308f7e4) Fixed players being able to overwrite vanilla content when the vanilla package is not selected
Joonas Rikkonen
2019-04-08 13:35:46 +03:00
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).
Joonas Rikkonen
2019-04-08 13:35:18 +03:00
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.
Joonas Rikkonen
2019-04-08 12:06:53 +03:00
36d6cdcca4
(2f52a4bfd) Fix the raycast check in for the end nodes. Partial fix to #1343.
Joonas Rikkonen
2019-04-08 12:02:30 +03:00
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.
Joonas Rikkonen
2019-04-08 12:01:54 +03:00
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.
Joonas Rikkonen
2019-04-08 11:58:50 +03:00
c3ab4b6899
(8825d662c) Small adjustments to workshop layout and created custom buttons for steam links.
Joonas Rikkonen
2019-04-08 11:45:03 +03:00
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
Joonas Rikkonen
2019-04-08 11:44:49 +03:00
904a1dabb0
(d5da14437) Fixed all tags not being visible in SteamWorkshopScreen and description box not showing the full description, minor layout tweaks
Joonas Rikkonen
2019-04-08 11:44:33 +03:00
532e8bf122
(2f2a6df6a) Fixed crashing when attempting to publish a sub with a preview image larger than 1MB on the Steam Workshop. Closes#1400
Joonas Rikkonen
2019-04-08 11:44:20 +03:00
ae07c3174a
(05de9c4) Added Linux launch scripts to the project
Joonas Rikkonen
2019-04-07 21:48:03 +03:00
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
Joonas Rikkonen
2019-04-07 21:44:15 +03:00
be96afc5dd
(4ddf8b0b2) Fixed power not working correctly in some grids with chained relays and junction boxes. Closes#1385
Joonas Rikkonen
2019-04-07 21:44:02 +03:00
4b58cd0294
(417e3e432) Fixed voip volume setting not being applied on startup
Joonas Rikkonen
2019-04-07 21:43:49 +03:00
be76bd53e9
(9a14162c6) Disabled spontaneous deterioration on items that are not being used. TODO: adjust all deterioration rates and delays
Joonas Rikkonen
2019-04-07 21:43:35 +03:00
3d3975e07c
(0132c0433) Fixed client-side nullref exception when enabling game mode voting
Joonas Rikkonen
2019-04-07 21:43:22 +03:00
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.
Joonas Rikkonen
2019-04-07 13:41:34 +03:00
bd174a8769
(c08b6301f) Fixed clients not converting achievement identifiers to lower case, making some achievements impossible to unlock in single player.
Joonas Rikkonen
2019-04-07 13:41:21 +03:00
1297127ae2
(0be4bd31d) Todo note about idling characters killing the framerate (see #1397)
Joonas Rikkonen
2019-04-07 13:41:07 +03:00
db754188ce
(bc739e38f) Added impact sounds to items (e.g. when dropped to the ground). Closes#841
Joonas Rikkonen
2019-04-07 13:40:53 +03:00
f043ac26f4
(5754c8b91) Fixed incorrectly placed gap in Typhon's cargo room
Joonas Rikkonen
2019-04-06 17:52:36 +03:00
dc8b49b5b6
(e3f5b70a3) Updated vanilla sub preview images (resolution 1024 x 448-512)
Joonas Rikkonen
2019-04-06 17:52:23 +03:00
f80e9a29a7
(301f0a344) Option to set a custom preview image for subs
Joonas Rikkonen
2019-04-06 17:50:53 +03:00
c19899769e
(cb10b53db) Fixed GUIImage.RecalculateScale throwing an exception if the sprite is not set, use relative scales in GUINumberInput to make the child elements scale dynamically with the parent
Joonas Rikkonen
2019-04-06 17:50:40 +03:00
7b3ccde624
(46f58eedd) Set submarine preview image resolution back to 256x128. For some reason, higher resolutions seem to cause hangs for when loading the image. I suspected it was because of encoding the image as a Base64 string into the xml, but that doesn't seem to case: I tried saving the image as a separate file instead, and it still causes the same problem (see #19 in the private repo).
Joonas Rikkonen
2019-04-06 17:50:27 +03:00
8d8478432f
(00783cc63) Don't premultiply submarine preview image alpha, fixed background texture not covering the whole preview image when using an image resolution larger than the size of the texture
Joonas Rikkonen
2019-04-06 17:50:13 +03:00
4359de7b7e
(f6b392c84) Fixed TextureLoader.FromStream always premultiplying the alpha channel regardless of the value of the preMultiplyAlpha argument
Joonas Rikkonen
2019-04-06 17:49:59 +03:00
45c1ed499a
(e326112f5) Increased discharge coil sound range and added camera shake to make it more noticeable when it's used
Joonas Rikkonen
2019-04-06 17:49:18 +03:00
ea463acc60
(e7176c489) Tweaks to the workshop screen
Joonas Rikkonen
2019-04-06 17:49:05 +03:00
3f42d889a2
(166d035d7) New powerOn sounds
Joonas Rikkonen
2019-04-06 17:48:52 +03:00
c94f888c4d
(5d73de170) Fixed RefreshSavedSub removing an extra sub from the list (causing an index out of range exception if refreshing a sub at the end of the list)
Joonas Rikkonen
2019-04-06 17:48:13 +03:00
f958f5fb44
(248ac43ed) Added inventory icons for Physicorium items armor, helmet, ammunition box and spear + normal and explosive spear (not yet implemented)
Joonas Rikkonen
2019-04-06 17:46:42 +03:00
6fed28e80b
(b00ce5ec2) Fixed character's feet levitating when standing at the base of a staircase without climbing it. Closes#1275
Joonas Rikkonen
2019-04-05 16:21:41 +03:00
a3ff707a31
(cf99ace8a) Fix bots entering the combat state if taking damage from falling etc.
Joonas Rikkonen
2019-04-05 16:21:12 +03:00
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.
Joonas Rikkonen
2019-04-05 16:20:58 +03:00
11a77e3694
(83dad7f87) Fixed crashing when attempting to use the turrets in character mode in the sub editor
Joonas Rikkonen
2019-04-05 16:20:42 +03:00
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).
Joonas Rikkonen
2019-04-05 16:20:11 +03:00
d7364171fb
(e31a38ae1) Fixed spritebatch not being disposed when saving submarine preview images, don't reload all subs when saving a sub
Joonas Rikkonen
2019-04-05 16:19:40 +03:00
592683afa8
(4cdc7cef2) Changed Pause Menu quit button to say "Main Menu" as you aren't closing the game when pressing it
Joonas Rikkonen
2019-04-05 16:19:22 +03:00
161f725778
(2b36813ef) Added Back button to submarine editor
Joonas Rikkonen
2019-04-05 16:19:07 +03:00
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.
Joonas Rikkonen
2019-04-05 16:18:52 +03:00
aef3a96d60
(cb01ae2fe) Small adjustments to Sub Editor entity list
Joonas Rikkonen
2019-04-05 16:18:23 +03:00
f6bf7d9219
(dc09b0993) Fix bots not aiming with the welding tool when trying to repair, because of a dump error when checking the RequireAimToUse property.
Joonas Rikkonen
2019-04-05 16:18:08 +03:00
d259ac40a2
(33511440f) Small tweaks to the Sub Editor screen
Joonas Rikkonen
2019-04-05 16:17:53 +03:00
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.
Joonas Rikkonen
2019-04-05 16:17:37 +03:00
f787256dc8
(03383d4e3) Fixed items being impossible to select in character mode in the sub editor when using the legacy control scheme
Joonas Rikkonen
2019-04-05 16:16:54 +03:00
f475c16b71
(802af8fef) Changed workshop items to be ordered by total unique subscriptions rather than trending which is view based
Joonas Rikkonen
2019-04-05 16:16:40 +03:00
07c40f317f
(52c7231e3) Reparse item messages when key bindings are changed
Joonas Rikkonen
2019-04-05 16:15:27 +03:00
94fe1ba331
(064609500) Fixed nearby items being selected when dragging/selecting/modifying wires in the sub editor.
Joonas Rikkonen
2019-04-05 16:15:12 +03:00
6c2c522f30
(250dbe18e) Don't prevent item UI panels from overlapping with the chatbox or crew list areas when in the sub editor
Joonas Rikkonen
2019-04-05 16:14:57 +03:00
f00b74926b
(47f7024a5) Adjusted door/hatch shadow sizes to get them to match the sprite more closely
Joonas Rikkonen
2019-04-05 16:14:43 +03:00
7dae8639cc
(2c4d0cf44) Fixed memorystream not being disposed when saving a submarine preview image
Joonas Rikkonen
2019-04-05 16:14:26 +03:00
1db710b92b
(fdce94d18) Fixed steam workshop menu being way too tinty & moved text changes to the end of the text xml
Joonas Rikkonen
2019-04-05 16:14:12 +03:00
52e8d4acc8
(42760ea3b) First pass of workshop UI improvements
Joonas Rikkonen
2019-04-05 16:13:57 +03:00
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.
Joonas Rikkonen
2019-04-05 16:13:41 +03:00
29e979d60a
(7840e7e91) Fixed characters selecting entities when dragging and dropping items into them when the Select input is bind to Mouse1.
Joonas Rikkonen
2019-04-05 16:13:27 +03:00
57e5a969ba
(f95283b36) Submarine preview layout changes, don't display attributes that don't have a value, GUIMessageBox layout tweaking
Joonas Rikkonen
2019-04-05 16:13:12 +03:00
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
Joonas Rikkonen
2019-04-05 16:12:57 +03:00
c5136838d0
(e34759bb4) Fixed large engine emitting smoke before it can be repaired
Joonas Rikkonen
2019-04-05 16:12:41 +03:00