Current location - Recipe Complete Network - Complete cookbook - Famine model making tutorial
Famine model making tutorial
About famine mod, deep space high play has also introduced many types to you, but I don't know if you have ever thought about it-do it yourself? The following deep space play will teach you a simple tutorial to make famine mod, and teach you to make mod easily.

Famine Mod simple production tutorial: example: make a mod with multiple backpacks

Step 1: Modify the original file of the game. Specific steps can be considered: Famine often uses modification skills other than mod or modification.

Open the game directory \ data \ scripts \ prefabs \ backpack.lua file, and change inst.components.inventorieitem = false to inst.components.inventorieitem = true.

Open the game directory \ data \ scripts \ prefabs \ piggyback.lua file, and change inst.components.inventoritem.canpointcontainer = false to inst.components.inventoritem.canpointcontainer = true.

Open the game directory \ data \ scripts \ prefabs \ krampus _ sack.lua file, and change inst.components.inventoritem.canpointcontainer = false to inst.components.inventoritem.canpointcontainer = true.

Step two: Put the modified file in the corresponding folder.

Create a new folder (Bao Bei), a new folder (scripts) in the Bao Bei folder, and then a new folder (prefabs) in the scripts folder, and copy the modified three files (backpack.lua, piggyback.lua, krampus_sack.lua) to the prefabs folder.

Step three: Create a new modmain.lua file.

Create a new text document in the folder Bao Bei and rename it Mod name. Lua without writing anything. If you want to write your own introduction, open the file Modmain.lua with notepad, enter -first first, and then write the introduction, otherwise mod will be misread.

Congratulations on making your own Mod. Send it to others for use.

Remarks:

1. compress Mod into. Rar file, easy to download.

Right-click the Bao Bei folder, select Add to Compressed File (winrar software must be installed on the computer), and select an appropriate compressed file name, such as beibao.rar.

Install Mod

Download and unzip the beibao.rar file, copy the Bao Bei folder to the game directory \mods folder, open the game directory \mods\modsettings.lua file with notepad, and add the following contents at the bottom:

ModManager:AddMod (Bao Bei)

So Mod can be used normally.

Don't be hungry to integrate 3DLC+ Chinese V 1.338+05.