Commit Graph

  • 03626c997b - Fixed shadows not being cast if the lightsource is outside the sub and the convexhull is not - Option to change the texture of the "light sphere" - Added "headlights" to the scooters Regalis 2016-05-03 00:27:48 +03:00
  • 26608d3f82 Fixed long level/map seeds always being converted to int.MaxVal Regalis 2016-05-03 00:16:43 +03:00
  • 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 Regalis 2016-05-03 00:14:52 +03:00
  • 2c76a6ad3c Another variant of the new monster, new menu category for alien items/structures, another ruin-specific music clip Regalis 2016-05-03 00:09:41 +03:00
  • 9f30ecc1b7 Fix for InvalidCastException when trying to send a ApplyStatusEffect network event Regalis 2016-05-01 18:56:42 +03:00
  • 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 Regalis 2016-05-01 18:55:44 +03:00
  • 63bb78b3ef Using TrySetLimbPosition when flipping a character to prevent limbs from going through walls, changes to outside->inside teleportation logic Regalis 2016-05-01 18:53:58 +03:00
  • 4cda429ab0 LightSources can be assigned to limbs, glowing watcher Regalis 2016-05-01 18:47:44 +03:00
  • 3114006d86 Alien ruins, some new alien items and a new monster Regalis 2016-05-01 18:46:17 +03:00
  • 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 Regalis 2016-04-27 17:14:09 +03:00
  • 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) Regalis 2016-04-25 21:52:27 +03:00
  • 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) Regalis 2016-04-25 19:16:01 +03:00
  • 45e3bed07c Some more fabricable chemicals, made cargo missions more common, items in characters' inventories aren't affected by fire Regalis 2016-04-24 20:33:33 +03:00
  • 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) Regalis 2016-04-24 20:31:26 +03:00
  • d4816c3ee9 v0.4.0.1: radio messages visible to spectators, handheld sonars in vanilla subs, nerfed water damage to junction boxes, moved junction boxes inside Nehalennias ballast tanks to a drier location Regalis 2016-04-24 13:11:46 +03:00
  • 5d635f5865 v0.4.0.0 Regalis 2016-04-23 17:33:34 +03:00
  • 8c19adeb5e Some more randomness in level generation, info message about the radio command in mp Regalis 2016-04-23 17:32:52 +03:00
  • 1a96159bdb ScriptedEvent debug logging, saving VerboseLogging option, using the first loaded contentpackage if no contentpackage has been selected Regalis 2016-04-23 17:28:11 +03:00
  • 14ef736176 "Suicide button" is also usable in single player, unconscious characters can't be selected in sp, fixed resizing textblocks with wrapped text Regalis 2016-04-23 17:26:56 +03:00
  • 99072592bc Removed duplicate clowngear from doctorgear.xml, event commonness/difficulty tweaking, nitroglycerine explodes more easily Regalis 2016-04-23 17:24:52 +03:00
  • 83081d98c0 Water forces aren't applied to disabled bodies, logging sound loading Regalis 2016-04-22 23:46:36 +03:00
  • e84e72bba6 Borderless windowed mode, mid-round settings menu Regalis 2016-04-22 20:55:56 +03:00
  • 3347fcdd20 Server notifies clients about junction boxes breaking (+ clients aren't allowed to break them), fixed explosion lightSource positioning Regalis 2016-04-22 17:28:22 +03:00
  • c2242ad525 Fixed tooltip "background block" sizing Regalis 2016-04-22 17:25:09 +03:00
  • 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 Regalis 2016-04-22 17:21:34 +03:00
  • 510602623a Fixed "subinventories" (oxygen tanks inside suits etc) being drawn under the main inventory Regalis 2016-04-21 18:38:07 +03:00
  • 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 Regalis 2016-04-21 17:17:32 +03:00
  • e46ec1ade2 Cargo spawning bugfix, removing cargo items before saving the game (so that they won't stay in the sub after completing the mission) Regalis 2016-04-20 20:33:38 +03:00
  • de2af7f973 Speech bubble icon next to the character when speaking in multiplayer, fixed clients sending every message through radio when wearing a headset Regalis 2016-04-20 20:31:10 +03:00
  • eae35d139b Update to MonoGame 3.5 Regalis 2016-04-20 20:29:46 +03:00
  • 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) Regalis 2016-04-20 17:28:20 +03:00
  • 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 Regalis 2016-04-20 17:22:22 +03:00
  • 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 Regalis 2016-04-20 17:19:38 +03:00
  • a45f58cd08 New artifact sprites, ping sound for handheld sonar, fixed newlines multiplying in GUITextBlocks every time the block is resized Regalis 2016-04-16 21:42:40 +03:00
  • 5bacb66543 - fixed holes only being passable at the first and last sections of a wall Regalis 2016-04-16 21:03:11 +03:00
  • 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 Regalis 2016-04-16 21:00:21 +03:00
  • 204d1333d1 Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma Regalis 2016-04-16 15:36:10 +03:00
  • 31a04c7bc1 Cargo missions, a menu that shows the mission description mid-round Regalis 2016-04-16 15:36:01 +03:00
  • 6876bdc481 Crates, some new chemicals, statuseffects that are triggered on impact, explosions can trigger "OnFire" statuseffects, applying impulses to items (and not just characters) when the submarine hits something Regalis 2016-04-16 15:33:28 +03:00
  • f9d64ea5c4 Some more commenting & cleanup Regalis11 2016-04-10 21:03:40 +03:00
  • c6df095a8b Narrow caves in levels, more background sprites Regalis 2016-04-10 10:57:38 +03:00
  • 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 Regalis 2016-04-09 14:31:59 +03:00
  • c7545d5816 - StartCoroutine returns a handle which can be used to stop a coroutine, and coroutines and be given a name to make accessing them easier - StatusEffect coroutines are stopped when the round ends - Fixed GameServer keeping a reference to the TraitorManager after a round ends (causing traitor messages to appear even if traitors aren't on anymore) - Option to spawn characters near/inside/outside the sub using the spawn command Regalis 2016-04-06 18:36:26 +03:00
  • 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 Regalis 2016-04-02 16:03:41 +03:00
  • 2a2ba80f9c ItemLabel optimization: textBlock is drawn using an offset relative to the position of the item instead of modifying textBlock.Rect each frame (causing the text position/wrapping to be recalculated each frame) Regalis 2016-04-02 15:54:00 +03:00
  • 5f05db7ca4 - fixed "signal loops" causing StackOverFlowExceptions (now the signals can only take 10 "steps" between components per frame) - parameter for changing the output value of And/Or components when the input conditions aren't met - or components work properly now - a limited number of signals (100) can be queued in a delay component Regalis 2016-04-02 02:25:44 +03:00
  • 3ac8139fc7 - changes to the logic for distributing oxygen through vents: the oxygen generator pushes more oxygen to larger rooms - bugfixes in HumanoidAnimController.Flip() - item/itemcomponent statuseffects are stored in a dictionary with the actiontype as a key, so the item doesn't have to iterate over all the components and all their statuseffects - gap bubble particle tweaking Regalis 2016-03-29 17:57:05 +03:00
  • 23f1623562 Fixed missions not matching between Linux and Windows builds Regalis 2016-03-28 19:56:32 +03:00
  • c1a1990f08 - moving characters out of the way when the sub is teleported to the right position in multiplayer (monsters shouldn't randomly pop up inside the submarine anymore) - taking sub position into account when snapping cursor position to the grid -> new items/structures are aligned with existing ones if editing the sub while a round is running Regalis 2016-03-28 16:11:55 +03:00
  • 9a0bf07fc2 - some more medicine value tweaking - medicine & toxic cabinet items (added to vanilla subs) - updating the positions of items inside a moving container (caused explosions to happen in the wrong position if the explosive inside something like a grenade) - renamed doctors as medical doctors Regalis 2016-03-27 20:25:24 +03:00
  • 7f40071565 - fixed ReliableChannel going crazy if a client disconnects and reconnects immediately after: the client created a new ReliableChannel but the server was still using the old one, causing the client to rerequest a ton of messages (now the server resets the channel when a client rejoins and reliablechannel resets itself if the message IDs are too far apart) - syncing statuseffects caused by using an item on self Regalis 2016-03-27 20:20:34 +03:00
  • c8597f76be - added med bays to the vanilla subs - some new wall prefabs - medical item statuseffect tweaking - fixed textBoxes not being deselected in waypoint editing hud after applying the changes Regalis 2016-03-26 23:25:04 +02:00
  • 2f7295eaad Option to set a duration for a status effect Regalis 2016-03-26 23:20:02 +02:00
  • ca492bf0d4 - health scanner item - specific skills are required to fabricate some items - changes to medical syringes: the status effects are defined in the chemical item instead of the syringe Regalis 2016-03-26 18:15:44 +02:00
  • 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 Regalis 2016-03-26 18:09:17 +02:00
  • 277762a72a Doctor class, a bunch of chemical/medicine items, medical fabricators Regalis 2016-03-25 15:35:41 +02:00
  • f585235887 Performing CPR on unconscious players, a "use on self" button for some items Regalis 2016-03-25 15:34:40 +02:00
  • 0dbfb54b5f - crouching (allows placing signal items at the bottom of a room and may be useful when doctors are added (CPR animation, using medical items on dead bodies?)) - changes to the dying logic: characters will be unconscious when their health or oxygen goes below 0.0, and die when it drops to -100.0 (if either of the values is below zero, it will automatically decrease so the character will quickly die without medical care) - fixed LightSprite being drawn on LightComponents even if the item is inside an inventory - characters extend their arm more when placing signal items Regalis 2016-03-20 20:15:47 +02:00
  • fc8b30c974 - npcs wont try grab items from other characters' inventories - fixed lightcomponent LightSprites "twitching" when the sub is moving - fixed null reference exceptions in Hull.Render if no submarine has been loaded - submarine descriptions - emergency sirens in Aegir & Vellamo - changed the required item for fabricating a wire from "Copper" to "Copper Bar" Regalis 2016-03-18 17:48:25 +02:00
  • 8df9864db9 - emergency siren and alarm buzzer items - wires and alarm buzzers can be fabricated - fixed items selecting constructions outside the hulls - ItemLabel.TextColor works now - removed a random dot at the corner of head5.png - inventory is visible in wiring mode - fixed null reference exceptions in AIObjectiveGoto and Holdable Regalis 2016-03-17 19:28:46 +02:00
  • 20d61b0647 - fixed light components throwing errors when receiving an invalid color value to the "set_color" input - fixed it being possible to connect wires to more than two items by selecting another item while dragging the wire - relay components break if too much power is directed through them - relay components are active by default and the can be toggled on/off in the editor - bool properties show as checkboxes in the editor Regalis 2016-03-17 19:16:21 +02:00
  • d6a57f9533 Bunch of crew AI bugfixes/improvements: - replacing empty oxygen tanks - fixed characters only fixing leaks in the outer hull - prioritizing large leaks over small ones - fixed characters doing nothing after fixing all the leaks (and sinking to the bottom if they happen to be outside) - more accurate welder aiming - AIObjectiveGetItem makes the characters go to the cabinet/container an item is inside, not to the actual item (which may not be actually positioned at the container) Regalis 2016-03-16 17:41:59 +02:00
  • 804510b144 - fixed launcher not resetting the "checking for updates" text if it fails to parse the updateinfo xml file - fixed crashing if switching from wiring mode to character mode - option to disable crew ai through the console Regalis 2016-03-16 17:35:11 +02:00
  • 6f312281bf Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma Regalis 2016-03-14 18:35:21 +02:00
  • 3402dad741 v0.3.5.1: - fixed UI controls not working in launcher - fixed battery cells not reloading inside batteries - moloch spawns earlier in tutorial - fixed wrong updaterversion in launcher (caused the launcher to always show a warning) Regalis 2016-03-14 18:33:35 +02:00
  • c30d20380e Launcher xml parsing fix Regalis11 2016-03-14 18:24:13 +02:00
  • 5120812adf - fixed AICharacters being updated even if they're disabled - enemies can spot targets from further away if they've previously spotted the target - physics bodies are immediately moved to the correct position if they're really far (instead of lerping) Regalis 2016-03-13 19:24:30 +02:00
  • d713874bd6 Tweaked AITarget ranges: now it's possible to evade some monsters by stopping the sub and/or turning off noisy devices, AITarget ranges can be made visible by entering "ShowAITargets" in the console, misc cleanup Regalis 2016-03-12 21:35:08 +02:00
  • c99f94b1de Fixed projectiles (e.g. railgun shells) not colliding with the sub when shot from outside, fixed lightcomponents not being positioned correctly on moving items Regalis 2016-03-12 21:28:39 +02:00
  • d1580328ed Some cleanup using ReSharper (mostly removing redundancies) Regalis 2016-03-12 15:32:34 +02:00
  • 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 Regalis 2016-03-11 19:12:07 +02:00
  • ad17b1a9bf - "wiring mode" which makes wiring a bit more convenient in editor - invisible entities (items inside cabinets, hulls/gaps when they've been hidden) can't be highlighted or selected in the editor - fixed And Components always sending a signal out during the first frame if timeframe is set to 0.0 - fixed moloch not appearing in the tutorial Regalis 2016-03-11 16:10:36 +02:00
  • 581c95b065 Relay and delay components Regalis 2016-03-11 15:38:40 +02:00
  • 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") Regalis 2016-03-09 16:57:11 +02:00
  • a1c728d207 Networking bugfixes & improvements: - fixed server not sending kill-events when a monster dies - some interpolation when correcting character positions - physicsbody position lerping improvements - sending AICharacter Dir instead of TargetDir Regalis 2016-03-09 16:49:56 +02:00
  • 37f70a1028 Ladders outside the sub can be climbed now Regalis 2016-03-09 16:44:39 +02:00
  • 10bb5d061f - WIP attempt at syncing item positions - Some changes to item floating logic (lift is also applied to items outside the sub, forcefactor is clamped to 1 if the item is fully submerged) Regalis 2016-03-07 00:57:15 +02:00
  • 436bdb1448 v0.3.4.2: fixed section bodies not being restored after repairing a wall/window, fixed servers letting all clients in despite a wrong password, game version or content package Regalis 2016-03-05 12:50:22 +02:00
  • c2a2f8374b v0.3.4.1: Temporarily disabled water moving items, bleeding slows down automatically, buttons can be fabricated, mantises don't bleed Regalis 2016-03-05 11:29:48 +02:00
  • 1bc5cb24c1 Distance scaling Sebastian Broberg 2016-03-04 18:20:17 +01:00
  • 02825782e5 - Edited item densities to make more sense - Characters spawned through the console are synced with clients Regalis 2016-03-04 18:29:41 +02:00
  • 6efb64e94d Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma Regalis 2016-03-03 22:05:18 +02:00
  • 3a0201ca28 Items now take all gaps in account Sebastian Broberg 2016-03-03 21:05:04 +01:00
  • 6240f98f14 Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma Regalis 2016-03-03 21:56:29 +02:00
  • 0b7b52256b Small change to calculations. Sebastian Broberg 2016-03-03 20:55:20 +01:00
  • 63e5e75201 Fix for null exception upon start. Sebastian Broberg 2016-03-03 20:35:07 +01:00
  • b4ff867607 Merge branch 'master' of https://bitbucket.org/Regalis11/barotrauma Regalis 2016-03-03 21:18:53 +02:00
  • f97ff4ca46 Merge branch 'master' of bitbucket.org:Regalis11/barotrauma Sebastian Broberg 2016-03-03 20:18:35 +01:00
  • 467a99f79d Fixed hatch issue with shadows Added per segment visibility/collision Sebastian Broberg 2016-03-03 20:18:21 +01:00
  • 40714c1102 - converting NetworkEvent sending time to local time before doing any comparisons - using mersenne twister for random number generation due to differences in Mono and .NET implementations of the Random library - password prompt for password-protected private servers - fixed deconstructor, fabricator and railgun connection panels closing immediately after opening - fixed editor saving newly created subs to the root folder instead of the Submarines folder - keeping items in the same inventory slots between clients instead of just syncing which items are in the inventory - fixed crashing when swapping items between different limbslots Regalis 2016-03-03 21:11:54 +02:00
  • 35c36d283a Upgraded to MonoGame v0.3.4: rebuilt shaders, removed the old content project, added a default config file Regalis 2016-02-29 22:06:48 +02:00
  • 1a5b274a01 v0.3.4.0 Regalis 2016-02-29 20:01:28 +02:00
  • c64dbed55d Resizing structures/items in editor Regalis 2016-02-28 21:08:52 +02:00
  • 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 Regalis 2016-02-28 14:33:03 +02:00
  • cc4ada952f - File transfer improvements (switching the sub selection during transfer works, max transfer duration, waiting for transfers to finish before starting the round) - Firesource changes (more particles with shorter lifetimes, combining bugfix) - StatusEffects can target hulls and always be active - Cyrillic character support - Saving server settings - Swapping items in inventory by dropping an item to a non-free slot Regalis 2016-02-27 21:01:10 +02:00
  • 7309201b11 File sharing fixes: canceling transfers, displaying transfers & progress server-side, invalid sub files aren't selected or sent Regalis 2016-02-27 00:25:13 +02:00
  • 9f8f4e290e Fixed propulsion applying force to _every limb except_ the ones it's supposed to, fixed pressure building up in enclosed rooms that are full of water, fixed netlobby displaying multiple votes for clients, progress on file transfer Regalis 2016-02-26 22:21:00 +02:00
  • 77d3d22810 Camera twitching fixes, fixed crashing when loading a sub with no hull, fixed server lobby player count only working for 0-15 players, progress on downloading subs from the server Regalis 2016-02-25 22:54:10 +02:00
  • b081891dc6 Cam twitching fix? (untested) Regalis11 2016-02-24 19:44:15 +02:00
  • 6f51c6fb33 Extension method for reading/writing enums in netbuffers, (untested) classes for sending files Regalis11 2016-02-24 15:45:45 +02:00