Commit Graph

78 Commits

Author SHA1 Message Date
Sebastian Broberg
400084f9e5 BackgroundCreatureManager and BackgroundSpriteManager can be overridden via Content packages
Changed "topshaft"
2016-09-03 18:05:26 +02:00
Regalis
503883a885 Artifacts are spread out better throughout the levels 2016-08-28 20:28:24 +03:00
Regalis
0602bb6154 Dockingport power wire is connected to a free wire slot instead of the last slot, submarines above the top of the level (i.e. respawn shuttle) aren't shown on sonar, underwater scooter for each respawned player 2016-08-13 21:35:52 +03: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
4252f4b9d0 - clients don't spawn character jobitems themselves (item data is written in the StartGame network message)
- after receiving a StartGame message, clients will wait until the game is loaded before reading new messages from the server
- the Item(prefab, position, submarine) constructor uses the position as the center of the item, not as top-left corner
2016-07-29 18:38:42 +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
7349cdd310 Progress (compiles now) 2016-06-09 22:15:50 +03:00
Regalis
1828198abf More descriptive coroutine exception error messages, more null checks in Level.Unload 2016-05-30 18:33:46 +03:00
Regalis
c71a935de6 v0.4.1.3:
- fixed debug message height not being set correctly
- fixed submarine list not being updated if host has enabled "play yourself"
- fixed "queue empty" error when attempting to download a sub from the server
- maximum number of iterations when carving a path for a cave
2016-05-27 14:41:34 +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
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
ef05650c01 Motion sensor component, ruins have doors and hatches with randomly placed motion sensors that close them automatically 2016-05-07 09:09:30 +03:00
Regalis
09e8b8b9c6 - RepairTools work for structures that are outside the submarine
- Ruins are visible in sonar
- Fixed ruin generation algorithm occasionally creating too narrow rooms and placing corridors so that they're blocked by corners of a room
- Fix for wall textures being misaligned for map cells with no physics body
2016-05-03 00:14:52 +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
3114006d86 Alien ruins, some new alien items and a new monster 2016-05-01 18:46:17 +03:00
Regalis
8c19adeb5e Some more randomness in level generation, info message about the radio command in mp 2016-04-23 17:32:52 +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
17d499d70a - clients only apply OnImpact statuseffects on items when the server says so
- fixed characters occasionally teleporting partially inside walls in mp
- made it easier to drag characters while swimming
2016-04-16 21:00:21 +03:00
Regalis
204d1333d1 Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma 2016-04-16 15:36:10 +03:00
Regalis
31a04c7bc1 Cargo missions, a menu that shows the mission description mid-round 2016-04-16 15:36:01 +03:00
Regalis11
f9d64ea5c4 Some more commenting & cleanup 2016-04-10 21:03:40 +03:00
Regalis
c6df095a8b Narrow caves in levels, more background sprites 2016-04-10 10:57:38 +03:00
Regalis
c5685db0aa - handheld sonar
- junction boxes, sonar monitors, navigation terminals and engines break down if they're underwater long enough
- reactor cools down if it's underwater
- job-specific gear are grouped by job in separate .xml files
2016-04-09 14:31:59 +03:00
Regalis
39c9c78266 - level generation refactoring: moved most of the generation logic to a static GaveGenerator class + some minor cleanup
- WIP method for splitting the voronoi cells to smaller ones and carving a small cave through them
2016-04-02 16:03:41 +03:00
Regalis
d1580328ed Some cleanup using ReSharper (mostly removing redundancies) 2016-03-12 15:32:34 +02:00
Regalis
ae4e4d8f34 - wiring tool bugfixes
- new oxygen and welding fuel tank sprites
- more reliable method of checking that the sub can pass through the level
- moved the name of the highlighted item to the bottom of the screen
2016-03-11 19:12:07 +02:00
Regalis
6deab579a1 - fixed level generation algorithm placing waypoints at unreachable positions
- changes to drowning/suffocation logic (oxygen-value drops/rises at a fixed rate depending on whether there's enough oxygen available, instead of effects "stacking")
2016-03-09 16:57:11 +02:00
Regalis
35c36d283a Upgraded to MonoGame v0.3.4: rebuilt shaders, removed the old content project, added a default config file 2016-02-29 22:06:48 +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
8672a47a12 Taking structure offset from origin into account when spawning the sub, repairtool automatically targets last section if welding the second-to-last 2016-02-20 14:12:04 +02:00
Regalis
ea6824a60d Disable aiming with holdable items when using a (railgun) controller, syncing ViewTargetID properly between clients, dropping connected wires when a button is picked up, placing large InterestingPositions on the main path through the level 2016-02-13 23:26:50 +02:00
Regalis
08f1d05507 Fuel rods can't be turned back to uranium/incendium if they've already been used, fixed level generation breaking with smaller subs 2016-02-13 13:09:27 +02:00
Regalis
c6f52cc68f Voting for round to end, level generation improvements 2016-02-12 19:39:24 +02:00
Regalis
4f54e04c8c Improved level generation algorithm, fixed invisible hulls, turret projectile fix, fabricators work in mp 2016-02-11 21:37:37 +02:00
Regalis
5a38c4b1ef Disposing wrappingwall vertex buffers 2016-02-10 19:21:56 +02:00
Regalis
218b14d4bb Climbing walls with diving suit equipped, fixed weird animations when climbing with an item in hand 2016-01-21 17:38:31 +02:00
Regalis
75b8e44d3c Fixed wrappingwalls, fixed Level.GetCells returning the same cell multiple times, placing backgroundsprites based on level seed 2016-01-20 23:26:41 +02:00
Regalis
0fc085c86d Item UI replacements, fabricator bugfix, randomly spawning artifacts, AI can fix leaks, LimbAttacks do damage once (not each frame for the duration of the attack) 2016-01-14 21:06:08 +02:00
Regalis
17f3ec7301 Fabricator, deconstructor, itemspawner & itemremover syncing, fixed placing hulls in editor, misc cleanup 2016-01-10 17:10:22 +02:00
Regalis11
064e2eadd0 Round end cinematic, CoroutineManager deltatime 2015-12-26 19:33:23 +02:00
Regalis11
c7e7b3909f Autopilot waypoint skipping, AI finds and equips diving gear when the sub is flooding, progress on AI welding, equipping items in AIObjectiveGetItem, wire node coordinate bugfixes, EntityGrid.RemoveEntity fix 2015-12-23 00:10:02 +02:00
Regalis11
63f5a501e8 Optimization: Connection recipient caching, resetting cachedshadow data instead of creating a new one 2015-12-21 15:32:42 +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
Regalis11
a62c6d6711 Level rendering using vertex buffers 2015-12-19 18:54:43 +02:00
Regalis
e10bffde9b Light rendering optimization 2015-12-19 16:02:05 +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