Commit Graph

2441 Commits

Author SHA1 Message Date
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
Joonas Rikkonen
091dcf35e6 Server ignores kick votes if the client has already voted to kick the same player. Closes #615 2018-08-11 17:29:03 +03:00
Joonas Rikkonen
d98de2c305 Fire probability and the voltage required for a PowerTransfer item to take damage can be configured in the xml. Docking ports & hatches don't get broken by excess voltage. Closes #589 2018-08-11 17:09:36 +03:00
Joonas Rikkonen
f99bec4ed2 If the distance is excessively large when forcing the collider of a dead character to follow the body, the collider is teleported instead of moving it by setting the velocity. + More physics error logging 2018-08-09 14:13:08 +03:00
Joonas Rikkonen
f697ec7582 Melee weapons don't stop the swing when they hit the first target (but only damage each target once per swing). Fixes weapons not hitting the target in tight spaces due to touching the ceiling/walls first, and allows hitting multiple characters with one swing. Closes #622 2018-08-09 12:55:52 +03:00
Joonas Rikkonen
7a7c92a2ce Server writes item condition at full accuracy instead of just using 8 bits. The more inaccurate condition caused issues when the value was just above some specific threshold (e.g. minimum condition for a fabricator ingredient) server-side and below it client-side. Closes #616 2018-08-09 12:39:14 +03:00
Joonas Rikkonen
45939a9144 Fixed oxygen tank & welding fuel tank crafting causing everyone to desync. The item condition NetEntityEvent was created before the spawn event of the item, preventing clients from reading the condition event because the item doesn't exist yet. Closes #617 2018-08-09 12:08:47 +03:00
Juan Pablo Arce
f1a8db5b47 Fixed stereo sound loading
I had already fixed this on the dev branch, backporting because it's gonna take a while until it's released
2018-08-08 20:57:00 -03:00
Joonas Rikkonen
92f3ac5469 Server setting for selecting which symbols are allowed in client names. The default setting includes symbols from the character ranges Basic Latin, Latin-1 Supplement, Latin Extended A & B and Cyrillic. Closes #534 2018-08-08 17:07:31 +03:00
Joonas Rikkonen
2f0236d99b Fixed PowerContainer RechargeSpeed being capped to the MaxRechargeSpeed set in the prefab due to RechargeSpeed being loaded before MaxRechargeSpeed. Closes #612 2018-08-08 15:56:19 +03:00
Joonas Rikkonen
bcd44f79e9 Merge branch 'level-mirroring' 2018-08-08 15:30:41 +03:00
Joonas Rikkonen
5100956bae Levels are mirrored when traveling backwards through a connection in the campaign mode. Closes #519 2018-08-08 15:30:32 +03:00
Joonas Rikkonen
99c76d0099 Cleanup 2018-08-08 15:16:53 +03:00
Joonas Rikkonen
1c1a1eb80e Background sprites spawn at the correct position and rotation in mirrored levels. 2018-08-08 15:12:24 +03:00
Joonas Rikkonen
2a09e68f21 Clown costumes hide the torso limb, diving suits hide the waist which also prevents damage bypassing the damage modifiers of the suit. Closes #606, closes #611 2018-08-08 14:55:12 +03:00
Joonas Rikkonen
1a5a76746b Fixed handcuffed players being able to perform CPR and grab/drag bodies. Closes #608 2018-08-08 12:01:20 +03:00
Joonas Rikkonen
67527df8ab Removed duplicate bleed code in Character.Update. Closes #609 2018-08-08 11:33:06 +03:00
Joonas Rikkonen
5e093faaa2 Fixed max recharge speeds of PowerContainers resetting to the default value after saving and reloading a sub. Closes #605 2018-08-08 11:27:03 +03:00
Joonas Rikkonen
506c13c929 Again, save before committing 2018-08-08 11:15:05 +03:00
Joonas Rikkonen
0a84d989a8 Fixed wearable sprite colors being calculated wrong. Closes #607 2018-08-08 11:10:48 +03:00
Joonas Rikkonen
c34b2361dc v0.8.1.12 2018-08-08 02:30:08 +03:00
Joonas Rikkonen
2859b5c7f7 Added physics error check & logging to gap update 2018-08-07 16:49:51 +03:00
Joonas Rikkonen
865b35c6cd Fixed "attempted to access a removed AITarget" errors in AIObjectiveIdle 2018-08-07 16:49:17 +03:00
Joonas Rikkonen
4aeaf93af8 Fixed engines trying to apply infinite force to the submarine if MinVoltage is set to zero. 2018-08-07 14:36:08 +03:00