Commit Graph

  • 25fde64378 Fixed incorrect TextManager tag in PowerContainer interface Joonas Rikkonen 2018-02-05 16:43:02 +02:00
  • ff85400f01 Removed hard-coded path to humanhusk (now the huskified human config is found based on the name), characters with severed limbs cannot turn into husks. Closes #243 Joonas Rikkonen 2018-02-05 15:55:32 +02:00
  • 60ad5ed3fb Reverted b26b6a74. Making stunned characters receive damage from limb impacts caused them to suffer excessive amounts of damage when falling or getting thrown around when the sub hits something (e.g. a moloch attacking a sub could easily kill crew members by bumping the sub and falling down the stairs was often a death sentence). In general I don't think it's a good idea to apply impact damage from limb impacts, because the limbs may occasionally move or rotate at very high velocities due to the animations. Joonas Rikkonen 2018-02-05 11:16:03 +02:00
  • b4e5aad2ce Added "electromagnetic pulse strength" parameter to explosions. EMPs damage repairable power items (e.g. junction boxes) and discharge power containers (e.g. batteries and supercapacitors). Joonas Rikkonen 2018-02-02 15:15:46 +02:00
  • 67d6bf6a1d Fade out names and health bars when the cursor is not hovered over the character. Closes #218 Joonas Rikkonen 2018-02-01 11:26:47 +02:00
  • 69337cd9e3 Merge branch 'master' of https://github.com/Regalis11/Barotrauma Joonas Rikkonen 2018-01-31 19:02:03 +02:00
  • dcb6de32c0 Some more hard-coded text removal Joonas Rikkonen 2018-01-31 19:01:48 +02:00
  • cbe80a3097 Merge pull request #242 from AviKav/patch-1 Joonas Rikkonen 2018-01-30 20:08:17 +02:00
  • 084645af1b Fix Mono 5.4 link Arthur Kavanagh 2018-01-30 10:52:25 -05:00
  • 02b82b0ccc Merge pull request #241 from shoter/master Joonas Rikkonen 2018-01-30 10:35:34 +02:00
  • 2e9cb6530c Player input is updated only when game windows is active shoter 2018-01-29 23:23:37 +01:00
  • 80ce2ae6ae Fixed the game running for one more frame after the debugconsole is opened, and staying paused for one extra frame after closing it. Caused the mouselook distance to lerp back from zero after toggling the console. Joonas Rikkonen 2018-01-29 10:27:43 +02:00
  • 6e231b7e7d Lighting is forced back on when a client starts a round (-> can't disable lighting by using the console command before joining a server). Closes #238 Joonas Rikkonen 2018-01-28 19:15:23 +02:00
  • 8b3a089884 Fixed clients being unable to select subs, GUIListBoxes can be scrolled even if selection is disabled Joonas Rikkonen 2018-01-28 19:14:24 +02:00
  • cdff422920 Merge pull request #237 from shoter/master Joonas Rikkonen 2018-01-28 14:35:48 +02:00
  • 9feb5b694d Stream position was not reset for MD5 calculation for xml files. shoter 2018-01-27 21:26:56 +01:00
  • d36dab42f8 XML files are calculated according to XML content. shoter 2018-01-27 20:55:23 +01:00
  • 729f850175 Fixed a "sequence contains no elements" exception in IndoorsSteeringManager Joonas Rikkonen 2018-01-26 17:28:39 +02:00
  • 5e4eef3915 Fixed charybdis's attack having a damage value of 0.5 for some reason Joonas Rikkonen 2018-01-26 17:27:04 +02:00
  • 98d0f42510 Fixed structure impact damage sounds. Character colliders caused the impact sounds to be triggered almost constantly, but the sounds were not played at the world position of the structure, causing them to only be heard inside ruins (whose positions are the same as worldpositions). Joonas Rikkonen 2018-01-26 17:25:22 +02:00
  • d4e0cbbf02 Submarines can't enter ruins through broken walls, ramming ruins causes damage to the sub and the ruin structures. Closes #199 Joonas Rikkonen 2018-01-26 16:47:32 +02:00
  • 9a095e259a Fixed mouselook distance calculations (the previous method allowed looking further when looking at stairs or platforms), mouselook is disabled when character control is disabled, speech bubbles appear also on the controlled character Joonas Rikkonen 2018-01-26 10:59:53 +02:00
  • ad18eb0db0 Fixed vote count text overlapping with the submarine preview button in NetLobbyScreen Joonas Rikkonen 2018-01-26 10:36:34 +02:00
  • a1ccf501c7 Fixes to server settings. Closes #225 - Selected mode and mission type settings are saved and loaded. - RandomizeSeed setting can be changed via the debug console and it also has an effect in the dedicated server. - Dedicated server randomizes sub & mode settings if their selection modes are set to random. Joonas Rikkonen 2018-01-25 15:09:44 +02:00
  • 490e373c7a Artifacts and monsters are allowed to spawn close to the sub if they spawn inside ruins. Fixes "could not find a suitable position" errors in levels where there's only one ruin next to the spawnpos of the sub. Joonas Rikkonen 2018-01-25 13:58:08 +02:00
  • e6e132aa1e More gib particles when characters get crushed by pressure Joonas Rikkonen 2018-01-25 13:56:39 +02:00
  • 09e4687cd0 The content package a submarine was saved with is included in the submarine preview, added a warning when attempting to start a campaign using a sub with a mismatching content package Joonas Rikkonen 2018-01-25 12:19:47 +02:00
  • e55c54b161 Removed some unused methods Joonas Rikkonen 2018-01-25 09:38:04 +02:00
  • 43d48ceb13 Fixed subinventory becoming active in the controlled character's inventory when the slot with the same index is highlighted in a grabbed character's inventory (or vice versa), fixed CPR & grab buttons being drawn on top of subinventories Joonas Rikkonen 2018-01-25 09:36:58 +02:00
  • 30e624e572 Window mode can be changed mid-game, fixed "apply" button not becoming active in the settings menu when changing the window mode Joonas Rikkonen 2018-01-24 16:07:26 +02:00
  • 7199095c40 Fixed tab buttons not working in the GameSession info frame Joonas Rikkonen 2018-01-24 15:59:07 +02:00
  • 51ea71333e Fixed ChangeProperty network events Joonas Rikkonen 2018-01-24 15:53:32 +02:00
  • 788ae63b71 Removed testing hotkey that saves a screenshot of the sub Joonas Rikkonen 2018-01-24 12:25:00 +02:00
  • 2acaee3c6d Fixed horizontal split shadow casters breaking everything juanjp600 2018-01-23 22:43:25 -03:00
  • c47d428be2 Merge branch 'master' of https://github.com/Regalis11/Barotrauma juanjp600 2018-01-22 17:15:44 -03:00
  • 7507d71f53 Fixed light volumes not generating properly when shadow casters intersected juanjp600 2018-01-22 17:15:36 -03:00
  • 5482158fa3 Removed missing heat absorber sprite from the project file Joonas Rikkonen 2018-01-22 15:14:29 +02:00
  • 544cbe74cf Removed heat absorbers (no real use even if the extra cooling effect was reimplemented). Closes #229 Joonas Rikkonen 2018-01-22 14:54:43 +02:00
  • ddaf5f21cf Fixed exception when using radio chat without an inventory juanjp600 2018-01-19 14:03:31 -03:00
  • 965eef365b Fixed relay components not carrying power & deactivated (CanTransfer = false or IsActive = false) PowerTransfer components still carrying power Joonas Rikkonen 2018-01-17 21:25:52 +02:00
  • f5dbbf0735 Submarine preview window with a preview image & some extra information of the subs Joonas Rikkonen 2018-01-17 17:01:44 +02:00
  • 8544dea9db Fixed clients being able to votekick/kick/ban themselves in the server lobby. Joonas Rikkonen 2018-01-16 17:39:20 +02:00
  • 633bd85e27 Fixed clients keeping a reference to the currently running GameSession after being kicked out of the server, causing an error if they rejoin and stay in the lobby while the server ends the round (because the gamesession attempts to generate a RoundSummary even though all subs have been unloaded). Closes #87 Joonas Rikkonen 2018-01-16 17:23:52 +02:00
  • 0f7befa09e Fixed occasional invalid object header errors when attempting to send a status NetworkEvent for a character (easy way to reproduce was to kill multiple characters during the same frame with an explosion). Joonas Rikkonen 2018-01-16 17:02:01 +02:00
  • 0db1885872 Fixed being unable to drag inventory slots if the subinventory of the slot is highlighted Joonas Rikkonen 2018-01-15 19:23:15 +02:00
  • 2ba339035c Fixed LOS lightsource keeping references to already unloaded convex hulls and subs, causing the los effects of the previously loaded subs to be always rendered. Joonas Rikkonen 2018-01-12 16:17:02 +02:00
  • 567b4408ad Nerfed wall damage. Crawlers, mantises, threshers and coelanths now take much more time to tear through the hull and collisions with the level cause less damage. Joonas Rikkonen 2018-01-12 15:46:20 +02:00
  • 87d987037f The alpha cutoff of partially damaged structures is clamped above 0.2. Now the damage effect is always visible on walls that have received any damage. Joonas Rikkonen 2018-01-12 15:43:34 +02:00
  • 10db837ef0 Particle fixes/improvements: - Fixed particles going through closed gaps (e.g. closed doors). - Gaps can emit particles even if the target hull is full of water (-> water running into the sub through an already flooded room is more apparent). - The air-only splash & waterdrop particles are not emitted if the target room is full of water. - Fixed heavy water particles never moving upwards (even if the water is rushing into a room from a gap on the floor). Joonas Rikkonen 2018-01-12 15:40:13 +02:00
  • 4e7e6ef60e Client name is saved in config.xml (no need to re-enter every time you start the game). Closes #224 Joonas Rikkonen 2018-01-12 14:45:01 +02:00
  • 03bff643f8 More hard-coded text removal, fixed StatusHUD displaying husk infection state incorrectly Joonas Rikkonen 2018-01-12 13:17:22 +02:00
  • 6edbe5de1f Fixed water dust particles "warping" around when moving the camera Joonas Rikkonen 2018-01-12 11:06:37 +02:00
  • d05ed6c54b Fixed banip command only kicking the matching client out of the server without banning, + the command now kickbans all clients with a matching ip. Closes #227 Joonas Rikkonen 2018-01-12 10:56:56 +02:00
  • b4064adc9a Fixed connections not being refreshed when a junction box breaks, made junction box deterioration rate proportional to the ratio between the available power and the load (i.e. more power makes the boxes break faster) & added some more variation between the deterioration rates of boxes to prevent all of them breaking at the same time. Joonas Rikkonen 2018-01-11 20:53:34 +02:00
  • 1eaccef8c7 Added damaged variants of junction box sprite, damaged item sprites can be set to fade in. Joonas Rikkonen 2018-01-11 20:48:26 +02:00
  • 466e6f8833 Fixed client-side null exception when the client is in the lobby and a round ends with the mission successfully completed Joonas Rikkonen 2018-01-11 18:56:45 +02:00
  • 25ebe52248 Option to configure alternate sprites for broken items Joonas Rikkonen 2018-01-11 16:51:36 +02:00
  • c9f15d71ef Husk limb rendering order fix (right arm is drawn in front of the torso), infected humans move their torso when attacking Joonas Rikkonen 2018-01-11 16:15:50 +02:00
  • a3f49e0bc5 Pathfinding fixes: - The parent fields of the nodes are cleared before finding a path. Should fix the "constructing final path failed" errors. - Nodes that have been marked as unreachable because of GetNodePenalty can still be used if another path to the node is found. Joonas Rikkonen 2018-01-11 16:03:16 +02:00
  • e2c7b684de Fixed character limb rendering order not being consistent (limbs with the same depth value being randomly drawn behind or in front of each other) Joonas Rikkonen 2018-01-11 13:32:21 +02:00
  • aa0fdfb790 All highlighted items are rendered to the lightmap, not just the ones the player is focusing on. -> Highlighted wires and the items they are connected to now glow in the dark. Joonas Rikkonen 2018-01-11 13:22:04 +02:00
  • 2dde3cb0a8 All creatures all cleared from the tutorial level to prevent any unintended monster attacks. Fixes #206 Joonas Rikkonen 2018-01-11 11:59:37 +02:00
  • 3b9d51e695 Made ambient lighting much darker and added a subtle glow around the player Joonas Rikkonen 2018-01-11 11:25:10 +02:00
  • 47f9900fdc Lighting fixes: - Re-enabled lightsprites (glowing lamp sprites on lamps). - Limb sprites use lightsprites instead of overriding the texture (positioned correctly now). - Fixed lights that don't cast shadows not being rendered. Joonas Rikkonen 2018-01-11 11:23:55 +02:00
  • bd1cd15dd4 Added votekick button to the server lobby. Closes #190 Joonas Rikkonen 2018-01-10 20:43:31 +02:00
  • 43ceb208ef Fixed round summary displaying the name of the starting location even if the player has reached the destination Joonas Rikkonen 2018-01-10 16:35:41 +02:00
  • d9fb5960e0 Fixed subinventory slots of equipped items going outside the screen if the item has too many slots (e.g. metal crates) Joonas Rikkonen 2018-01-10 16:24:03 +02:00
  • 7bbab35a0b Configured cargo containers for items, metal crates can be deconstructed, spears can be contained inside metal crates Joonas Rikkonen 2018-01-10 15:57:22 +02:00
  • 9f58d1b74d Cargo items can be set to spawn inside specific types of containers instead of being scattered on the cargo room floor. Joonas Rikkonen 2018-01-10 15:56:11 +02:00
  • 0f23635f49 Fixed items disappearing client-side when the physics body of the item goes to sleep. Joonas Rikkonen 2018-01-10 15:14:25 +02:00
  • f9500fa6e1 Fixed monster spawn & extra cargo settings being impossible to select due to the menus being outside of their parent GUIComponent Joonas Rikkonen 2018-01-10 14:21:37 +02:00
  • 37217db7cb Fixed GUIListBox background frame not moving when the listbox is moved (dropdowns inside listboxes work correctly now), opening the "add submarine" dropdown menu in sub editor deselects all entities to prevent the entity editing panel from overlapping with the dropdown. Joonas Rikkonen 2018-01-10 12:24:30 +02:00
  • 5f2227489b Reactor temperature has to stay above the meltdown temperature for 30 seconds before it explodes. The reactors now also have an output connection that sends out a signal when the temperature is critical. + Added reactor meltdown warning sirens & lights to vanilla subs. Closes #157 Joonas Rikkonen 2018-01-10 00:32:58 +02:00
  • d1bb33be78 Cutting/repairing holes in walls is logged, fixed gaps emitting drip particles even if there's no water in either hull. Closes #139 Joonas Rikkonen 2018-01-09 19:50:55 +02:00
  • 6fff303d30 Removed inlined out variables from PropertyConditional. Didn't realize this was a C# 7 only feature. Joonas Rikkonen 2018-01-09 18:26:34 +02:00
  • 3956785032 Moved PropertyConditional match checking & status effect cancelling from the StatusEffect class to PropertyConditional. Joonas Rikkonen 2018-01-09 16:42:11 +02:00
  • 0671dba1b4 Changed PropertyConditional operators from strings to enums Joonas Rikkonen 2018-01-09 16:18:05 +02:00
  • e21959d0a2 Some PropertyConditional refactoring & fixes: - Changed the "attribute" field from a string to a more descriptively named enum (TODO: do the same for the operators). - Changed the "value" field from an object to a string because the value is always a string anyway (might want to make it an object that holds the actual value we're comparing against so there's no need to do any parsing in the Matches method). - Fixed "!=" operator checking for equality. - Removed unnecessary property value getting from the Matches method (reflection ain't cheap!) Joonas Rikkonen 2018-01-09 16:10:07 +02:00
  • c502d9545c Moved StatusEffect related classes to their own folder and PropertyConditional to its own file. Joonas Rikkonen 2018-01-09 15:13:15 +02:00
  • 18ae9d7820 Base ItemComponents can apply OnUse statuseffects, grenades can be placed in detonators. Closes #113 Joonas Rikkonen 2018-01-09 14:55:16 +02:00
  • c2e3f60641 SerializableEntityEditor displays color values as 0 - 255 instead of 0.0f - 1.0f Joonas Rikkonen 2018-01-09 14:28:34 +02:00
  • 85d76989c9 Tweaked structure gap logic to make smaller leaks more common. Walls now start leaking after taking >10% damage, and initially only emit smaller "drip particles". Joonas Rikkonen 2018-01-09 14:24:15 +02:00
  • 6a3a4efba6 Option to display lighting in sub editor Joonas Rikkonen 2018-01-09 12:27:42 +02:00
  • 55e96b315f Fixed compiler error in Limb.cs Joonas Rikkonen 2018-01-09 12:27:09 +02:00
  • 855891704d Reverted sound loading changes in 2cb0ee73. I don't think sharing the same Sound objects is necessary, because Sounds using the same audio clip already share the same OggSound object which holds the actual audio data. Also I think these changes would cause removing a sound to break other sounds sharing the same audio clip. Joonas Rikkonen 2018-01-09 12:16:17 +02:00
  • 4b1b6b6927 Merge pull request #188 from Crystalwarrior/moStuff Joonas Rikkonen 2018-01-09 12:11:15 +02:00
  • 662ead0bb4 ToggleHUD console command hides the mp chat box. Closes #208 Joonas Rikkonen 2018-01-09 11:19:21 +02:00
  • ac704cdaae Mouse clicks have to be <10 pixels apart to be considered a double click. Closes #170 Joonas Rikkonen 2018-01-09 11:07:37 +02:00
  • 7187c277e7 Merge branch 'master' into moStuff Joonas Rikkonen 2018-01-09 10:38:06 +02:00
  • 093fb12d0b Fixed typo juanjp600 2018-01-08 18:47:55 -03:00
  • 539845665a Made further accuracy improvements to the timing of the dedicated server juanjp600 2018-01-08 18:11:07 -03:00
  • 1aa654a5a3 Severed joints can't be severed again (fixes severed limbs constantly emitting gore particles at the clients' side due to the constant status update messages) Joonas Rikkonen 2018-01-08 16:35:53 +02:00
  • 57e189ee65 Fixed GUITextBoxes being selectable outside their MouseRect (e.g. outside the visible area of a listbox). Closes #220 Joonas Rikkonen 2018-01-08 15:51:58 +02:00
  • 78e0647ed3 Fixed submarine & location names not being replaced in the round summary popup Joonas Rikkonen 2018-01-08 15:37:22 +02:00
  • 778b1a78ad Fixed sub editor crashing when attempting to use illegal characters in the filename. Closes #207 Joonas Rikkonen 2018-01-08 15:34:33 +02:00
  • 32deb06e51 Fixed crowbar.ogg case-sensitivity errors juanjp600 2018-01-05 11:07:44 -03:00
  • 6f7ca86299 Merge branch 'master' of https://github.com/Regalis11/Barotrauma Joonas Rikkonen 2018-01-01 15:05:22 +02:00
  • 78c13ddb42 Wire selection fixes: - Fixed MathUtils.LineToPointDistance returning NaN if both points of the line are at the same position, preventing from selecting some wire nodes in the wiring mode. - Added an indicator that shows when a node is highlighted. - Wire nodes a higher preference for being highlighted than wire sections. Makes it easier to select nodes that are on top of another wire. Joonas Rikkonen 2018-01-01 15:04:53 +02:00
  • 79f3f04c3b Fixed Steering components never setting their currPowerConsumption field above zero, making them cause zero load on the electrical grid. Joonas Rikkonen 2018-01-01 15:00:12 +02:00
  • 99391f68b2 StatusHUD only shows the status of the visible character that the cursor is closest to to prevent multiple characters from cluttering the screen. Closes #185 Joonas Rikkonen 2018-01-01 14:59:51 +02:00