Skip to content

Commit

Permalink
Removed the warning agaisnt netcode variables. (#103)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
FragileDeviations authored Feb 27, 2024
1 parent 1037a62 commit edd5774
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/dev/apis/lethallib/customscrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit edd5774

Please sign in to comment.