Joonas Rikkonen
2eaf22683d
(ae643deeb) Added alive checks to a couple of diving gear status effects (don't consume tanks when dead)
2019-04-01 22:47:22 +03:00
Joonas Rikkonen
ec7e23061b
(38b5d9aad) Experimental changes to syncing ragdolled (unconscious/dead) characters: - Higher error tolerance when syncing the positions. It's often hard to get the main limb exactly to the same position as the collider, because the positions of the limbs aren't synced and the pose of the ragdoll may differ between the server and clients. Increasing the tolerance makes it less likely for dead/unconscious characters to "twitch" when the game attempts to force the main limb to the position of the collider. - If the position of the ragdoll differs from the position of the collider so much that CheckDistFromCollider disables limb collisions, apply an additional force to all limbs to force the ragdoll to the correct position. Otherwise the ragdoll can occasionally start "hanging" midair, clipping through solid objects, because the main limb's pull joint doesn't necessarily have enough force to pull the entire ragdoll up to the collider.
2019-04-01 22:47:03 +03:00
Joonas Rikkonen
d974a5d72f
(3a98135bd) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
2019-03-29 17:21:37 +02:00
Joonas Rikkonen
c0cf060526
(7d7e17231) Implement reversing and make it as an option for attacks. Detach latching with "F" (debug feature).
2019-03-29 17:20:54 +02:00
Joonas Rikkonen
f3dc34dfa3
(d211acd47) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev
2019-03-28 18:12:09 +02:00
Joonas Rikkonen
2490951b2b
(6912a70c7) Removed: Unused, old code. Fixed: Formatting
2019-03-28 18:11:54 +02:00
Joonas Rikkonen
f51c9c14df
(54ae135f5) Items can be dragged and dropped directly from the inventory into containers without having to select the container first.
2019-03-28 18:11:40 +02:00
Joonas Rikkonen
23687fbf2f
aeafa16...4d3cf73
2019-03-18 22:57:05 +02:00
Joonas Rikkonen
3301bed442
409d4d9...aeafa16 (merge human-ai)
2019-03-18 22:52:17 +02:00
Joonas Rikkonen
044fd3344b
2f107db...5202af9
2019-03-18 21:42:26 +02:00
Joonas Rikkonen
6c0679c297
38f1ddb...178a853: v0.8.9.1, removed content folder
2019-03-18 20:39:27 +02:00
Joonas Rikkonen
0463e2d9cf
Inventory syncing fix: the inventory of the character that's being controlled would not be updated when the character can't access it (e.g. because of wearing handcuffs or being unconscious), preventing inventory updates from being applied.
2018-11-24 18:50:55 +02:00
Joonas Rikkonen
a403ca44c5
Fixed inventory sync delay being decremented in two places, causing the delay to be 0.5 seconds instead of the intended 1 s. Closes #788
2018-09-12 14:16:06 +03:00
Joonas Rikkonen
708f72c883
Fixed items occasionally dropping instead of being moved to another inventory client-side. Closes #558
2018-08-02 13:24:56 +03:00
Joonas Rikkonen
60a563fe75
EntityEvent fixes:
...
- Clients wait for midround syncing to finish before applying the remote state to connection panels and inventories (because the wires connected to the connection panel or items in the inventory may not exist before the EntitySpawner events have been received).
- Server writes 0 as the projectile ID if the projectile doesn't exist anymore when a Turret event is sent.
- More info in networkevent error messages.
2018-07-30 13:35:26 +03:00
Joonas Rikkonen
07d3d69040
Equipped items can be swapped by double-clicking, fixed inventories getting messed up when swapping multi-slot items fails (e.g. drag a jumpsuit on an equipped diving suit).
2018-03-02 15:24:54 +02:00
Joonas Rikkonen
55a5e9e968
Syringes are recolored according to the color of the contained medical item. Closes #256
2018-03-01 11:26: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
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
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
c77c598cb6
Fixed items being dropped when attempting to place them in an itemcontainer slot that's on a normal inventory slot. Closes #200
2017-12-31 01:59:49 +02:00
Alex Noir
041d1112b8
Added a timer to the raycasts so it's not screwing over performance too hard
2017-12-17 21:35:19 +03:00
Alex Noir
8ab97af456
Allow sub makers to alter the ID Card's description property on spawn points
2017-12-16 21:30:18 +03:00
Alex Noir
bd646fb23e
Implements identity system! If your mask hides your face (e.g. oxygen mask, clown mask and diving suit), the game will either use the name of the ID card owner in your ID card slot or will give you a "?" name.
...
This only affects "DisplayName". The reason why I can't completely override the .Name for the client from server is due to how crew manifest and CharacterInfo classes are handled - it would require a major rework of many Character-related systems and interactions to truly make this "hack-proof".
Server hosts will have to stay on their toes I guess.
2017-12-16 19:52:25 +03:00
Joonas Rikkonen
51fe7df481
Railgun HUD (shows supercapacitor charge & how many shells there are left)
2017-11-27 19:34:57 +02:00
Joonas Rikkonen
e7f4d1474e
Fixed interact rects not being calculated correctly for subinventory slots, the tooltip of a parent item isn't shown when highlighting a contained item
2017-08-27 18:10:17 +03:00
Joonas Rikkonen
98b4b904d4
Inventory slots are highlighted if the cursor is within 5 pixels of the rect. The spacing between inventory slots is 10 px, so now items can't be accidentally dropped by releasing the cursor between slots.
2017-08-11 17:49:43 +03:00
Joonas Rikkonen
f40d244deb
Moved inventory UI update logic to the client project, sound effects for picking up and dropping items
2017-08-10 20:30:29 +03:00
Joonas Rikkonen
64ad5e5003
Removed unnecessary using directives
2017-07-05 18:35:09 +03:00
Joonas Rikkonen
9b054ebd50
Added an artifact that attracts creatures, item max health can be changed & items can be made indestructible
2017-07-04 22:10:30 +03:00
juanjp600
4d225c65f2
Updated to MonoGame 3.6 + Directory refactor
...
- Barotrauma's projects are in the Barotrauma directory
- All libraries are in the Libraries directory
- MonoGame is now managed by NuGet, rather than referenced from the installed files (TODO: consider using PCL for easier cross-platform development?)
- NuGet libraries are not included in the repo, as getting the latest versions automatically should be preferred
- Removed Content/effects.mgfx as it didn't seem to be used anywhere
- Removed some references to Subsurface directory
- Renamed Launcher2 to Launcher
2017-06-27 09:52:57 -03:00