Commit Graph

  • 2347f2937e Improved revolver hitreg, shooting structures affects karma, fixed 5th server being blocked in server list juanjp600 2017-12-04 12:39:27 -03:00
  • 6841bb154b Added Karma, harming players reduces it juanjp600 2017-12-03 21:51:12 -03:00
  • 4a1eea8c30 Fixed crash when setting a filter while the game is refreshing the server list juanjp600 2017-12-03 20:33:20 -03:00
  • f8e5a4f7ab Use SetClientCharacter in AddToRemoveQueue juanjp600 2017-12-03 19:09:55 -03:00
  • 2d1220e1fd Merge branch 'master' of https://github.com/Regalis11/Barotrauma juanjp600 2017-12-03 19:06:15 -03:00
  • e323e9dc71 Fixed chat messages being assigned to the wrong sender when their bodies have been eaten juanjp600 2017-12-03 19:06:01 -03:00
  • b68cceae55 Added smallitem tag to revolver rounds Joonas Rikkonen 2017-12-03 22:56:53 +02:00
  • 0840a29ff3 Started overhauling the client permission system to make it a bit more flexible. Now the clients can have the permission to use specific console commands (atm these commands are relayed to the server as-is). Joonas Rikkonen 2017-12-03 22:54:28 +02:00
  • c74f2d66b2 one more keyword Alex Noir 2017-12-03 23:26:02 +03:00
  • 63f8760b86 Added traitor code words Fixed host never being traitor Alex Noir 2017-12-03 19:39:31 +03:00
  • a19579088f Merge branch 'master' of https://github.com/Regalis11/Barotrauma juanjp600 2017-12-03 11:59:34 -03:00
  • 3db407fe52 Fixed wire connections being lost when copy-pasting in sub editor juanjp600 2017-12-03 11:59:29 -03:00
  • 8735dffd04 Added console command for killing characters Joonas Rikkonen 2017-12-03 15:36:20 +02:00
  • b36d3fc70e Fixed clients not getting notified when a character is spawned midround by a repeating MonsterEvent (eventually causing them to be kicked out because of desync). Joonas Rikkonen 2017-12-03 15:32:51 +02:00
  • ca535d295f Merge remote-tracking branch 'origin/master' into antagonists Alex Noir 2017-12-03 13:10:04 +03:00
  • f0225e4312 Chemicals and explosives can be thrown. Nitroglycerin & flash powder explode on impact, no effect on other items yet (implement applying status effects when the item hits someone?) Joonas Rikkonen 2017-12-03 01:10:26 +02:00
  • ddf9ad26b8 v0.7.0.1 Joonas Rikkonen 2017-12-03 01:07:16 +02:00
  • 9e5f503659 Added minor damage protection to diving suit Joonas Rikkonen 2017-12-03 01:07:04 +02:00
  • 56df7b6900 Support for multi-traitors! It's possible for traitors to share targets and/or target each other. Todo: code phrases-responses, clientside settings for traitor amount Alex Noir 2017-12-03 00:43:14 +03:00
  • 20664c08fd Fixed limb lightsources not rotating with the limb Joonas Rikkonen 2017-12-02 19:14:49 +02:00
  • 3bcd128ac7 Fixed extra quote in carrier.xml Juan Pablo Arce 2017-12-02 13:19:44 -03:00
  • f55d028799 Chatbox can be deselect by pressing enter while it's empty Joonas Rikkonen 2017-12-02 17:47:05 +02:00
  • 1cc33d221d Moving the sub using IJKL in debug builds is disabled when writing into a textbox. Joonas Rikkonen 2017-12-02 16:46:27 +02:00
  • 063881701c Fixed exceptions when attempting to set the value of a serializable rect property by parsing a string Joonas Rikkonen 2017-12-02 16:25:21 +02:00
  • c66191ca94 Added exception handling to SerializeProperty.TrySetValue methods Joonas Rikkonen 2017-12-02 15:50:40 +02:00
  • ccac8de723 Removed unused NetConfig constants and leftover debug code in GameServer Joonas Rikkonen 2017-12-02 15:42:52 +02:00
  • 04bcc6b9b1 Modifications to the damage/armor system: - Armor values aren't reduced from the damage taken, but instead multiply the damage (e.g. an item reduces damage by 10% instead of 10 hp). Now armor doesn't make characters invulnerable to small amounts of damage. - Armoring isn't defined as a single "armor value", but instead there are "damage modifiers" which can be added to items and limbs. The modifiers can only affect specific types of damage and have separate multipliers for the damage amount and bleeding amount. - Having a fire proof item on a limb doesn't make that limb invulnerable to burn damage. Item's that protect against fire now have a damage modifier for the Burn damage type. Joonas Rikkonen 2017-12-02 15:42:13 +02:00
  • 1d4327b690 Diving suits cover feet (fixes characters receiving damage almost exclusively to their feet when wearing a diving suit) Joonas Rikkonen 2017-12-02 15:35:06 +02:00
  • 78e97097cd Fixed autorestart counter overlapping with the campaign map in the server lobby screen Joonas Rikkonen 2017-12-02 15:28:29 +02:00
  • 0740ca84bc Overhauled GetEndMessage() to also include detaining Alex Noir 2017-12-02 16:15:50 +03:00
  • deefcafe02 Made the name of the "Linkable/IsLinkable" property consistent Joonas Rikkonen 2017-12-02 14:19:23 +02:00
  • 905eaeccc2 Merge pull request #55 from Crystalwarrior/prTest Juan Pablo Arce 2017-12-02 08:13:41 -03:00
  • 343b8efd87 Fixed unwired railgun controller crash juanjp600 2017-12-02 08:13:08 -03:00
  • 1394d15c29 fix start pop up saying the host is the target if host becomes traitor Alex Noir 2017-12-02 11:09:06 +03:00
  • 5cb603b3e5 Fixed entity linking not working juanjp600 2017-12-02 01:05:16 -03:00
  • ee04eecd49 Fixed autorestart command being broken in dedicated server juanjp600 2017-12-01 20:35:34 -03:00
  • 18a5b3eabb Update content package to 0.7, removed serverconfig.xml juanjp600 2017-12-01 20:26:56 -03:00
  • 2fea48287c Item pickup sounds are only played when the controlled character picks up an item Joonas Rikkonen 2017-12-01 22:11:14 +02:00
  • 7c2ea0a5f0 Merge branch 'master' of https://github.com/Regalis11/barotrauma Joonas Rikkonen 2017-12-01 22:09:31 +02:00
  • af6f0b0386 Fixed content package dropdown setting not being saved juanjp600 2017-12-01 14:47:39 -03:00
  • 84ba36aa78 Added timestep accumulator to dedicated server, improved autorestart commands, added client permission commands juanjp600 2017-12-01 14:25:10 -03:00
  • 0ab5bccb44 v0.7.0.0 Joonas Rikkonen 2017-12-01 16:43:18 +02:00
  • d021fe593e Fixed tutorial exceptions when player dies juanjp600 2017-12-01 10:27:53 -03:00
  • 2d55d41320 Fixed railgun HUD crash when the first linked item doesn't have an ItemContainer juanjp600 2017-12-01 09:53:07 -03:00
  • 5b1798cb50 Fixed monsters not taking damage when they're far enough from the host's camera (or the main sub when using the dedicated server). The limbs of the monsters were disabled when 8000 units away, causing them to become invincible because the collider does not register damage. Joonas Rikkonen 2017-11-30 17:07:37 +02:00
  • 6e9c33fe89 Added radio chat hotkey Joonas Rikkonen 2017-11-29 19:16:53 +02:00
  • e4664b3d27 The character spawning debug command doesn't require the config file of the character to be in the default character folder (as long as the character is included in the selected content package). Joonas Rikkonen 2017-11-29 19:16:31 +02:00
  • 51fe7df481 Railgun HUD (shows supercapacitor charge & how many shells there are left) Joonas Rikkonen 2017-11-27 19:34:57 +02:00
  • f4f58622e1 Short delay before the "pressure increasing" message is displayed (because clients may briefly be outside the sub before they get in sync with the server) Joonas Rikkonen 2017-11-24 18:53:21 +02:00
  • e79ad3dceb Fixed AICharacters not playing sounds in mp Joonas Rikkonen 2017-11-24 17:49:52 +02:00
  • 1c09f757a2 Renaming fields in the Client class for consistency Joonas Rikkonen 2017-11-23 20:43:22 +02:00
  • 4689bec441 Clients send the latest received campaign ID to the server when in the lobby instead of requesting it once with a reliable message. -> Now the server reattempts sending the save file if the transfer fails at either end. Joonas Rikkonen 2017-11-23 20:16:47 +02:00
  • 18db667c1e The server list can be filtered based on a few criteria Joonas Rikkonen 2017-11-21 00:59:53 +02:00
  • fce7d43ef3 Fixed characters not appearing in the round summary in mp, minor CrewManager refactoring Joonas Rikkonen 2017-11-20 20:21:18 +02:00
  • 765587efd7 Renamed screens (EditMapScreen -> SubEditorScreen, EditCharacterScreen -> CharacterEditorScreen) Joonas Rikkonen 2017-11-18 15:13:03 +02:00
  • cda08b1745 Fixed inability to move selectable items in character mode in the sub editor Joonas Rikkonen 2017-11-18 15:12:23 +02:00
  • 2d17b6e889 Fixed string inputs in SerializableEntityEditor being cleared when enter is hit Joonas Rikkonen 2017-11-18 14:55:27 +02:00
  • 903686aed7 Modified particle properties can be saved directly to the config file Joonas Rikkonen 2017-11-18 14:18:46 +02:00
  • 3a6508648f Progress on particle editor: - Emission settings of the preview particles can be edited. - The XML config of the selected particle prefab can be copied to clipboard. Joonas Rikkonen 2017-11-17 20:58:00 +02:00
  • acfee80755 WIP particle editor, added tooltips to ParticlePrefab properties Joonas Rikkonen 2017-11-17 01:09:52 +02:00
  • 36fa61bdca ParticlePrefabs are deserialized using SerializableProperty Joonas Rikkonen 2017-11-16 21:01:46 +02:00
  • d13d3101ea Made enum deserialization case insensitive Joonas Rikkonen 2017-11-16 21:00:42 +02:00
  • 08cf902cb8 MapEntityPrefabs are deserialized using SerializableProperty Joonas Rikkonen 2017-11-14 23:12:55 +02:00
  • 04e3710a65 Renaming fields for consistency Joonas Rikkonen 2017-11-14 22:45:22 +02:00
  • 5f4bf48449 Replaced instances where MapEntityPrefabs are searched for based on the name with a static Find method that takes the aliases of the prefabs into account. Joonas Rikkonen 2017-11-14 21:40:43 +02:00
  • d072713936 Replaced manual rect parsing in a bunch of places with an extension method Joonas Rikkonen 2017-11-14 21:09:07 +02:00
  • 913a102591 Option to set aliases for StructurePrefabs Joonas Rikkonen 2017-11-14 21:04:49 +02:00
  • 5d525865bf More descriptive error message when a fabricable item can't be found Joonas Rikkonen 2017-11-14 20:00:57 +02:00
  • 05f94c2666 Fixed rebinding keys to mouse2 via the settings menu Joonas Rikkonen 2017-11-14 19:15:57 +02:00
  • ff926c1da2 Warning texts when water pressure is increasing to dangerous levels and when running out of oxygen, added a method for invoking an arbitrary action after a delay to CoroutineManager Joonas Rikkonen 2017-11-14 19:10:43 +02:00
  • 157d9dcaba Fixed errors when attempting to save server logs with illegal characters in the server name Joonas Rikkonen 2017-11-14 19:08:45 +02:00
  • 65b1e8c83a SerializableEntityEditor layout tweaking Joonas Rikkonen 2017-11-14 18:59:12 +02:00
  • b3769b383a - Input field for rects. - Input fields for ItemComponent requiredItems. - Added tooltips to a bunch of editable ItemComponent properties. - Misc fixes. Joonas Rikkonen 2017-11-13 20:55:07 +02:00
  • f7298c241e Progress: - Input fields for vectors & colors in SerializableEntityEditor. - SerializableProperty tooltips. - GUINumberInput supports floats. - EditingHUD for structures (atm the only editable property is the color of the sprite) Joonas Rikkonen 2017-11-12 20:24:11 +02:00
  • 8e556f1c76 - Renamed a bunch of ObjectProperty-related stuff (ObjectProperty -> SerializableProperty, IPropertyObject -> ISerializableEntity, the "SerializableProperty" attribute -> Serialize). - Rectangle serialization. - Option to restrict numeric properties to a range of values. - WIP generic ISerializableEntity editor. Joonas Rikkonen 2017-11-08 21:15:03 +02:00
  • a0d606ef5f Working on improving the serialization system and ObjectProperty/IPropertyObject (TODO: come up with better names). The plan is to: - Add support for some of the most common types (vectors, colors, rects) so there's no need to parse the values in the setters of the serializable properties (see Holdable.HoldPos for example). - Make a generic version of the item editing HUD that can be used on any IPropertyObject. Should make it easier to implement things like the character editor, editing structure properties, particle editor, etc. - Improve the interface of the editing HUD. Instead of having to type in a string value into a textbox, there should be number input fields for numeric properties, sliders for properties that only accept a range of values, a color picker, etc. And tooltips. Joonas Rikkonen 2017-11-03 19:41:21 +02:00
  • 8b9be55135 Fixed damaged thresher sprite Joonas Rikkonen 2017-11-03 18:07:11 +02:00
  • 25664ea611 Optimizations & minor visual changes to sonar UI Joonas Rikkonen 2017-11-01 20:59:30 +02:00
  • ec020f43d3 Fixed creatures seeking towards an incorrect position when trying to eat something (causing larger creatures like threshers and coelanths to swim around the target without ever reaching it), extra check for removed entities in AITarget Joonas Rikkonen 2017-11-01 20:58:37 +02:00
  • 69d0fac69d Made the damage range of limb attacks configurable (instead of having it always be half of the distance at which the attack activates) and tweaked the damage ranges of all the creature attacks Joonas Rikkonen 2017-11-01 20:42:17 +02:00
  • f8258450a1 Merge branch 'master' of https://github.com/Regalis11/barotrauma Joonas Rikkonen 2017-10-19 00:02:30 +03:00
  • 1f92e31166 HumanAIController calculates the "dangerousness" of an enemy based on the largest amount of damage received from it (assuming it's larger than the attack values of the enemy's limbs). Meaning that an enemy that inflicted lots of damage to the character using items is considered dangerous even if it has no attacks assigned to it's limbs. Joonas Rikkonen 2017-10-19 00:01:34 +03:00
  • 87e9936c60 Captains spawn with a revolver and 2 rounds, heavier harpoon gun recoil & impulse when the spear hits someone. Joonas Rikkonen 2017-10-18 23:52:03 +03:00
  • 6bfca5f7fe - Hitscan projectiles, projectiles can be set to disappear after hitting something. - Option to adjust ranged weapon spread (separate values for "normal spread" and when being used by an unskilled character). - Option to disable explosion flashes. Joonas Rikkonen 2017-10-18 23:48:25 +03:00
  • b5ede1ce8e Merge branch 'master' of https://github.com/Regalis11/Barotrauma juanjp600 2017-10-16 22:53:59 -03:00
  • dd2c7661e3 Reverted back to Reach profile, changed damageshader shader model to match other shaders juanjp600 2017-10-16 22:53:35 -03:00
  • 142920d704 - Added sprites for damaged doors. - Fixed destroyed doors being impossible to repair because the repair tool raycasts wouldn't hit the disabled body of the door. - Destroyed doors don't cast shadows and the body isn't re-enabled until the door is restored to 50% health. Joonas Rikkonen 2017-10-12 19:45:49 +03:00
  • 3a67418985 Minor optimizations + Potential bugfixes juanjp600 2017-10-11 22:52:13 -03:00
  • f46dc5da28 Water flow logic tweaking: - Less fluctuation, water doesn't constantly flow back and forth through gaps. - Flowing water pushes characters around much more heavily, and the force is applied to the collider in addition to the limbs. - Vertical gaps don't push characters up/down unless the character is roughly above/below the gap. Joonas Rikkonen 2017-10-10 00:34:54 +03:00
  • c444186426 Updated client project (ShiftSummary -> RoundSummary), removed unused drowningtime variable Joonas Rikkonen 2017-10-05 21:35:57 +03:00
  • f8dfba91b8 Capped oscillator frequency to 240 Hz to prevent players from causing performance issues by setting it to an excessively high value Joonas Rikkonen 2017-10-05 21:19:23 +03:00
  • 57667b3169 Fixed removed (e.g. eaten) characters not appearing in the round summary, but still spawning during the next round Joonas Rikkonen 2017-10-05 21:18:01 +03:00
  • a740bf9a56 Added oscillators (a signal component that sends out a periodic pulse, sine wave or a square wave) Joonas Rikkonen 2017-10-04 20:18:01 +03:00
  • 3aaf5cbae2 ObjectProperties support enums, added a dropdown for enum properties to item editing UI. Joonas Rikkonen 2017-10-04 20:07:57 +03:00
  • 1ff2054ca8 Converted the GetAttribute methods in the ToolBox class to extension methods Joonas Rikkonen 2017-10-04 18:38:40 +03:00
  • 6c7c97a875 Replaced the placeholder C4, detonator & grenade sprites Joonas Rikkonen 2017-09-28 19:00:59 +03:00
  • f127c410b0 Option for clients to spectate the game without respawning Joonas Rikkonen 2017-09-25 21:30:55 +03:00
  • 5eb1544f1e Clients can be given a permission to select the sub or the game mode Joonas Rikkonen 2017-09-24 17:11:10 +03:00
  • 04b0c63f30 Campaign mode can't be voted for. The host has to manually create/select the campaign save, so switching to the campaign mode when the host isn't present would cause problems. Joonas Rikkonen 2017-09-24 13:41:54 +03:00
  • 5a4bc0242d Voting UI fixes: - The vote count texts are removed when voting is disabled. - Server sends vote status to joining clients (-> clients see the number of votes immediately, not after someone votes something). - Server refreshes vote count texts when a client disconnects. Joonas Rikkonen 2017-09-21 20:37:30 +03:00