Commit Graph

3288 Commits

Author SHA1 Message Date
Joonas Rikkonen
8d3d103e17 (a2b4f82e7) Fixed Job.Save not saving the identifier of the job, preventing jobs from being loaded correctly if the language is changed after saving. 2019-04-29 21:13:03 +03:00
Joonas Rikkonen
8737a0e0dd (26639256a) - Added a method that automatically sets the text scale of a set of GUITextBlocks so that they all use the same scale and the text fits in all of the blocks. - Fixed TextBlock padding not being taken into account if the text is centered. - AutoScale and change the layout in a bunch of places where translated texts are likely to not fit. 2019-04-29 21:12:47 +03:00
Joonas Rikkonen
e21b4e5efc (529c58f9a) Added a couple of missing texts to EnglishVanilla. Because it may take a while until these can be added, a hard-coded text is used if these lines can't be found. 2019-04-29 21:12:31 +03:00
Joonas Rikkonen
2c1a5be93e (19c8c7b56) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-29 21:12:15 +03:00
Joonas Rikkonen
0b1b39d70a (caf7e6a2e) Replaced Concentus NuGet package with csproj (ensures correct System.Runtime references) 2019-04-29 21:11:59 +03:00
Joonas Rikkonen
f10adc2612 (08ad40cc0) Fixed items "vanishing" if they move directly from sub to another without going outside first. 2019-04-29 21:11:42 +03:00
Joonas Rikkonen
9930a3081c (e082ed22d) Fixed AllowRagdollButton settings not being synced with clients. Might be related to #1297 2019-04-29 21:11:24 +03:00
Joonas Rikkonen
dd24c604d1 (d653e2340) Fixed workshop items switching order in the workshop menu when the preview thumbnails are received. 2019-04-29 21:11:07 +03:00
Joonas Rikkonen
2ffb8d922d (acf0cb343) Fixes to EnableWorkShopItem: - Don't allow enabling if the item is not compatible with the user's version of Barotrauma or if it's a core package that's missing some required files. - Don't allow enabling if the item external files referenced in the content package are not found (e.g. if a mod uses vanilla files but the vanilla files aren't found). 2019-04-29 21:10:51 +03:00
Joonas Rikkonen
6c4bf4ea44 (d8eff8346) Fix a null reference exception. 2019-04-29 21:10:35 +03:00
Joonas Rikkonen
d3ef770243 (9122340aa) Fixed inability to enable content packages if some of the files included in the package are already in the game folder (which may happen, for example, if enabling a content package fails) 2019-04-29 21:10:20 +03:00
Joonas Rikkonen
4d1c3b1ed4 (43a58c2c3) Fixed content package hash calculation failing if the package is not enabled and contains new monster files. Was caused by Character.GetConfigFile failing to find the config file because it only searched from currently selected content packages. 2019-04-29 21:10:05 +03:00
Joonas Rikkonen
67a0636470 (b21318728) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-29 21:09:50 +03:00
Joonas Rikkonen
97c4e3019d (e268fbb97) Simplify Humpback front. Increase the front hull health from 200 to 400 for both front pieces. Update the fronts also for Orca and Dugong. 2019-04-29 21:09:33 +03:00
Joonas Rikkonen
250368078f (5c32d30a9) Adjust and fix the steering behavior: Only the characters in the idle state and outside the sub are considered active members of the group. 2019-04-29 21:09:18 +03:00
Joonas Rikkonen
e583f570ff (c29165793) Increase the gap seeking distance, because some walls are thicker than 200 pixels. 2019-04-29 21:09:03 +03:00
Joonas Rikkonen
af50bb9e0e (39e7f6d22) Fix a bunch of issues relating to steering through gaps. Especially when latched on to the sub. 2019-04-29 21:08:48 +03:00
Joonas Rikkonen
2554e17189 (621326f05) Don't flee when taking damage if part of a swarm. 2019-04-29 21:08:32 +03:00
Joonas Rikkonen
c5452048d7 (d88b2f1f7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-29 21:08:16 +03:00
Joonas Rikkonen
b3b1d1851d (eda627512) Fixed MonoKickStart files needed by the dedicated server not being copied to the output directory in release builds 2019-04-29 21:08:00 +03:00
Joonas Rikkonen
1f3c6349ab (961d41b31) Ragdoll syncing improvements: - Don't ignore platforms when correcting a ragdoll's position using Ragdoll.SetPosition. Otherwise forcing the character above a platform may cause it to drop down again if the feet don't end up above the platform. - Correct ragdoll position to server position immediately if the error is very large. - Force collider to stay upright after fixed rotation is enabled. 2019-04-29 21:07:44 +03:00
Joonas Rikkonen
fedde72056 (35fabe831) Fixed different EntitySpawner error messages having the same identifier (preventing successive errors from being reported to GameAnalytics after one has been reported) 2019-04-29 21:07:28 +03:00
Joonas Rikkonen
8f94ee1eed (a0156ed0f) Fixed characters running more slowly when their torso is in a different hull than the feet (for example in Humpback's bilge). Happened because the surfaceY value (water level) in empty hulls is at the bottom of the hull, and in this case the character was partially below the bottom, which got interpreted as being waist-deep in water. 2019-04-29 21:07:13 +03:00
Joonas Rikkonen
2be015f6f6 (34e0d61d6) New versions of autodoors, using oscillators 2019-04-29 21:06:58 +03:00
Joonas Rikkonen
b97f64fdb1 (085c471a3) Added libMonoPosixHelper.so 2019-04-29 21:06:42 +03:00
Joonas Rikkonen
788c51143b (55f425031) Tutorial outpost visual pass 2019-04-29 21:06:26 +03:00
Joonas Rikkonen
4023fab047 (48ce3248e) Improve wall targeting and fix releasing the target when latched on to a wall. 2019-04-29 21:06:11 +03:00
Joonas Rikkonen
205f808f84 (5b377538a) Adjust crawler attacks a bit. 2019-04-29 21:05:53 +03:00
Joonas Rikkonen
45e0d2f663 (99e6eb7c7) Fixed "attempted to access a potentially removed ragdoll" in SoundPlayer.Update, set Character.Controlled to null if the character is removed to prevent this from happening elsewhere 2019-04-29 21:05:37 +03:00
Joonas Rikkonen
33747a63b0 (3340f2f90) Don't do impact damage to structures in Structure.OnWallCollision. Impact damage was disabled when a character hits the sub from the outside (implemented in SubmarineBody), but should've been done here as well. 2019-04-29 21:05:21 +03:00
Joonas Rikkonen
69c4b9a74f (8e2e25260) Spawn multiple monsters using the same spatial and temporal spreading logic as in events. 2019-04-29 21:05:06 +03:00
Joonas Rikkonen
42e541f3fa (5ee41d152) Fixed damaged item sprites not updating client-side after being repaired. 2019-04-29 21:04:51 +03:00
Joonas Rikkonen
dfb664e10f (d7ca2a2a8) Lock inventory when using a controller 2019-04-29 21:04:36 +03:00
Joonas Rikkonen
46f5bd5b15 (99a5e8cf8) Fix bots not using the ladders when swimming on the water surface. + merge fix 2019-04-26 11:29:14 +03:00
Joonas Rikkonen
2aec2414be (12d32b875) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-26 11:25:25 +03:00
Joonas Rikkonen
3eb883fbb3 (9253f5b70) Added libvlc.so to LinuxClient 2019-04-26 11:25:10 +03:00
Joonas Rikkonen
2316ea2b3a (8bf7678d4) tweaks to beauty pass for functionality. 2019-04-26 11:24:54 +03:00
Joonas Rikkonen
b38ac9fd10 (0150ce136) Fixed typo in server AssemblyFileVersion 2019-04-26 11:24:40 +03:00
Joonas Rikkonen
1841836c4b (1df74c6d2) v0.8.10.0 2019-04-26 11:24:25 +03:00
Joonas Rikkonen
5e285df7d3 (4e580857e) Updated subs (art pass) 2019-04-26 11:24:08 +03:00
Joonas Rikkonen
ec4cefabc5 (b2267d5d5) Changelog update 2019-04-26 11:20:15 +03:00
Joonas Rikkonen
71d7d024e6 (029f124e6) Fixed ScalableFont.MeasureString giving incorrect results for texts with newlines 2019-04-26 11:20:00 +03:00
Joonas Rikkonen
a3ba709e92 (befc20623) Fixed extremely small objective texts on lower resolutions, don't scale objective texts (not needed because we change font sizes according to the resolution now) 2019-04-26 11:19:46 +03:00
Joonas Rikkonen
79c31d1a83 (0185896f9) More fixes to messagebox & tutorial info box scaling 2019-04-26 11:19:32 +03:00
Joonas Rikkonen
8919bf5c10 (2cf47ee24) Cherry pick some steering fixes from the human-ai branch: fix ladder usage while swimming. 2019-04-26 11:18:47 +03:00
Joonas Rikkonen
010411d434 (66fc3d1f9) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-26 11:18:31 +03:00
Joonas Rikkonen
d425064a3b (28c455ff7) Improve the ai repair tool usage. 2019-04-26 11:18:14 +03:00
Joonas Rikkonen
eb6c5ac1c5 (251e3f856) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev 2019-04-26 11:18:00 +03:00
Joonas Rikkonen
efca3a49fc (ee33ee49f) reverted all doors back to original autodoors, reset prefabs for several doors to ensure correct repair messages, flipped stairs on humpback to ease AI steering issues. 2019-04-26 11:17:44 +03:00
Joonas Rikkonen
cb9f33dc68 (4e4b8532a) Fixed buttons overlapping with the text in some GUIMessageBoxes on large resolutions (I think, needs to be tested on resolutions higher than 1080p). Using relative scale on the texts and the button container caused them to upscale when scaling the message box (for example when making room for the link buttons in the editor disclaimer). 2019-04-26 11:17:27 +03:00