Scrap Mechanic

Scrap Mechanic

Builder Bot - Companion Bot - Updated
Problem solving
Before I moved the files from the OVERWRITE folder, I wrote the lines that needed to be entered according to the instructions, but the bot would not appear and would not work. After moving the files from the folder, I lost many textures, large chests and couldn't even craft them. I did some tests and saw that nothing was missing and the bot worked without these files, BUT in the SM/Survival/Scripts/game folder there is a SurvivalPlayer file in which you need to enter the lines that we entered in BasePlayer.

IN BRIEF HOW YOU NEED TO INSTALL: enter those lines in those files that are specified in the instructions, do not touch or move the files from the OVERWRITE folder to the game folder. Follow the path SM/Survival/Scripts/game in the SurvivalPlayer file to do these things:
1. Find the function SurvivalPlayer.server_onCreate( self ), and write onCreate_BotHook(self) below it.
2. Find the function SurvivalPlayer.client_onInteract( self, character, state ), and write onInteract_BotHook(self,character,state) below it.
3. Find the function SurvivalPlayer.server_onFixedUpdate( self, dt ), and write onFixedUpdate_BotHook(self,dt) below it.

After that, save the file and enter the game. I wonder if I have helped you?