Commit Graph

2034 Commits

Author SHA1 Message Date
Joonas Rikkonen
77940fa992 Added some debug logging, Character.Revive removes the existing AITarget from the character before creating a new one 2018-02-26 18:05:03 +02:00
Joonas Rikkonen
1c68d5a4d7 - Fixed clients using character directories to count the number of disallowed monsters, which made it possible for them to disallow incorrect monsters.
- Fixed MonsterEvent checking if the name of the character directory contains the name of the disallowed character directory, which could for example cause them to disallow "someMonsterAlt" if "someMonster" is disallowed.
2018-02-26 16:53:22 +02:00
Joonas Rikkonen
7f740c2f67 Attempt to diagnose issues #278, #284 and #291. It appears that the game attempts to access the Limbs-field of a ragdoll after it's been set to null (which should only happen when the ragdoll is removed). 2018-02-26 15:06:00 +02:00
Joonas Rikkonen
064750d99f Fixed missing RepairTool HitStructure particles & missing ancient weapon beam (+ added hit particles to ancient weapon). Closes #285 2018-02-25 22:43:06 +02:00
Joonas Rikkonen
cb25c0711f v0.8.0.4 2018-02-25 22:41:23 +02:00
Joonas Rikkonen
0827c475ba Fixed "an item with the same key has already been added" exceptions caused by humanhusk.xml being in the same folder as human.xml. Closes #283 2018-02-25 18:35:31 +02:00
Joonas Rikkonen
ff5afb7089 v0.8.0.3 2018-02-25 18:16:30 +02:00
Joonas Rikkonen
9df0f0a275 Invalid contentpackage content types don't crash the game 2018-02-25 17:46:04 +02:00
Joonas Rikkonen
9e2966e9cb - Fixed creature disable list only taking config files in the Content/Characters folder into account (making it impossible to disable spawning of custom monsters outside the folder)
- Removed hard-coded ruin structure, particle & decal config paths and moved them to content package (custom ones can be added now without modifying the original files).
2018-02-25 15:03:29 +02:00
Joonas Rikkonen
e02a1dc6ae Reverted the changes to power transfer logic in bb987676 because of the issues it caused with relay components. Signals are still passed using the cached recipient lists, but power is passed using the old recursive CheckJunctions method. Closes #282 2018-02-25 14:42:38 +02:00
Joonas Rikkonen
3faf774f3c v0.8.0.2 2018-02-25 12:24:52 +02:00
Joonas Rikkonen
701e4553a2 Launcher waits for the window to be rendered before checking for updates, fixed error messagebox positioning in launcher 2018-02-24 22:18:25 +02:00
Joonas Rikkonen
48757618f6 Renamed the "file" attribute of hit sounds to "tag", replaced footstep sound paths in creature configs with tags. 2018-02-24 21:13:21 +02:00
Joonas Rikkonen
eaafc022f2 Fixed Ragdoll.ImpactProjSpecific attempting to play limb/wearable hitsounds even if the sound tag is empty, wearable items can cause hit sounds to be played even if the limb has no hit sound configured. Closes #280 2018-02-24 20:55:30 +02:00
Joonas Rikkonen
6fcf2f573b Fixed relays burning out when connected to the main power grid. The changes in bb98767 caused relay components to be considered parts of whichever power grid they're connected to, causing their power and load to match the rest of the grid which usually causes them to go over the max power value. Closes #279
+ Fixed "powerConnections" field not being updated when creating PowerTransfer components mid-round, which made fabricated relays unusable for power transfer.
2018-02-24 20:46:28 +02:00
Joonas Rikkonen
127cc28af3 SoundPlayer.GetSound doesn't attempt to load the sound if a sound with a matching tag is not found, because otherwise configuring limb hit sounds and such with the file path instead of the tag will cause a new sound instance to be created every time the sound is played (and these instances are never freed). + Sound config files can be now configured in content packages. 2018-02-24 19:41:28 +02:00
Joonas Rikkonen
313fb35b4a Reverted d36dab4 (XML files are calculated according to XML content). Caused content package hashes to differ between linux and windows versions. Closes #275 2018-02-24 18:39:47 +02:00
Joonas Rikkonen
af3edda188 Fixed incorrect text tag in fabricator UI. Closes #281 2018-02-24 17:41:21 +02:00
Joonas Rikkonen
233ee60eaf Merge branch 'master' of https://github.com/Regalis11/Barotrauma 2018-02-24 17:28:56 +02:00
Joonas Rikkonen
f2f37b020e Applied fire extinguisher changes from the command-improvement branch: the repair tool steps through the ray that's used to find firesources in range and collects all firesources along the way instead of just checking the start and end positions of the ray (-> fires are much easier to extinguish now). Closes #274 2018-02-24 17:28:52 +02:00
Juan Pablo Arce
5ec77c327d Update README.md 2018-02-23 19:22:29 -03:00
Joonas Rikkonen
7044631901 Attempt to diagnose null reference exception during Ragdoll drawing (see #278) 2018-02-23 11:09:17 +02:00
Joonas Rikkonen
8b07e91d2c Added camera zoom value to debug hud 2018-02-23 10:33:59 +02:00
Joonas Rikkonen
19579f02ca Doors can be opened with crowbars again. Closes #276 2018-02-23 10:23:58 +02:00
juanjp600
351a1a15fc Fixed stack overflow when trying to store jumpsuits in themselves 2018-02-23 00:19:36 -03:00
Joonas Rikkonen
0669d9fd45 v0.8.0.1 2018-02-22 21:23:54 +02:00
Joonas Rikkonen
05408d5ec0 Fixed some items with a body disappearing when flipping a sub. Closes #273 2018-02-22 17:43:40 +02:00
Joonas Rikkonen
1ebadf1f80 Fixed depth charge tubes launching the depth charges up by default. Closes #259 2018-02-22 16:23:30 +02:00
Joonas Rikkonen
671f59e984 Unequipped headsets can't be used and don't consume batteries. Closes #272 2018-02-22 15:08:38 +02:00
Joonas Rikkonen
1fe2a1916f Fixed ruin doors being possible to open with the select key. Closes #268 2018-02-22 14:36:48 +02:00
Joonas Rikkonen
83c02504ea Fixed clients failing to select a received submarine/shuttle file, preventing them from starting a round until they rejoin the server. Closes #271 2018-02-22 14:18:06 +02:00
Joonas Rikkonen
b7bb78bc41 Fixed railgun shells not detonating their contents on impact 2018-02-22 12:35:57 +02:00
Joonas Rikkonen
375e135672 Made round summary scrollable (long summary texts don't overflow anymore), listbox scissorrects work correctly now on nested listboxes 2018-02-22 12:18:09 +02:00
Joonas Rikkonen
27ded3e5a3 Fixed dead/spectator chat. Closes #264 2018-02-22 11:34:33 +02:00
Joonas Rikkonen
23b59dd70b Reverted a290a6a (chatbox can be deselected with the chat hotkey again). Closes #262. 2018-02-22 11:19:53 +02:00
Joonas Rikkonen
d87c6bd06a Fixed exceptions when creating items with a powertransfer component mid-round (e.g. when fabricating a relay component). Closes #267 2018-02-22 11:11:08 +02:00
Joonas Rikkonen
e991967830 DefaultPlayerName never returns null 2018-02-22 10:41:49 +02:00
Joonas Rikkonen
98d7793b86 Fixed exceptions when attempting to save game settings without default player name being set. Closes #263 2018-02-22 10:34:55 +02:00
Joonas Rikkonen
42179f6f98 v0.8.0.0 2018-02-21 23:43:56 +02:00
Joonas Rikkonen
b4582b6188 Fixed launcher throwing a null reference exception because of a reference to GameMain in PlayerInput 2018-02-21 23:43:40 +02:00
Joonas Rikkonen
637d473773 Fixed coroutine error at the end of the tutorial + minor modifications 2018-02-21 20:09:26 +02:00
Joonas Rikkonen
a74ba4191b Items with the "medical" tag can be contained in doctors' clothes (e.g. syringes, bandages) 2018-02-21 20:08:45 +02:00
Joonas Rikkonen
9c8141bffa Updated content package to v0.8, removed scorpion, minor modifications to the tutorial sub (removed some unnecessary doors & hatches, added more lights) 2018-02-21 20:08:13 +02:00
Joonas Rikkonen
59e1f776f2 Updated vanilla subs (preview images, additional info, some extra lights in darker parts), submarine preview window layout tweaking 2018-02-21 17:09:53 +02:00
Joonas Rikkonen
24cb7a3659 Husk infection state can be decreased after the infection reaches the active state (causing the husk appendage to be removed). Calyxanide still has a conditional preventing the decrease, but now it's possible for modders to revert huskification without code modifications. Closes #258 2018-02-21 11:12:49 +02:00
Joonas Rikkonen
d414e8e103 Fixed StatusEffects not being able to decrease stun timer. Closes #255 2018-02-20 22:44:32 +02:00
Joonas Rikkonen
7d346c1437 Fixed wires dropping when a client moves them from a connection to another in the same connection panel, fixed wires becoming disconnected client-side if they're moved from a connection to another connection that's upper in the connection panel. (See #252) 2018-02-15 14:24:04 +02:00
Joonas Rikkonen
a2c898150e Item.SetTransform uses SetTransformIgnoreContacts to set the position of the physics body if the body is disabled. No need to update contacts when moving disabled items such as wearables. 2018-02-13 13:54:09 +02:00
Joonas Rikkonen
76f5c099ed Particles that rotate towards the movement direction use sub-relative movement when inside the sub (weld/cut particles don't face the movement direction of the submarine anymore). 2018-02-13 13:50:41 +02:00
Joonas Rikkonen
4d01aba0f1 Fixed subinventory staying visible if the slot containing the subinventory gets merged while it's highlighted (e.g. put a stun baton in either hand and swap it with a two-hand item) 2018-02-13 13:49:41 +02:00