Commit Graph

1948 Commits

Author SHA1 Message Date
Joonas Rikkonen
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 2018-01-25 12:19:47 +02:00
Joonas Rikkonen
e55c54b161 Removed some unused methods 2018-01-25 09:38:04 +02:00
Joonas Rikkonen
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 2018-01-25 09:36:58 +02:00
Joonas Rikkonen
30e624e572 Window mode can be changed mid-game, fixed "apply" button not becoming active in the settings menu when changing the window mode 2018-01-24 16:07:26 +02:00
Joonas Rikkonen
7199095c40 Fixed tab buttons not working in the GameSession info frame 2018-01-24 15:59:07 +02:00
Joonas Rikkonen
51ea71333e Fixed ChangeProperty network events 2018-01-24 15:53:32 +02:00
Joonas Rikkonen
788ae63b71 Removed testing hotkey that saves a screenshot of the sub 2018-01-24 12:25:00 +02:00
juanjp600
2acaee3c6d Fixed horizontal split shadow casters breaking everything 2018-01-23 22:43:25 -03:00
juanjp600
c47d428be2 Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-01-22 17:15:44 -03:00
juanjp600
7507d71f53 Fixed light volumes not generating properly when shadow casters intersected 2018-01-22 17:15:36 -03:00
Joonas Rikkonen
5482158fa3 Removed missing heat absorber sprite from the project file 2018-01-22 15:14:29 +02:00
Joonas Rikkonen
544cbe74cf Removed heat absorbers (no real use even if the extra cooling effect was reimplemented). Closes #229 2018-01-22 14:54:43 +02:00
juanjp600
ddaf5f21cf Fixed exception when using radio chat without an inventory 2018-01-19 14:03:31 -03:00
Joonas Rikkonen
965eef365b Fixed relay components not carrying power & deactivated (CanTransfer = false or IsActive = false) PowerTransfer components still carrying power 2018-01-17 21:25:52 +02:00
Joonas Rikkonen
f5dbbf0735 Submarine preview window with a preview image & some extra information of the subs 2018-01-17 17:01:44 +02:00
Joonas Rikkonen
8544dea9db Fixed clients being able to votekick/kick/ban themselves in the server lobby. 2018-01-16 17:39:20 +02:00
Joonas Rikkonen
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 2018-01-16 17:23:52 +02:00
Joonas Rikkonen
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). 2018-01-16 17:02:01 +02:00
Joonas Rikkonen
0db1885872 Fixed being unable to drag inventory slots if the subinventory of the slot is highlighted 2018-01-15 19:23:15 +02:00
Joonas Rikkonen
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. 2018-01-12 16:17:09 +02:00
Joonas Rikkonen
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. 2018-01-12 15:46:20 +02:00
Joonas Rikkonen
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. 2018-01-12 15:43:34 +02:00
Joonas Rikkonen
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).
2018-01-12 15:40:13 +02:00
Joonas Rikkonen
4e7e6ef60e Client name is saved in config.xml (no need to re-enter every time you start the game). Closes #224 2018-01-12 14:45:55 +02:00
Joonas Rikkonen
03bff643f8 More hard-coded text removal, fixed StatusHUD displaying husk infection state incorrectly 2018-01-12 13:17:22 +02:00
Joonas Rikkonen
6edbe5de1f Fixed water dust particles "warping" around when moving the camera 2018-01-12 11:06:37 +02:00
Joonas Rikkonen
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 2018-01-12 10:56:56 +02:00
Joonas Rikkonen
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. 2018-01-11 20:53:34 +02:00
Joonas Rikkonen
1eaccef8c7 Added damaged variants of junction box sprite, damaged item sprites can be set to fade in. 2018-01-11 20:48:26 +02:00
Joonas Rikkonen
466e6f8833 Fixed client-side null exception when the client is in the lobby and a round ends with the mission successfully completed 2018-01-11 18:56:45 +02:00
Joonas Rikkonen
25ebe52248 Option to configure alternate sprites for broken items 2018-01-11 16:51:36 +02:00
Joonas Rikkonen
c9f15d71ef Husk limb rendering order fix (right arm is drawn in front of the torso), infected humans move their torso when attacking 2018-01-11 16:15:50 +02:00
Joonas Rikkonen
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.
2018-01-11 16:03:16 +02:00
Joonas Rikkonen
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) 2018-01-11 13:32:21 +02:00
Joonas Rikkonen
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.
Fixed LightComponent light source position not being updated if the item has no body, causing the light source to appear in a wrong position when attaching lights to walls.
2018-01-11 13:22:04 +02:00
Joonas Rikkonen
2dde3cb0a8 All creatures all cleared from the tutorial level to prevent any unintended monster attacks. Fixes #206 2018-01-11 11:59:37 +02:00
Joonas Rikkonen
3b9d51e695 Made ambient lighting much darker and added a subtle glow around the player 2018-01-11 11:25:10 +02:00
Joonas Rikkonen
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.
2018-01-11 11:23:55 +02:00
Joonas Rikkonen
bd1cd15dd4 Added votekick button to the server lobby. Closes #190 2018-01-10 20:43:31 +02:00
Joonas Rikkonen
43ceb208ef Fixed round summary displaying the name of the starting location even if the player has reached the destination 2018-01-10 16:35:41 +02:00
Joonas Rikkonen
d9fb5960e0 Fixed subinventory slots of equipped items going outside the screen if the item has too many slots (e.g. metal crates) 2018-01-10 16:24:03 +02:00
Joonas Rikkonen
7bbab35a0b Configured cargo containers for items, metal crates can be deconstructed, spears can be contained inside metal crates 2018-01-10 15:57:22 +02:00
Joonas Rikkonen
9f58d1b74d Cargo items can be set to spawn inside specific types of containers instead of being scattered on the cargo room floor. 2018-01-10 15:56:11 +02:00
Joonas Rikkonen
0f23635f49 Fixed items disappearing client-side when the physics body of the item goes to sleep. 2018-01-10 15:14:25 +02:00
Joonas Rikkonen
f9500fa6e1 Fixed monster spawn & extra cargo settings being impossible to select due to the menus being outside of their parent GUIComponent 2018-01-10 14:21:37 +02:00
Joonas Rikkonen
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. 2018-01-10 12:24:30 +02:00
Joonas Rikkonen
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 2018-01-10 00:33:21 +02:00
Joonas Rikkonen
d1bb33be78 Cutting/repairing holes in walls is logged, fixed gaps emitting drip particles even if there's no water in either hull. Closes #139 2018-01-09 19:50:55 +02:00
Joonas Rikkonen
6fff303d30 Removed inlined out variables from PropertyConditional. Didn't realize this was a C# 7 only feature. 2018-01-09 18:26:34 +02:00
Joonas Rikkonen
3956785032 Moved PropertyConditional match checking & status effect cancelling from the StatusEffect class to PropertyConditional. 2018-01-09 16:42:11 +02:00