Joonas Rikkonen
7044631901
Attempt to diagnose null reference exception during Ragdoll drawing (see #278 )
2018-02-23 11:09:17 +02:00
Joonas Rikkonen
8b07e91d2c
Added camera zoom value to debug hud
2018-02-23 10:33:59 +02:00
Joonas Rikkonen
83c02504ea
Fixed clients failing to select a received submarine/shuttle file, preventing them from starting a round until they rejoin the server. Closes #271
2018-02-22 14:18:06 +02:00
Joonas Rikkonen
375e135672
Made round summary scrollable (long summary texts don't overflow anymore), listbox scissorrects work correctly now on nested listboxes
2018-02-22 12:18:09 +02:00
Joonas Rikkonen
b4582b6188
Fixed launcher throwing a null reference exception because of a reference to GameMain in PlayerInput
2018-02-21 23:43:40 +02:00
Joonas Rikkonen
637d473773
Fixed coroutine error at the end of the tutorial + minor modifications
2018-02-21 20:09:26 +02:00
Joonas Rikkonen
59e1f776f2
Updated vanilla subs (preview images, additional info, some extra lights in darker parts), submarine preview window layout tweaking
2018-02-21 17:09:53 +02:00
Joonas Rikkonen
76f5c099ed
Particles that rotate towards the movement direction use sub-relative movement when inside the sub (weld/cut particles don't face the movement direction of the submarine anymore).
2018-02-13 13:50:41 +02:00
Joonas Rikkonen
4d01aba0f1
Fixed subinventory staying visible if the slot containing the subinventory gets merged while it's highlighted (e.g. put a stun baton in either hand and swap it with a two-hand item)
2018-02-13 13:49:41 +02:00
Joonas Rikkonen
ff7f43ca83
Fixed inconsistent decal draw order
2018-02-13 12:28:54 +02:00
Joonas Rikkonen
43d6ee5e06
Spark & smoke particle effects when welding or cutting something. Closes #155 .
2018-02-12 11:20:25 +02:00
Joonas Rikkonen
3cbff6bd7b
Fixed circular physics bodies not being rendered in debugdraw if the radius is less than 1.28f
2018-02-06 16:25:07 +02:00
Joonas Rikkonen
af9980090b
Fixed debug console pausing multiplayer games, fixed missing ruinclaw sprite
2018-02-06 16:08:19 +02:00
Joonas Rikkonen
633dc1ff1e
Option to define multiple compatible content packages in submarine files, added extension methods for parsing string, float and int arrays from XML elements
2018-02-06 10:18:39 +02:00
Joonas Rikkonen
25fde64378
Fixed incorrect TextManager tag in PowerContainer interface
2018-02-05 16:43:02 +02:00
Joonas Rikkonen
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.
2018-02-05 11:16:03 +02:00
Joonas Rikkonen
67d6bf6a1d
Fade out names and health bars when the cursor is not hovered over the character. Closes #218
2018-02-01 11:26:47 +02:00
Joonas Rikkonen
69337cd9e3
Merge branch 'master' of https://github.com/Regalis11/Barotrauma
2018-01-31 19:02:03 +02:00
Joonas Rikkonen
dcb6de32c0
Some more hard-coded text removal
2018-01-31 19:01:48 +02:00
shoter
2e9cb6530c
Player input is updated only when game windows is active
2018-01-29 23:26:45 +01:00
Joonas Rikkonen
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.
2018-01-29 10:27:43 +02:00
Joonas Rikkonen
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
2018-01-28 19:15:23 +02:00
Joonas Rikkonen
8b3a089884
Fixed clients being unable to select subs, GUIListBoxes can be scrolled even if selection is disabled
2018-01-28 19:14:24 +02:00
Joonas Rikkonen
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
2018-01-26 10:59:53 +02:00
Joonas Rikkonen
ad18eb0db0
Fixed vote count text overlapping with the submarine preview button in NetLobbyScreen
2018-01-26 10:36:34 +02:00
Joonas Rikkonen
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.
2018-01-25 15:09:44 +02:00
Joonas Rikkonen
e6e132aa1e
More gib particles when characters get crushed by pressure
2018-01-25 13:56:39 +02:00
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
7507d71f53
Fixed light volumes not generating properly when shadow casters intersected
2018-01-22 17:15:36 -03: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
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
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