Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
D.3 Entity Replacements
Updated 7 months agoCode
Editor
[Reminder, this one has a unique setup compared to the rest]
[DISCLAIMER]
This page assumes you've correctly setup Unity and followed the steps within the first two pages https://thunderstore.io/c/lethal-company/p/TeamXiaolan/DawnLib/wiki/4097-a-unity-setup/
https://thunderstore.io/c/lethal-company/p/TeamXiaolan/DawnLib/wiki/4099-b2-registering-via-unity-editor/
If you have not finished those steps, finish them and come back to this page.
Make a folder for your entity replacements and inside it add a Registry folder.
In the registry folder right click, hover over create -> DawnLib -> Definitions -> DuskEntityReplacementDefinition.
Put the DuskEntityReplacementDefinition and all related assets under an AssetBundle like "ogopogoskinassets".
Include this AssetBundle into the list of AssetBundles in your ContentContainer (made during the Unity Setup page).
Done!
[Remember]
You may always contact@xuxiaolanon discord, whether through the lethal modding discord or DMs for more inquires or any difficulties encountered.
Pages
- A. Unity Setup
- B.1 Registering Content via Code
- B.2 Registering via Unity Editor
- C.3 Weathers
- C.4 Enemies
- C.5 Inside/Outside Hazards
- C.6 Ship Upgrades/Decors
- C.7 Items
- C.8 Additional TileSets
- C.9 Terminal Commands
- C.A.1 Footsteps
- C. Interiors
- C. Moons
- D.1 Achievements
- D.2 Vehicles
- D.3 Entity Replacements
- E.1 DawnLib SourceGenerator
- F.1 Utility Scripts
- F.2 Unity Editor Tricks
- . Interiors Code Setup
- . Interiors Editor Setup
- . Moons Code Setup
- . Moons Editor Setup