Regalis
c773320a55
Autopilot can avoid other subs, characters won't go outside in idle state
2016-07-28 21:45:35 +03:00
Regalis
357a853342
A bunch of fixes to syncing clients who join mid-round:
...
- syncing items spawned/removed mid-round
- syncing characters spawned mid-round (through the console or by respawning)
- making sure that item IDs of the spawned characters match
- syncing wall damage
2016-07-25 18:48:48 +03:00
Regalis
6c79a8c568
Syncinc AICharacter inventories (a husk controlled by the host), clients don't try to read physicsbodyposition messages if the item doesn't have a body, control command works even if the character has spaces in the name
2016-07-25 18:43:09 +03:00
Regalis
dd9b78f8ff
Handling exceptions thrown at any point during coroutine update, not just at Coroutine.MoveNext, dirty workaround for a (rare?) pathfinding bug I haven't been able to reproduce
2016-07-21 21:20:21 +03:00
Regalis
911846acff
- submarines send position updates more frequently when they're moving faster
...
- small AICharacter syncing optimizations
- respawning can be disabled in server setting
- netstats show the total amount of bytes sent for each networkevent type
2016-07-20 17:20:27 +03:00
Regalis
b81417ad16
Characters can be left behind in levels and they will stay there until the player returns, other subs visible in sonar
2016-07-20 17:13:34 +03:00
Regalis
03a3a156ba
- fixed camera "twitching" when trying to move it above the upper limit of the level
...
- fixed duplicate hulls/gaps being placed at docking ports when saving and loading
- fixed linkedsubmarines moving when saving and reloading if the center of the wall vertices isn't he same as the center of the sub
- moving docked submarines along with the main sub when syncing the position
- characters are killed when the client controlling them disconnects (+ cause of death: disconnected)
- fixed the description box in server lobby
2016-07-15 19:21:10 +03:00
Regalis
a5111d33df
Tons of AI + pathfinding bugfixes:
...
- waypoints are created between docked subs and removed when they undock
- fixed start waypoint being left out of steering paths
- NPCs won't close doors/hatches on themselves
- NPCs won't let go of ladders until their feet are above the lower edge of the hull
- fixed FindDivingGear "loops": need to find a suit -> need to get to a suit -> need a suit to get to the suit -> need to find a suit...
- fixed characters constantly turning from side to side in small rooms
- recursive function for finding the button which opens a door (so a button doesn't have to be connected straight to a door for an NPC to be able to open it)
- AIObjectiveGetItem keeps searching for more suitable items even if a path to a matching item has been found
2016-07-08 20:53:11 +03:00
Regalis
19915fc4e5
- server log and item lists in editor can be filtered
...
- changes to item highlighting logic (easier in cramped subs)
- sub name/description boxes and selected items are reset when leaving the editor
2016-07-06 18:10:22 +03:00
Regalis
cd3ecd36e8
Merge branch 'multisub'
...
Conflicts:
.gitignore
Subsurface/Source/Characters/Animation/HumanoidAnimController.cs
Subsurface/Source/Items/Components/Holdable/RepairTool.cs
Subsurface_Solution.v12.suo
2016-07-04 17:42:31 +03:00
Regalis
aae24b2b2c
Better logic for determining which convex hulls are in the range of a lightsource (separate convexhull lists for each sub)
2016-06-30 17:50:02 +03:00
Regalis
34c6569313
Server can inflict impact damage on clients, character oxygen level syncing bugfix, hulls send a networkevent when oxygen level changes by >=5%, limb velocities aren't reset when receiving a network update
2016-06-29 17:26:26 +03:00
Regalis
38c5251005
Vertical docking port, docking sounds, water flows properly between horizontally docked hulls, falseoutput of signal check components can be changed, lighting and FOW works between hulls (todo: some logic for determining when to update light.HullsInRange when two subs are moving relative to each other)
2016-06-27 17:48:20 +03:00
Regalis
b04e204dc3
- multiple submarines can be "merged" into one file (to be used as escape vessels etc)
...
- WIP docking ports
2016-06-26 14:31:00 +03:00
Regalis
296c5a14ed
- host can respawn
...
- respawn info texts
- camera clamped to the the upper edge of the level
- fixed submarinebody being generated from all walls (and not just the ones belonging to that specific sub)
2016-06-23 18:23:20 +03:00
Regalis
dc7956274c
- camera follows the closest sub
...
- WIP "respawn shuttle"
- submarine size affects its mass
- electricity fixes
2016-06-18 14:46:40 +03:00
Regalis
495a0f4124
- teleporting from sub to another works now
...
- repairtool fix
- submarines collide with each other
- every submarine is updated (so MainSub isn't the only one that can move)
- submarinebody vertex generation fix
2016-06-11 17:55:47 +03:00
Regalis
7349cdd310
Progress (compiles now)
2016-06-09 22:15:50 +03:00
Regalis11
c9fd599276
Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma into multisub
...
Conflicts:
Subsurface/Source/GUI/GUI.cs
2016-06-09 18:39:54 +03:00
Regalis11
41569675f3
Started refactoring the submarine class in order to make it possible to add multiple submarines (or other movable structures)
2016-06-09 18:34:43 +03:00
Regalis
d520c00dc9
- stunned characters don't move their hands behind their back when cuffed (caused the characters to flail around when someone grabs them)
...
- characters can run while grabbing/dragging someone
- inventory and chatbox are hidden when stunned
- turret rotation is reset between minRotation and maxRotation when changing the rotation limits
- fixed explosion damage being applied to simPositions of the limbs instead of worldpositions
2016-06-09 16:54:30 +03:00
Regalis
6b6af6e72e
- head sprites can be given "tags", and body is chosen from sprites with the same tag
...
- black character sprites
2016-06-03 14:57:22 +03:00
Regalis
0621f6c9e3
Impulses aren't applied to disabled item bodies when the submarine hits something, velocities of item bodies are reset when the item is dropped, pathfinding errors don't open the debug console
2016-06-01 20:56:07 +03:00
Regalis
b512a7ec18
- fixed clients failing to load submarines if they're not in the root Submarine folder
...
- some refactoring
- temporarily disabled kicking by voting
2016-05-30 18:32:36 +03:00
Regalis
68870b67f5
- fractal guardians have higher impact tolerance to stop them from killing themselves by slamming at the walls
...
- enemies use pathfinding when inside the sub and handle platforms/stairs better
2016-05-26 18:04:25 +03:00
Regalis
2398d8aa8a
- resetting the "blood overlay" when switching the controlled character
...
- fixed 1-section long walls being impossible to fix after their body has been destroyed
- better looking blur (small lights aren't "skewed")
2016-05-26 18:03:08 +03:00
Regalis
b2f83b43f8
Attacks can apply a force to the target (i.e. monsters can throw characters around)
2016-05-22 01:28:46 +03:00
Regalis
7113a154fe
Aiming is disabled when unconscious/stunned, the range of fire lightsources isn't randomized to reduce the amount of required convexhull updates
2016-05-19 19:49:31 +03:00
Regalis
a477dad1b2
Renamed the CollisionMisc collision category to CollisionItem, teleporting items inside/outside the sub if their physicsbody leaves/enters a hull, powercontainer charge can be changed in editor (i.e. batteries can be set to fully loaded)
2016-05-19 19:47:26 +03:00
Regalis
63e5f02057
Changes to submarine<->outside teleporting logic:
...
- contacts between limbs and the sub are temporarily disabled before teleporting to prevent the character from "exploding"
- impact damage is disabled for 0.25 seconds after teleporting in case the character still explodes
- characters with disabled impact damage won't damage the walls when hitting
- the collider of SubmarineBody is generated based on walls instead of hulls
- fixed Submarine.CheckVisibilit ignoring fixtures with (CollisionWall | CollisionLevel) collisioncategory
2016-05-18 11:43:22 +03:00
Regalis
be72fee824
Dirty workaround for background music breaking during loading (the music is switched when a round starts), the "wall" at the top of the levels is drawn on top of the lightmap, small fixes in AIObjectiveGetItem and BackGroundSpriteManager
2016-05-15 17:58:56 +03:00
Regalis
6537751961
Particle emitters can be assigned to statuseffects, fixed item.Submarine not being set correctly for throwable items, flare particles + sounds, nerfed some of the medical items
2016-05-11 20:16:50 +03:00
Regalis
1a3da8b29f
Tweaked enemy AI idle behaviour (lighter avoid steering to make the enemies less likely to "bounce" from wall to wall in tight spaces), fix for wander steering breaking if the velocity of the character is Vector2.Zero, different tooltips for suicide button in SP and MP
2016-05-08 17:15:02 +03:00
Regalis
3f22b2e4df
GUIMessageBoxes are drawn on top of everything else (they were obstructed by shiftsummary), placing background sprites based on level seed, instructions for dealing with broken junction boxes in tutorial
2016-05-01 18:55:44 +03:00
Regalis
63bb78b3ef
Using TrySetLimbPosition when flipping a character to prevent limbs from going through walls, changes to outside->inside teleportation logic
2016-05-01 18:53:58 +03:00
Regalis
4cda429ab0
LightSources can be assigned to limbs, glowing watcher
2016-05-01 18:47:44 +03:00
Regalis
d3ab7946a8
Using ToLowerInvariant instead of ToLower (the game works for Turkish players now!)
...
http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
2016-04-27 17:14:09 +03:00
Regalis
81ca1a409b
Fixed NullReferenceException when attempting to send an ApplyStatusEffect update for an item that was removed from the inventory by the statuseffect (eg syringe with nitroglyserine which was dropped because of the explosion), oxygen level detoriates more slowly when unconscious, showing a tooltip for items in a subinventory, nitroglyserine explodes on first injection (instead of after a few injections when condition drops to zero)
2016-04-25 21:58:26 +03:00
Regalis
2136641609
Stun syncing bugfix, fixed dead/unconscious characters being unselectable in the info menu, pockets for doctors, fixed tutorial (map generation algorithm changes had made the level unplayable)
2016-04-25 19:16:01 +03:00
Regalis
45e3bed07c
Some more fabricable chemicals, made cargo missions more common, items in characters' inventories aren't affected by fire
2016-04-24 20:33:33 +03:00
Regalis
c08029dea8
Handheld sonars only consume batteries when they're on, endworms aren't "flipped" when they turn around, every limb is checked in SubmarineBody.DisplaceCharacters (instead of just reflimb)
2016-04-24 20:31:26 +03:00
Regalis
14ef736176
"Suicide button" is also usable in single player, unconscious characters can't be selected in sp, fixed resizing textblocks with wrapped text
2016-04-23 17:26:56 +03:00
Regalis
6c538443fd
- characters aren't teleported through gaps if a wall doesn't have a hole there
...
- characters aren't teleported outside until they're far enough from hulls (prevents them from "jumping" outside as they're teleported partially inside the body of the sub)
- arms are mirrored/flipped when turning in water
2016-04-22 17:21:34 +03:00
Regalis
510602623a
Fixed "subinventories" (oxygen tanks inside suits etc) being drawn under the main inventory
2016-04-21 18:38:07 +03:00
Regalis
12dc494e42
Displaying the condition of contained items in the inventory slot of the parent item (i.e. the amount of oxygen left in a diving suit is visible without highlighting the suit), some debug logging, colored speech bubbles
2016-04-21 17:17:42 +03:00
Regalis
e46ec1ade2
Cargo spawning bugfix, removing cargo items before saving the game (so that they won't stay in the sub after completing the mission)
2016-04-20 20:33:38 +03:00
Regalis
de2af7f973
Speech bubble icon next to the character when speaking in multiplayer, fixed clients sending every message through radio when wearing a headset
2016-04-20 20:31:45 +03:00
Regalis
e271873a43
Autopilot uses submarine position as a "reference position" (instead of the position of the nav terminal), radar display bugfix, ragdolls aren't teleported outside the sub if they're in a tiny gap between hulls (e.g. passing through a broken wall between rooms)
2016-04-20 17:28:20 +03:00
Regalis
188220c464
A "suicide button" which can be used if the character is unconscious and the player doesn't want to wait for help, fixed submarine staying loaded when clicking the "load previous" button mid-round, main path waypoint generation bugfix
2016-04-20 17:22:22 +03:00
Regalis
e33f30dad1
Mid-round chat messages have a limited range, headset item which can be used to communicate with players further away, new inventory slot for items like masks and headsets
2016-04-20 17:19:38 +03:00