From e41d1bf39ce54fbb563cef2b2a7fb5ef426dd63a Mon Sep 17 00:00:00 2001 From: Mae Date: Thu, 22 Feb 2024 12:21:22 -0800 Subject: [PATCH] Removed the warning agaisnt netcode variables. They are needed. It is a terrible idea to not enable them when making scrap like the clown horn, because they will not sync if you don't touch the netcode variables. --- docs/dev/apis/lethallib/customscrap.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/dev/apis/lethallib/customscrap.md b/docs/dev/apis/lethallib/customscrap.md index c094d7344cc..c2cce2fcdf3 100644 --- a/docs/dev/apis/lethallib/customscrap.md +++ b/docs/dev/apis/lethallib/customscrap.md @@ -34,7 +34,9 @@ This item data lets you configure basically everything about your item. There ar - **Allow Dropping Ahead of Player**: Whether the item can be dropped in front of the player, as opposed to only dropping directly below their feet. - **Is Defensive Weapon**: For scrap that also acts as weapons; requires more special scripting, so for most cases should be left off. -Everything else is optional, has no effect on scrap, or shouldn't be modified (e.g. Netcode variables should be left alone). +Everything else is optional, has no effect on scrap, or shouldn't be modified. + +Note that you will have to enable some of the netcode variables if you want them to sync properly in multiplayer. ## Item Prefab An item prefab needs to have a specific setup to work correctly with all the Lethal Company systems. The prefab should have only the root object and a child object called "ScanNode":