Commit Graph

2464 Commits

Author SHA1 Message Date
Joonas Rikkonen c4c18fbfd7 Fixed main path waypoints not getting mirrored in mirrored levels (cherry-picked from 295fc31). 2018-09-21 12:45:33 +03:00
juanjp600 e578cbc077 Explosions now use Character.Controlled.WorldPosition to determine camera shake 2018-09-19 14:57:22 -03:00
Joonas Rikkonen a7515cc400 Merge pull request #798 from BlueTheKing/patch
Changes to Oxygenite Tank's tag and sprite
2018-09-16 15:27:15 +03:00
Blue ad6e48784e Delete Thumbs.db 2018-09-14 17:18:29 +02:00
Blue 50bed0f1ca Changed oxygenite tank's sprite to make it more noticeable 2018-09-14 17:10:47 +02:00
Blue 6e6a6c8d56 Oxygenite Tank tag changed
"meditem" --> "smallitem"
2018-09-14 16:30:15 +02:00
Blue 33ed7eb390 Merge pull request #4 from Regalis11/master
Synced
2018-09-14 16:08:54 +02:00
Joonas Rikkonen bf87006bc3 Attempt to fix items dropping client-side when moving them from inventory another (#558).
The clients delay applying the received remote state of an inventory they just put an item inside, because otherwise the inventory may revert to an old state if items are moved in rapid succession. I think the problem was that the delay was not applied to the inventory the item is _taken from_, so it was possible that the clients applied an old delayed state even though an item had just been moved out of the inventory. Another problem was that the server didn't create an event for the inventory the item was removed from, so if there were any wrong items in a client-side inventory, they would just be dropped instead of being moved back to the correct inventory.
2018-09-12 15:22:52 +03:00
Joonas Rikkonen a403ca44c5 Fixed inventory sync delay being decremented in two places, causing the delay to be 0.5 seconds instead of the intended 1 s. Closes #788 2018-09-12 14:16:06 +03:00
juanjp600 ae70b973dd Changed TextureLoader.PreMultiplyAlpha return type to void 2018-09-10 18:09:26 -03:00
Joonas Rikkonen 89c8de8b27 Dropped flashlights don't consume battery (and turn off automatically). Closes #775 2018-09-10 18:33:33 +03:00
Joonas Rikkonen 571ed150fe Ragdolls can't be dragged through walls or other colliders. Closes #772 2018-09-10 16:14:44 +03:00
Joonas Rikkonen 34c721bf89 Hitscan weapons can hit targets outside the sub when firing from the inside and vice versa. Closes #639 2018-09-10 13:56:53 +03:00
Joonas Rikkonen 57c9e5a731 Fixed IndexOutOfRange exceptions when cloning items with requiredItems that aren't present in the xml, + some more exception handling & error logging 2018-09-10 12:06:39 +03:00
Joonas Rikkonen 2b3c0d103b Fixed NotImplementedException when attempting to clone linked submarines 2018-09-10 11:40:06 +03:00
Juan Pablo Arce 8e7cd8e5f3 Added space and exclamation point to default AllowedClientNameChars 2018-09-09 01:02:54 -03:00
Joonas Rikkonen 6e606fdc51 Fixed incorrect rotation of welding tools and other 2-handed items that are held in one hand when not aiming. The items were rotated according to the left hand, but positioned on the right hand. 2018-09-03 15:15:27 +03:00
itchyOwl 5d2a193471 Line endings. 2018-09-03 10:23:36 +03:00
Joonas Rikkonen 4e1f6c56ca v0.8.2.0 2018-09-02 20:41:22 +03:00
Joonas Rikkonen 87002f8e00 Added a gitattributes file that defines CRLF as the line ending for code files (cherry-picked from 1ebfc9e) 2018-09-02 19:26:36 +03:00
Joonas Rikkonen 565f14801b Normalized line endings to CRLF 2018-09-02 19:25:48 +03:00
Joonas Rikkonen bc7eb21365 Fixed railguns being impossible to rewire because of the collider 2018-08-30 11:32:02 +03:00
Joonas Rikkonen 2b18a1265a Fixed railguns and depth charge tubes being directly usable by characters (= they could be launched simply by selecting them and left clicking, without the need to use a railgun controller). Closes #754 2018-08-30 10:42:25 +03:00
Joonas Rikkonen 105461beb3 Fixed LightComponents staying active on broken items. Closes #759 2018-08-29 16:45:35 +03:00
Joonas Rikkonen 7eed555522 Another docking port fix: EntityGrids are made slightly larger than the borders of the submarine, because docking ports may create gaps and hulls outside the borders, causing FindHull to fail and characters to get teleported outside the sub when from sub to another. Closes #551, hopefully for good now! 2018-08-29 14:50:44 +03:00
Joonas Rikkonen 8d83580b75 Docking port fixes again. Closes #551
- Non-saveable entities aren't removed from the linkedTo-list during saving, because that causes gaps to become unlinked with the hulls between docking ports when starting a campaign round.
- Hull rechecks are disabled on docking port gaps, because moving linked subs into place may cause the gaps to become unlinked if they're positioned in a certain way (for example in some subs the hulls between the docking ports end up inside the gap).
- Dockingports only connect the waypoints linked to their gap to each other, instead of every waypoint that happens to be inside the gap.
2018-08-29 13:38:56 +03:00
Joonas Rikkonen 48e14347a3 Fixed projectiles colliding with railguns due to 1e02d74 2018-08-24 14:18:51 +03:00
Joonas Rikkonen afc2e63b55 Client-side door state prediction fix: the clients wouldn't set the door to the correct state if the predicted state was the same as the door's previous known correct state, even if the latest state sent by the server was different (= a convoluted way of saying that door syncing works correctly now with complex door setups like the ones in SS Odyssey, see #579). 2018-08-23 14:57:13 +03:00
Joonas Rikkonen 6cb2a7260c Clients dispose fileTransfers when shutting down (otherwise the files will stay open and cause "used by another process" exceptions when attempting to receive them again) 2018-08-21 16:43:05 +03:00
Joonas Rikkonen f09fcfc3be Fabricators show the list of required items even if the character doesn't have the skills to craft the item. Closes #717 2018-08-20 21:19:18 +03:00
Joonas Rikkonen 012245fbaa Items outside the sub cannot be deattached. Closes #562 2018-08-20 20:42:57 +03:00
Joonas Rikkonen 898e8dfdb1 Added a property for locking connection panels (better than the old hacky way of changing the required item to something else). Locked panels can still be rewired in the sub editor. Closes #679 2018-08-20 20:12:33 +03:00
Joonas Rikkonen 3747852c13 Removed the Entity.MoveWithLevel property, fixed artifacts and other items from ruins not being saved. Closes #694 2018-08-20 16:23:40 +03:00
juanjp600 2f6cb84b5e Added workaround to tabbing out breaking fullscreen 2018-08-17 19:26:24 -03:00
Joonas Rikkonen 9783ed3750 Backported LOS effect changes from the dev branch (the brightness of the obstructer area is the same as ambient light) 2018-08-17 12:58:23 +03:00
Joonas Rikkonen d0e0143308 Respawn durations can be changed mid-round. 2018-08-15 13:39:01 +03:00
Joonas Rikkonen 0dca8bc940 Clients can be given access to server logs. Closes #366 2018-08-15 12:57:46 +03:00
Joonas Rikkonen c2f9e1481f Recommended crew experience is saved using text tags instead of the actual text (-> experience texts can be translated without the translation showing up in sub files). 2018-08-15 12:06:22 +03:00
Joonas Rikkonen b1f8de887c Clients use the Revive method instead of just setting health above zero when the host revives a character. Fixes dismembered characters staying dismembered client-side. 2018-08-15 11:52:48 +03:00
Joonas Rikkonen e513b379f4 Added parameter autocompletion to the kill command 2018-08-15 11:46:54 +03:00
Joonas Rikkonen fe8a22a4f8 Characters can't hold things in severed hands, limb bodies are re-enabled when reviving a character. Closes #529 2018-08-15 11:46:43 +03:00
Joonas Rikkonen 4866a89253 Servers can disable the disguise feature. Closes #568 2018-08-14 16:06:23 +03:00
Joonas Rikkonen 1e02d7406d Added a collider to railgun (-> cannot go through walls or enemy subs anymore). Closes #444 2018-08-14 15:39:10 +03:00
Joonas Rikkonen 8233f3b8df Increased minimum midround sync timeout to 10 s, an extra check to make sure the server doesn't write position updates during midround syncing (because the entities may not exist client-side yet) 2018-08-14 13:28:56 +03:00
Joonas Rikkonen 8160abe109 Fixed nullref exceptions when loading a steering component when a gamesession is running but no locations have been selected (not sure how that can even happen) 2018-08-14 13:28:11 +03:00
Joonas Rikkonen 6cb6e26b94 Servers can modify all Editable item properties using ChangeProperty events (not just InGameEditable ones). Closes #675 2018-08-14 12:01:56 +03:00
Joonas Rikkonen 8d5e5a8a15 Fixed characters being able to aim with items that have no aimPos configured (causing them to hold two-handed items like shells an crates in one hand when holding the aim button). Closes #613 2018-08-13 17:14:49 +03:00
Joonas Rikkonen 1c6a29dbc6 Characters point the harpoon gun downwards when not aiming. Closes #661 2018-08-13 17:05:51 +03:00
Joonas Rikkonen de05c7f047 More wire color variants. Closes #660 2018-08-13 17:05:25 +03:00
Joonas Rikkonen 1f5239b141 Horizontally resizeable walls are considered horizontal regardless of their size (and the same for vertical ones). Fixes orientation of short but thick walls (e.g. a tiny piece of a heavy wall) being wrong. Closes #648 2018-08-13 14:55:26 +03:00