Commit Graph

477 Commits

Author SHA1 Message Date
Joonas Rikkonen 421e77cc3e Fixed itemcomponents being loaded incorrectly if an item has multiple components of the same type. 2018-05-07 11:15:49 +03:00
Joonas Rikkonen 7dd4dca2ed Fixed crashing when a round starts if the sub has been saved while a fabricator was running. Closes #398 2018-05-07 11:15:12 +03:00
Joonas Rikkonen ed22ca360f Fixed AND/OR or components staying inactive until they receive their first signal. Closes #387 2018-04-25 14:43:44 +03:00
Joonas Rikkonen 88eabef8af Made characterusable default to false (as it did before 91d6c7b) 2018-04-24 20:58:42 +03:00
Joonas Rikkonen 8cf26e2d7f Fixed null reference exception if a statuseffect removes an item when a round is not running. Closes #385 2018-04-24 18:02:53 +03:00
Joonas Rikkonen 91d6c7b91f Fixed explosives being directly usable by characters, causing them to explode when left clicking while holding them due to 9dd9425c. See #385 2018-04-24 18:00:36 +03:00
Joonas Rikkonen 1d98df11a3 PropertyConditionals match if any of the targets match, junction boxes only take damage underwater when therey're powered up (because trying to fix all boxes in a flooded sub before they break again is pain in the ass) 2018-04-23 15:25:46 +03:00
Joonas Rikkonen f2842c265c Removed the need for batteries in diving suits, now the light stays on as long as the suit is worn by a living character. 2018-04-23 15:24:55 +03:00
Joonas Rikkonen eff5976461 PropertyConditional fixes:
- Fixed Equals/NotEquals not working at all because they checked for float values when the property is not a float and vice versa.
- Bool comparisons work now.
- Removed unnecessary property.GetValue calls, no need to get the value twice in the same method.
2018-04-23 15:19:40 +03:00
Joonas Rikkonen 6e666939a0 Wearables apply OnWearing StatusEffects in all the components of an item, not just the Wearable component. 2018-04-23 15:17:25 +03:00
Joonas Rikkonen c71315f4da Fixed StatusEffects of child ItemComponents not being added to an item's StatusEffect lists 2018-04-23 15:16:51 +03:00
Joonas Rikkonen ceaba2f5ca Fixed some entities occasionally not being removed at the end of a round. CargoMission removed the cargo items at the end of a round without checking if the items have already been removed, which could cause another entity to be removed from the entity dictionary if it's taken the ID of the cargo item. This prevented the new entity from being removed in Entity.RemoveAll, causing errors during the next round. Closes #278 2018-04-23 13:55:08 +03:00
Joonas Rikkonen e61dc5ae5f Option to log debug console output to a file. Closes #318 2018-04-20 20:11:01 +03:00
Joonas Rikkonen 177f31d538 Some more logging to help diagnose #278, a potential workaround to remove items/characters that Entity.RemoveAll failed to remove for some reason. 2018-04-20 16:50:10 +03:00
Joonas Rikkonen 395ca3c5c2 Removed debug code from PhysicsBody.ApplyLinearImpulse 2018-04-18 17:27:06 +03:00
Joonas Rikkonen c6f3d0c1b8 Attempt to fix characters occasionally getting launched out of the sub at lightspeed when the sub crashes into something (even if the impact doesn't appear to be that hard): impacts don't increase the velocity of the characters above 20 units/s. 2018-04-18 17:24:10 +03:00
Joonas Rikkonen eed7b72b4e Fixed player-controlled creatures being able to do damage to themselves and RepairTools causing damage to the user regardless of the user's skills. 2018-04-18 15:04:18 +03:00
Joonas Rikkonen edf5bacc89 Fixed EndRound music looping forever. Closes #334 2018-04-18 11:02:58 +03:00
Joonas Rikkonen 9a8f13140e Cherry-picked [ab78991]: Rendering tiled sprites with scaling works correctly now (I think?), added option to edit the offset of structure textures 2018-04-17 14:06:40 +03:00
itchyOwl 22e2c8d8c2 Fix the gap and submarine position indicator icon position. 2018-04-09 18:11:27 +03:00
itchyOwl 7d31f0cdb6 Add a backing field with the default value Vector2.One for TextureScale. Clamp the values between 0.01 and 10 to keep them sensible. 2018-04-09 16:16:17 +03:00
Joonas Rikkonen 3abbfcbc23 Railguns cannot be fired without aiming. Closes #364 2018-04-09 15:22:42 +03:00
Joonas Rikkonen fe064b2170 Added a debug command for mirroring the main sub horizontally 2018-04-09 10:59:56 +03:00
Joonas Rikkonen 465b848cb4 Fixed relay components ignoring signals to the toggle and set_state connections if the signal has been passed through other PowerTransfer components. Closes #355 2018-04-06 19:51:16 +03:00
itchyOwl 22c3af6af6 Enable editing of the texture scale of the structures. 2018-04-06 16:07:17 +03:00
itchyOwl 9fc65298e8 Reduce duplicate code in Sprite constructors. 2018-04-06 15:56:32 +03:00
itchyOwl e89fa0dc5c Add a todo note. 2018-04-06 11:51:52 +03:00
Joonas Rikkonen 3aeaae0595 Fixed RespawnManager not removing respawn items. Closes #234 2018-04-04 18:53:23 +03:00
Joonas Rikkonen 5731f8a522 Merge pull request #350 from extraneus/master
The preliminary assignments
2018-04-04 18:48:29 +03:00
Joonas Rikkonen 9dd9425caa Explosives, chemicals and medical items disappear when their condition falls to 0 (i.e. when they're fully used).
Railgun shells, detonators and depth charges also now "use" their contents instead of destroying them. (See #322)
2018-04-03 22:43:41 +03:00
itchyOwl b599206294 Add a GUI slider for setting the auto ban duration. Define the max auto ban length in the server settings. (Issue #128) 2018-03-27 11:29:36 +03:00
itchyOwl a48a4975ca Auto ban users that have been vote kicked. Define the auto ban time in the server settings. (Issue #128) NOTE: Not tested! 2018-03-27 11:27:57 +03:00
itchyOwl 3106efa023 Add "respawn" tag to the items that should persist in the Respawn Shuttle. Ignore the items with this tag when resetting the shuttle. (Issue #234) 2018-03-27 11:24:11 +03:00
Joonas Rikkonen faaaa69fa7 RegExFindComponent doesn't attempt to evaluate the (null) signal when no signal has been received yet. 2018-03-21 15:31:53 +02:00
Joonas Rikkonen 276798d88b Fixed null exception in IndoordsSteeringManager. Closes #326 2018-03-10 18:47:59 +02:00
Joonas Rikkonen c02b8a17fe Reminder to self: press ctrl+s before committing 2018-03-09 18:04:14 +02:00
Joonas Rikkonen a8dda856cc Fixed statuseffect changes in a57bec2 not being added to one of the overloads of the Apply method 2018-03-09 17:55:06 +02:00
Joonas Rikkonen 738910e123 Fixed being able to gain karma by welding fixed walls 2018-03-09 12:47:14 +02:00
Joonas Rikkonen 03fa2a2e1b Fixed item removal by SecondaryUse not being synced 2018-03-08 23:54:28 +02:00
Joonas Rikkonen e1f96480e1 Added console commands for giving the clients ranks, showing their current permissions and giving/revoking the permission to use specific console commands. Closes #327 2018-03-08 20:52:42 +02:00
Joonas Rikkonen df746db421 Ladders can be climbed by holding up/down while standing next to them without having to select them first. 2018-03-08 11:01:17 +02:00
Joonas Rikkonen 4421c8a5de Fixed camera shake continuing indefinitely if a character falls unconscious due to impact damage 2018-03-08 10:43:54 +02:00
juanjp600 82dcbc3ae8 Light sources now follow the direction of parent Turrets + changed Controller's output signal and Turret's input signal to an angle 2018-03-07 22:53:28 -03:00
Joonas Rikkonen a43b8dc278 Added a console command for changing the server password. Closes #325 2018-03-07 17:26:42 +02:00
Joonas Rikkonen b9287beed2 Characters carry two-handed throwables in both hands. (See #303) 2018-03-07 11:33:06 +02:00
Joonas Rikkonen 10ce4bd20d Fixed messageboxes opened by the mp campaign setup UI not being shown until the UI is closed (e.g. shuttle & incompatible content package warnings), renamed MultiplayerCampaign -> MultiPlayerCampaign for consistency. See #315 2018-03-06 16:43:36 +02:00
Joonas Rikkonen 08ade1dc6f Fixed clients not being notified when a campaign is exited and a new one started, causing them to think they still have up-to-date save files for the new campaign and get kicked out due to desync as soon as a round starts. (See #315) 2018-03-06 14:18:37 +02:00
Joonas Rikkonen 8e8b8464af All items and structures have to define a sourcerect for the sprite because otherwise the dedicated server won't know the size of the entity. Closes #321 2018-03-06 13:55:30 +02:00
Joonas Rikkonen 0ab4521a7a Fixed monsters being able to spawn under the ocean floor. Closes #319 2018-03-06 12:13:08 +02:00
Joonas Rikkonen f5af432ad9 Fixed item tags & aliases not being taken into account when determining target validity in StatusEffect.Apply. Closes #316 2018-03-06 11:25:25 +02:00