f5af432ad9
Fixed item tags & aliases not being taken into account when determining target validity in StatusEffect.Apply. Closes#316
Joonas Rikkonen
2018-03-06 11:25:25 +02:00
8c04722385
Lighting optimization: lightsources mark convex hulls that are within range but not visible as hidden and don't recalculate the light volume when these convex hulls change (= e.g. when opening/closing a door, only the lightsources that cast light to the door have to recalculated).
Joonas Rikkonen
2018-03-05 23:22:07 +02:00
d57102271d
Fixed exceptions when trying to render LOS with no convex hulls within the view
Joonas Rikkonen
2018-03-05 18:16:51 +02:00
a57bec2a27
Made statuseffects stackable by default, fixed statuseffects only being considered the same if they're caused by the same item, applying the same non-stackable statuseffect again refreshes the timer of the existing statuseffect. Closes#309
Joonas Rikkonen
2018-03-05 16:59:23 +02:00
6ddcd65f18
RepairTools can do damage to characters by hitting the collider. Closes#299
Joonas Rikkonen
2018-03-05 12:34:21 +02:00
4e048b7895
Items removed due to the "DeleteOnUse" property are removed using EntitySpawner, removing an item removes it from the selected items of all characters. Closes#306
Joonas Rikkonen
2018-03-05 12:13:52 +02:00
f72b4c697f
Fixed dedicated servers not resetting votes when a round ends. Closes#307
Joonas Rikkonen
2018-03-05 11:41:46 +02:00
4f32a90e62
Fixed mouserects of the back and tab buttons being clamped in mp campaign UI. Closes#305
Joonas Rikkonen
2018-03-05 11:26:34 +02:00
a04842705a
Fixed crashing when clicking the "refreshing server list" text. Closes#312
Joonas Rikkonen
2018-03-04 21:24:17 +02:00
8b6d2f3cc1
Updated OpenGL LOS shader
Joonas Rikkonen
2018-03-04 21:00:12 +02:00
da7ea779b7
LOS effect optimization/changes: - Rendering the shadows instead of light volumes to avoid the expensive raycasts needed to calculate the light volume. - The LOS shadows are now rendered in two passes (fully obscured + penumbra) instead of each convex hull taking up 2 passes.
Joonas Rikkonen
2018-03-03 20:23:27 +02:00
e15fad6986
Relay fix attempt number n + 2
Joonas Rikkonen
2018-03-02 21:27:08 +02:00
c624ff2c8c
Hopefully fixed clients forcing other players to pick items when the clients actually selected them (e29655c) without breaking AI interactions with items
Joonas Rikkonen
2018-03-02 18:04:01 +02:00
199794cf41
Fixed exceptions when trying to save an itemcomponent that has been instantiated by calling the constructor directly (e.g. lightcomponents in wearables)
Joonas Rikkonen
2018-03-02 17:46:48 +02:00
b49f47d3d9
Ladder waypoint generation fix: waypoints are not just placed at the top and bottom of the ladders (and at hatches on the ladders), but above every platform along the ladders (-> waypoints work correctly on ladders spanning through multiple floors). + Some ladder climbing fixes in IndoorsSteeringManager.
Joonas Rikkonen
2018-03-02 17:45:13 +02:00
07d3d69040
Equipped items can be swapped by double-clicking, fixed inventories getting messed up when swapping multi-slot items fails (e.g. drag a jumpsuit on an equipped diving suit).
Joonas Rikkonen
2018-03-02 13:45:58 +02:00
f1f190a997
Added a light to diving suits (requires a battery to work). Closes#233
Joonas Rikkonen
2018-03-02 13:11:28 +02:00
12d1692bb5
Wearables can attach lightsources to limbs
Joonas Rikkonen
2018-03-02 11:13:11 +02:00
cc41f0cd9e
Fixed items held in left hand taking the sprite depth from the left arm instead of the hand
Joonas Rikkonen
2018-03-02 10:38:10 +02:00
10189254b5
GrabLimb type is written in character network messages as byte instead of UInt16
Joonas Rikkonen
2018-03-01 23:43:10 +02:00
31ba9e20a2
Item description & tags are only included in spawn network message if they differ from the prefab.
Joonas Rikkonen
2018-03-01 22:07:51 +02:00
2b4c01d18b
Fixed debug assertion fail in World.Raycast if a limb is (almost) exactly at the position of a character's collider when calling TrySetLimbPosition.
Joonas Rikkonen
2018-03-01 22:07:18 +02:00
cd6fc87eb4
Fixed object header issues and "trying to read past the buffer size" errors caused by NetEntityEvents for removed entities.
Joonas Rikkonen
2018-03-01 19:30:27 +02:00
2880ca3adb
Contained items drawn by ItemContainer.Draw use the sprite color of the item. Closes#300
Joonas Rikkonen
2018-03-01 15:57:57 +02:00
1255b21853
Relay fix attempt number n + 1
Joonas Rikkonen
2018-03-01 15:56:03 +02:00
ab99aa9ac1
Relay fix attempt number n
Joonas Rikkonen
2018-03-01 12:40:38 +02:00
55a5e9e968
Syringes are recolored according to the color of the contained medical item. Closes#256
Joonas Rikkonen
2018-03-01 11:25:37 +02:00
9f6868eaaa
Fixed crashing when attempting to perform CPR _as_ a headless character.
Joonas Rikkonen
2018-03-01 10:17:32 +02:00
38e80be05d
Some more debug logging
Joonas Rikkonen
2018-02-28 18:04:40 +02:00
c803e23c50
Added checks for character removal to a bunch of places. Some of these may not necessary, but at least MeleeWeapon, Projectile and Controller still accessed the user after the user had been removed.
Joonas Rikkonen
2018-02-28 17:37:20 +02:00
e29655c81b
Fixed clients forcing remote players to pick an item when it's being selected, causing them to press buttons and start deattaching them when the player is actually just rewiring the button. Closes#251
Joonas Rikkonen
2018-02-28 15:38:55 +02:00
f5277ce661
Fixed clients being unable to crowbar doors due to OnPicked only being called on local players. Closes#297
Joonas Rikkonen
2018-02-28 15:24:17 +02:00
74ef5c6ea6
Fixed items attached mid-round by other clients or the host being impossible to interact with and occasionally being attached to an incorrect position. Closes#296
Joonas Rikkonen
2018-02-28 14:01:38 +02:00
2585cc9873
Fixed attachable objects being deattachable with the select key due to e6b7a0d3, fixed typo in ConvertInputType
Joonas Rikkonen
2018-02-28 13:26:18 +02:00
620a2bf374
Forgot to change dustparticle movement speed to normal after testing
Joonas Rikkonen
2018-02-28 10:32:54 +02:00
d867dd6c17
Diving suits are rendered in front of all items (diving masks, goggles, etc aren't drawn on top of the suit). Items that are being held take the depth of the wearable sprite on the hand into account. Closes#290
Joonas Rikkonen
2018-02-27 23:04:54 +02:00
9e298c98ab
Fixed dust particle texture "warping" when the movement offset wraps around
Joonas Rikkonen
2018-02-27 20:16:12 +02:00
0fa1ae6825
Fixed plasma cutters and welders not affecting hatches, alien doors/hatches or duct blocks. Closes#293
Joonas Rikkonen
2018-02-27 15:17:58 +02:00
795b2e4cad
Fixed crashing when attempting to perform CPR on a character with no head. Closes#294
Joonas Rikkonen
2018-02-27 15:00:08 +02:00
3564abf31b
Moved a bunch of hard-coded sound paths to the sound config file.
Joonas Rikkonen
2018-02-26 22:31:07 +02:00
77940fa992
Added some debug logging, Character.Revive removes the existing AITarget from the character before creating a new one
Joonas Rikkonen
2018-02-26 18:05:03 +02:00
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.
Joonas Rikkonen
2018-02-26 16:53:22 +02:00
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).
Joonas Rikkonen
2018-02-26 15:06:00 +02:00
064750d99f
Fixed missing RepairTool HitStructure particles & missing ancient weapon beam (+ added hit particles to ancient weapon). Closes#285
Joonas Rikkonen
2018-02-25 22:42:34 +02:00
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
Joonas Rikkonen
2018-02-25 18:35:31 +02:00
9df0f0a275
Invalid contentpackage content types don't crash the game
Joonas Rikkonen
2018-02-25 17:46:04 +02:00
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).
Joonas Rikkonen
2018-02-25 15:03:29 +02:00
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
Joonas Rikkonen
2018-02-25 14:42:38 +02:00
701e4553a2
Launcher waits for the window to be rendered before checking for updates, fixed error messagebox positioning in launcher
Joonas Rikkonen
2018-02-24 22:18:25 +02:00
48757618f6
Renamed the "file" attribute of hit sounds to "tag", replaced footstep sound paths in creature configs with tags.
Joonas Rikkonen
2018-02-24 21:13:21 +02:00
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
Joonas Rikkonen
2018-02-24 20:55:30 +02:00
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
Joonas Rikkonen
2018-02-24 20:46:28 +02:00
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.
Joonas Rikkonen
2018-02-24 19:41:28 +02:00
313fb35b4a
Reverted d36dab4 (XML files are calculated according to XML content). Caused content package hashes to differ between linux and windows versions. Closes#275
Joonas Rikkonen
2018-02-24 18:39:47 +02:00
af3edda188
Fixed incorrect text tag in fabricator UI. Closes#281
Joonas Rikkonen
2018-02-24 17:41:21 +02:00
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
Joonas Rikkonen
2018-02-24 17:28:52 +02:00
5ec77c327d
Update README.md
Juan Pablo Arce
2018-02-23 19:22:29 -03:00
7044631901
Attempt to diagnose null reference exception during Ragdoll drawing (see #278)
Joonas Rikkonen
2018-02-23 11:09:17 +02:00
8b07e91d2c
Added camera zoom value to debug hud
Joonas Rikkonen
2018-02-23 10:33:59 +02:00
19579f02ca
Doors can be opened with crowbars again. Closes#276
Joonas Rikkonen
2018-02-23 10:23:58 +02:00
351a1a15fc
Fixed stack overflow when trying to store jumpsuits in themselves
juanjp600
2018-02-23 00:19:36 -03:00
05408d5ec0
Fixed some items with a body disappearing when flipping a sub. Closes#273
Joonas Rikkonen
2018-02-22 17:43:40 +02:00
1ebadf1f80
Fixed depth charge tubes launching the depth charges up by default. Closes#259
Joonas Rikkonen
2018-02-22 16:23:30 +02:00
671f59e984
Unequipped headsets can't be used and don't consume batteries. Closes#272
Joonas Rikkonen
2018-02-22 15:08:38 +02:00
1fe2a1916f
Fixed ruin doors being possible to open with the select key. Closes#268
Joonas Rikkonen
2018-02-22 14:36:48 +02:00
83c02504ea
Fixed clients failing to select a received submarine/shuttle file, preventing them from starting a round until they rejoin the server. Closes#271
Joonas Rikkonen
2018-02-22 14:18:06 +02:00
b7bb78bc41
Fixed railgun shells not detonating their contents on impact
Joonas Rikkonen
2018-02-22 12:35:57 +02:00
375e135672
Made round summary scrollable (long summary texts don't overflow anymore), listbox scissorrects work correctly now on nested listboxes
Joonas Rikkonen
2018-02-22 12:18:09 +02:00
23b59dd70b
Reverted a290a6a (chatbox can be deselected with the chat hotkey again). Closes#262.
Joonas Rikkonen
2018-02-22 11:19:53 +02:00
d87c6bd06a
Fixed exceptions when creating items with a powertransfer component mid-round (e.g. when fabricating a relay component). Closes#267
Joonas Rikkonen
2018-02-22 11:11:08 +02:00
e991967830
DefaultPlayerName never returns null
Joonas Rikkonen
2018-02-22 10:41:49 +02:00
98d7793b86
Fixed exceptions when attempting to save game settings without default player name being set. Closes#263
Joonas Rikkonen
2018-02-22 10:34:55 +02:00
b4582b6188
Fixed launcher throwing a null reference exception because of a reference to GameMain in PlayerInput
Joonas Rikkonen
2018-02-21 23:43:40 +02:00
637d473773
Fixed coroutine error at the end of the tutorial + minor modifications
Joonas Rikkonen
2018-02-21 20:09:26 +02:00
a74ba4191b
Items with the "medical" tag can be contained in doctors' clothes (e.g. syringes, bandages)
Joonas Rikkonen
2018-02-21 20:08:45 +02:00
9c8141bffa
Updated content package to v0.8, removed scorpion, minor modifications to the tutorial sub (removed some unnecessary doors & hatches, added more lights)
Joonas Rikkonen
2018-02-21 20:08:13 +02:00
59e1f776f2
Updated vanilla subs (preview images, additional info, some extra lights in darker parts), submarine preview window layout tweaking
Joonas Rikkonen
2018-02-21 17:09:53 +02:00
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
Joonas Rikkonen
2018-02-21 11:12:49 +02:00
d414e8e103
Fixed StatusEffects not being able to decrease stun timer. Closes#255
Joonas Rikkonen
2018-02-20 22:44:32 +02:00
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)
Joonas Rikkonen
2018-02-15 14:23:39 +02:00
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.
Joonas Rikkonen
2018-02-13 13:54:09 +02:00
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).
Joonas Rikkonen
2018-02-13 13:50:41 +02:00
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)
Joonas Rikkonen
2018-02-13 13:49:41 +02:00
055bf13f59
Fixed minimap not powering up
Joonas Rikkonen
2018-02-13 12:29:57 +02:00
ff883ae882
Bunch of fixes to statuseffects: - Fixed the multi-target StatusEffect.Apply method ignoring target names and always allowing stacking. - Fixed delayed effects not working if the single-target StatusEffect.Apply method is used. - Fixed delayed effects ignoring target names. - Fixed delayed effects comparing the equality of the target lists, not the elements in the list (if the contents of the lists are identical the statuseffects should be considered identical).
Joonas Rikkonen
2018-02-12 11:25:40 +02:00
43d6ee5e06
Spark & smoke particle effects when welding or cutting something. Closes#155.
Joonas Rikkonen
2018-02-12 11:20:25 +02:00
3cbff6bd7b
Fixed circular physics bodies not being rendered in debugdraw if the radius is less than 1.28f
Joonas Rikkonen
2018-02-06 16:25:07 +02:00
633dc1ff1e
Option to define multiple compatible content packages in submarine files, added extension methods for parsing string, float and int arrays from XML elements
Joonas Rikkonen
2018-02-06 10:18:39 +02:00
ec302e099b
Fixed Powered ItemComponents (not components deriving from Powered) never resetting their voltage after receiving power, causing them to stay powered indefinitely. Closes#247
Joonas Rikkonen
2018-02-05 22:31:55 +02:00
74cd265952
Fixed railgun shells never deactivating their particle emitter
Joonas Rikkonen
2018-02-05 17:10:00 +02:00