Commit Graph

4640 Commits

Author SHA1 Message Date
Joonas Rikkonen
24cb7a3659 Husk infection state can be decreased after the infection reaches the active state (causing the husk appendage to be removed). Calyxanide still has a conditional preventing the decrease, but now it's possible for modders to revert huskification without code modifications. Closes #258 2018-02-21 11:12:49 +02:00
Joonas Rikkonen
d414e8e103 Fixed StatusEffects not being able to decrease stun timer. Closes #255 2018-02-20 22:44:32 +02:00
Joonas Rikkonen
7d346c1437 Fixed wires dropping when a client moves them from a connection to another in the same connection panel, fixed wires becoming disconnected client-side if they're moved from a connection to another connection that's upper in the connection panel. (See #252) 2018-02-15 14:24:04 +02:00
Joonas Rikkonen
a2c898150e Item.SetTransform uses SetTransformIgnoreContacts to set the position of the physics body if the body is disabled. No need to update contacts when moving disabled items such as wearables. 2018-02-13 13:54:09 +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
055bf13f59 Fixed minimap not powering up 2018-02-13 12:29:57 +02:00
Joonas Rikkonen
ff7f43ca83 Fixed inconsistent decal draw order 2018-02-13 12:28:54 +02:00
Joonas Rikkonen
fa52c66788 Changelog update 2018-02-12 13:44:01 +02:00
Joonas Rikkonen
ff883ae882 Bunch of fixes to statuseffects:
- Fixed the multi-target StatusEffect.Apply method ignoring target names and always allowing stacking.
- Fixed delayed effects not working if the single-target StatusEffect.Apply method is used.
- Fixed delayed effects ignoring target names.
- Fixed delayed effects comparing the equality of the target lists, not the elements in the list (if the contents of the lists are identical the statuseffects should be considered identical).
2018-02-12 11:25:40 +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
ec302e099b Fixed Powered ItemComponents (not components deriving from Powered) never resetting their voltage after receiving power, causing them to stay powered indefinitely. Closes #247 2018-02-05 22:31:55 +02:00
Joonas Rikkonen
74cd265952 Fixed railgun shells never deactivating their particle emitter 2018-02-05 17:10:00 +02:00
Joonas Rikkonen
25fde64378 Fixed incorrect TextManager tag in PowerContainer interface 2018-02-05 16:43:02 +02:00
Joonas Rikkonen
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 2018-02-05 15:55:32 +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
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). 2018-02-02 15:15:46 +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
Joonas Rikkonen
cbe80a3097 Merge pull request #242 from AviKav/patch-1
Fix Mono 5.4 link
2018-01-30 20:08:17 +02:00
Arthur Kavanagh
084645af1b Fix Mono 5.4 link
URIs without a protocol are interpreted as relative resources in Markdown
2018-01-30 10:52:25 -05:00
Joonas Rikkonen
02b82b0ccc Merge pull request #241 from shoter/master
Player input is updated only when game windows is active
2018-01-30 10:35:34 +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
cdff422920 Merge pull request #237 from shoter/master
MD5 of XML are calculated according to their content.
2018-01-28 14:35:48 +02:00
shoter
9feb5b694d Stream position was not reset for MD5 calculation for xml files. 2018-01-27 21:31:45 +01:00
shoter
d36dab42f8 XML files are calculated according to XML content. 2018-01-27 21:14:27 +01:00
Joonas Rikkonen
729f850175 Fixed a "sequence contains no elements" exception in IndoorsSteeringManager 2018-01-26 17:28:48 +02:00
Joonas Rikkonen
5e4eef3915 Fixed charybdis's attack having a damage value of 0.5 for some reason 2018-01-26 17:27:04 +02:00
Joonas Rikkonen
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). 2018-01-26 17:25:22 +02:00
Joonas Rikkonen
d4e0cbbf02 Submarines can't enter ruins through broken walls, ramming ruins causes damage to the sub and the ruin structures. Closes #199 2018-01-26 16:47:32 +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
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. 2018-01-25 13:58:08 +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