Joonas Rikkonen
23e0a76f37
Character head & gender settings are saved. Closes #474
2018-07-17 13:38:21 +03:00
Joonas Rikkonen
88abbe28e3
Fixed entity IDs getting messed up and causing desync because of purchased items in multiplayer campaign. The server created cargo items first and then mission-related entities, while the clients only spawned mission entities and relied on the server to spawn the cargo, which caused mission entities to have wrong IDs. Closes #484
2018-07-17 12:50:04 +03:00
Joonas Rikkonen
dcb48e56d4
Added the DebugConsole.SpawnItem command from the dev branch (spawning items in the inventory of a character other than the controlled one works now).
2018-07-16 21:38:34 +03:00
Joonas Rikkonen
5d342e24ef
Clients are allowed to vote to end the round if they have spawned at some point during the round, even if the character they controlled doesn't exist anymore (huskified or eaten). Closes #483
2018-07-16 16:27:13 +03:00
Joonas Rikkonen
89b26008a6
Projectile damage range is set to the radius of the item's collider if the range is not given in the xml. Structure.AddDamage uses the edges of the sections to calculate the distance to a damage source, i.e. the damage area only has to "touch" the section to do damage. Closes #479
2018-07-16 15:44:26 +03:00
Joonas Rikkonen
a436eb27c1
Fixed explosion with an EMP value only damaging reactors (when they should only ignore reactors). Closes #473
2018-07-16 13:50:31 +03:00
Joonas Rikkonen
10ad78d607
Console command fixes. Closes #482
...
- Banip, banid & kickid can be used by clients.
- "Spawnitem x inventory" spawns the item in the inventory of the client using the command instead of the host's inventory.
- Ragdoll and kill commands target the character of the client using the command when the name parameter is omitted.
- Added SpawnItem changes from the dev branch (items can be spawned in the inventory of a specific/random character).
2018-07-16 13:43:29 +03:00
Joonas Rikkonen
ac5bad3011
Dedicated server can give clients the permission to use commands that only exist in the client project (los, lights, control, etc). Closes #476
2018-07-16 11:43:50 +03:00
Joonas Rikkonen
734b86bfba
Fixed clients being unable to give non-permanent or range bans. Closes #481
2018-07-16 11:24:24 +03:00
Joonas Rikkonen
ceae0bf94e
Fixed oddities in traitor ratio/assignment logic. The TraitorUseRatio setting is used to determine the number of traitors, the minimum number of traitors is 1 instead of 2, the host is taken into account when determining the number of traitors. Closes #477
2018-07-16 11:05:10 +03:00
Joonas Rikkonen
015eacbcb0
Fixed GameAnalytics thread becoming active despite user statistics being disabled, causing the game to stay active in the background when quitting.
2018-07-13 11:29:11 +03:00
Joonas Rikkonen
4f874a276b
Fixed crashes caused by characters with no AI config due to missing SteeringManagers. Closes #469
2018-07-13 11:01:42 +03:00
Joonas Rikkonen
ce88519c13
Pump components with a physics body updates it hull when active (-> possible to make portable pump items). Closes #463
2018-07-11 10:59:40 +03:00
Joonas Rikkonen
1c358fc4c0
Disabled GameAnalytics debug logging in release builds
2018-07-11 10:57:59 +03:00
Joonas Rikkonen
c7e220d222
Collecting some more usage statistics: selected game mode, mission, submarine, content package, traitors on/off, kills
2018-07-10 15:49:08 +03:00
Joonas Rikkonen
51f2455ada
Added GameAnalytics framework which can be used to collect usage statistics. When starting the game for the first time, the player can select whether they want to send usage data or not. Atm only used to collect crash reports.
2018-07-10 13:40:54 +03:00
Roni Kovaniemi
c1cbde4288
Adder Signal Component
...
Added a Adder signal component, which adds values inputted together and outputs a sum.
2018-07-09 14:42:07 +03:00
Joonas Rikkonen
86c4cd17d2
Fixed clients getting assigned random jobs regardless of job preferences.
2018-07-08 19:32:23 +03:00
Joonas Rikkonen
740d201fc3
Fixed server-side crashes during job assignment if a client hasn't sent any job preferences
2018-07-06 19:42:33 +03:00
Joonas Rikkonen
df149dd0fa
Option to make delay component reset (discarding previously received signals) when a new signal is received, fixed delay countdown running even when the game is paused. Closes #435
2018-06-10 23:51:26 +03:00
Joonas Rikkonen
917b869b92
Fixed exceptions in RespawnManager if the selected respawn shuttle doesn't have a nav terminal or any other item with a Steering component. Closes #438
2018-06-10 21:31:34 +03:00
juanjp600
f59db98188
Fixed case-sensitivity issues, part six quadrillion and one
2018-06-06 15:00:02 -03:00
juanjp600
e9374812a5
Fixed case-sensitivity issues, part six quadrillion
2018-06-06 14:59:32 -03:00
Joonas Rikkonen
1a84b6cae7
Fixed items not being placed in the same hull and sub as the item they're inside if the ItemContainer is not the first of the parent's ItemContainer components (e.g. fabricator output inventory). Closes #430
2018-05-30 19:15:55 +03:00
Joonas Rikkonen
d1ec246f28
Fixed motion sensors sending out signals even if the output is set to nothing. Closes #426
2018-05-30 18:36:44 +03:00
Joonas Rikkonen
144122b5e1
Merge pull request #421 from BlueTheKing/patch-2
...
Locky typo fixed
2018-05-24 10:40:24 +03:00
Blue
a0b3fe7b46
Locky typo fixed
...
"loxky" to "locky"
2018-05-23 21:25:55 +02:00
Tazial
88003a35c7
Changed log names to be sortable by file name
2018-05-22 18:25:12 -04:00
Joonas Rikkonen
bb31fd1e73
Moved some client-specific limb code to the client project, dripping water particles when characters get out from water
2018-05-21 19:17:34 +03:00
Joonas Rikkonen
95fc1cc025
Mission initialization fixes
2018-05-18 12:23:31 +03:00
Joonas Rikkonen
f931d81aed
Mission refactoring (mission prefabs) and option to select which types of missions can be selected when mission type is set to random (TODO: a way to set the allowed types from the UI).
2018-05-17 23:45:29 +03:00
Joonas Rikkonen
244acd3ec5
Fixed character getting spawned at a random spawnpoint in any sub if no spawpoint that fits the character's job is found, making it possible for them to spawn inside the respawn shuttle. Closes #408
2018-05-17 19:56:36 +03:00
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