Commit Graph

76 Commits

Author SHA1 Message Date
Regalis
0ba69a3472 Using nonpremultiplied alpha when drawing damaged wall sections (-> no artifacts around windows anymore), particle collision optimization 2016-09-22 18:14:16 +03:00
Regalis
721f4ff5a6 Particle system improvements:
- particles can collide with the outer walls of the sub
- drag + waterdrag parameters
- fixed particles "twitching" when the submarine is moving fast
- submarine velocity only affects the initial velocity of the particles (i.e. accelerating the sub doesn't automatically accelerate them)
2016-09-21 19:45:20 +03:00
Regalis
f8368f464a Walls have an additional background sprite below the destructible sprite, separate parameters for rgb and alpha lerping in the damage shader 2016-09-19 21:51:37 +03:00
Regalis
b24359464b Wall damage shader testing (WIP) 2016-09-16 14:47:08 +03:00
Sebastian Broberg
400084f9e5 BackgroundCreatureManager and BackgroundSpriteManager can be overridden via Content packages
Changed "topshaft"
2016-09-03 18:05:26 +02:00
Regalis
9209e093d7 Camera isn't clamped to the top of the level, but there's a black rect that hides everything above the top "wall" 2016-08-05 14:06:54 +03:00
Regalis
581a7d5d9f Highlighted items glow in the dark, health bars are hidden when health is full, usernames and health bars are drawn at full brightness 2016-07-31 19:13:08 +03:00
Regalis
09782be231 - sonar shows the outlines of docked subs (instead of normal sonar blips)
- fixed lights not being removed if the same explosion is triggered again before the previous one is finished
- fixed electrical shocks from junction boxes stunning nearby players (and not just the player using the jb)
- showing restart timer as mins + secs
- more server settings
2016-07-25 18:30:13 +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
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
Regalis
1f2937fad1 - opengl blur shader
- the "heal" console command cancels stun
- the camera shakes when the sub hits something only if controlled character is inside the sub
2016-05-18 11:45:38 +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
5e951bc225 BlurEffect refactoring: separate class for setting up the effect instead of methods in GameScreen 2016-05-11 20:17:34 +03:00
Regalis
a9ceaeb8ec - fixed ruin doors being placed outside corridors if the corridor passes through multiple rooms
- fog of war isn't drawn or updated when not controlling a character
- fixed topmost cells in the level not being placed in the cellgrid array, causing them to be ignored when enlarging the main path for the sub
- fixed slices of the diving suit sprite "bleeding" into the torso sprite
2016-05-10 18:46:42 +03:00
Regalis
d5f6fff2c2 Lighting improvements: lightmap is drawn over all structures and blurred, flashlight item, OnContained statuseffects are also applied when the item is contained in a characterinventory 2016-05-07 09:16:29 +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
6c0927a564 - health/oxygen syncing with the new -100.0 - 100.0 range taken into account
- enemies die when their health reaches 0.0 (instead of -100.0)
- HUD, chatbox etc disabled when the character is unconscious
2016-03-26 18:09:17 +02:00
Regalis
00c1edad09 - Changes in UpdateNetPlayerPosition
- Holdable items don't try to change the pose if hand anim is disabled (e.g. when dragging someone or using a railgun controller)
- Indicator which shows the position of the sub when spectating
- Bugfix in controller selection logic
- Saving attributes on separate lines in serversettings.xml
- Safer validation of received sub files
2016-02-28 14:33:03 +02:00
Regalis
619390ab72 Water dustparticle fixes, random variation in background color, submarine is automatically moved to origo when loading, configuring a fabricable item with no material requirements doesn't throw an error, AI characters can't open doors if in handcuffs, engines can be picked through doors 2016-02-20 18:24:38 +02:00
Regalis
201dc1b733 Supercapacitors have much higher max output but smaller capacity, fixed not being able to drag wire nodes in editor, batteries working properly now 2016-02-07 12:32:19 +02:00
Regalis
7637bc441f Selecting stairs based on WorldRect in editor, disable input if window not active, disable traveling if no locations are selected 2016-01-27 22:27:51 +02:00
Regalis
8cc12b6988 Moving camera with sub even if typing, server doesn't do impact damage to client characters, server sends cause of death in importantentityupdate if health<=0, fire sync fixes, lerping water surface in update instead of render, 2016-01-27 20:38:24 +02:00
Regalis
71faada355 Setting camera position correctly when switching to map screen with no character selected (spectating, etc) 2016-01-25 18:56:29 +02:00
Regalis
7098a9a5e0 v0.3:
- Launcher checks whether a patch is newer than the current version instead of going through the patches until the current version is found
- CharacterHUD is drawn under crew commander and other UI elements
- All structures other than the command room windows are restored to full health in tutorial
- Longer cooldown for moloch attacks
- AIObjectiveCombat always overrides current order
2016-01-23 14:37:00 +02:00
Regalis
5f1cb194ab List of previously used mapentities in editor, waypoint sprites, properly generating waypoints for hatches, waypoint paths are saved in editor instead of generating them on loading, gap particle bugfix, separate waypoint and spawnpoint prefabs, turret rotation limits visible in editor, hatch convexhull fix, new railgunloader sprite 2016-01-17 15:45:16 +02:00
Regalis
81547c2c9c Camera twitching fixes (again), using character name for ingame chatmessages instead of NetworkMember name, disabled CrewCommander in multiplayer, hide healthbar when dead 2016-01-09 19:16:38 +02:00
Regalis
bc9ff32023 New pump & railguncont sprites, saving fixes (disappearing items fixed?), moving LightManager.ViewPos to railgun when aiming, generating waypoints outside sub, easier wire node editing, characters stand when using a controller, shiftsummary crew status scrolling, stuff 2016-01-04 01:03:37 +02:00
Regalis
8c032d8368 Lighting bugfixes, setting camera position to character on shift start 2015-12-26 22:35:28 +02:00
Regalis11
2ff8643c02 Optimization: FindHull spatial hashing, itemcomponent sounds in a dictionary, got rid of Item.Updated, rendering fixes, disposing shadow vertex buffers 2015-12-21 11:01:35 +02:00
Regalis
4234aa2094 END WORM, fixed camera pos "twitching" when exiting/entering the sub, character scaling 2015-12-19 02:05:10 +02:00
Regalis
eb0e08c8ee Set orders stay in CrewCommander interface after reopening, minor changes to the interface layout 2015-12-17 19:35:14 +02:00
Regalis
fa5cceb903 Merge branch 'NewCoordinateSystem'
Conflicts:
	Subsurface/Barotrauma.csproj
	Subsurface_Solution.v12.suo
2015-12-17 18:29:26 +02:00
Regalis
af470eab2e more accurate submarine body generation, multiplayer fixes, saving takes HiddenSubPosition into account, fire coordinate fixes, editscreen fixes, checking item triggers in AIObjectiveGoto, netlobbyscreen sync fixes, re-enabled level start/end positions, water edit fixed 2015-12-17 18:26:40 +02:00
Regalis
859be53d28 Level wall generation bugfixes, moved level background drawing to LevelRenderer, more coordinate system bugfixes, better looking progress bars, 2015-12-14 18:59:59 +02:00
Regalis
17e8a2171f Progress + prettier ice walls 2015-12-12 13:44:05 +02:00
Regalis
78bccca4af Moar progress, fixed shadow/los/submarine misalignment issues 2015-12-09 19:29:53 +02:00
Regalis
ca7eae5322 Order symbols 2015-12-07 19:32:55 +02:00
Regalis
09588e548d Submarine rendering to correct position almost ready, fixed camera position "twitching" 2015-12-04 17:21:59 +02:00
Regalis
242af12f14 Progress 2015-12-04 01:37:30 +02:00
Regalis
c064c5eb50 Very unfinished attempt at changing the coordinate system to work relative to the level and to move the sub instead of the whole level 2015-12-03 19:42:11 +02:00
Regalis
1eaf22d3d0 v2.6.1 2015-11-22 00:40:37 +02:00
Regalis
8ec7fd44ff LimbSlot combinations for pickable items ("Any,RightHand+LeftHand"...) 2015-11-19 21:24:49 +02:00
Regalis
35f05376b0 Thermal artifact, mid-quest message popups, sortmode from immediate to deferred, saving bugfixes 2015-11-19 19:21:48 +02:00
Regalis
9b08201972 Fire extinguisher, burnt limbs, spectating improvements, option to disable spectating, jumpsuits for engi & mech, fireproof items, stuff 2015-11-18 20:02:45 +02:00
Regalis
4d949e3be1 Spectating, fire, damaged limb sprites, water detector, engineer jumpsuit, new signal comp sprites, resharper cleanup (god knows what else, commit more often) 2015-11-10 22:22:26 +02:00
Regalis11
73bde75c2e Obstructing vision when wearing a diving suit or mask 2015-11-01 17:47:59 +02:00
Regalis
bcc96cee97 Infinite wall fixes, pressure damage to sub, sub/mode voting & randomization working now, better ui scaling 2015-10-31 00:29:51 +02:00