Scrap Mechanic

Scrap Mechanic

53 个评价
sm.interop
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
2.167 MB
2020 年 6 月 7 日 下午 1:24
2023 年 8 月 4 日 上午 11:51
27 项改动说明 ( 查看 )

订阅以下载
sm.interop

描述
What is sm.interop?
At first glance, sm.interop does not seem to add much to the game. But appearances are deceptive. sm.interop is a dependency for other mods, and it allows those mods to make complex scripted parts and custom tools, that work together well with other mods that use sm.interop.

The mod consists of two parts: a workshop part and a game file part. The game file part needs to be installed manually.

Game file mods that change tools or scripts may not be compatible with sm.interop. However, most of those mods can be re-written to work together with sm.interop. If you are a developer of a game file mod and need help with rewriting your mod to work with sm.interop, do not hesitate to contact Xesau#1681 on Discord.

Features list
Workshop part
  • Custom connection types
  • Event system
  • Mod startup scripts
  • Permission API
  • Scheduling API
Game file part
  • Custom chat commands
  • Custom tools
  • Access to game events, such as scrapmechanic:playerCollision

Installing sm.interop as user
To install the workshop part, you only have to click the 'Subscribe' button and restart your game.

Installing the game file part is a bit more complicated. Go to your game library and right click on Scrap Mechanic. Select Manage -> Browse local files. This opens the steamapps\common\Scrap Mechanic folder. Navigate back to the steamapps folder, then open workshop\content\387990\2123222134. Make sure your game is closed, and then double-click on Install.bat. Now open Scrap Mechanic again.
Or watch the video tutorial: https://youtu.be/LxCweEwQSlE

If the installer asks for the path to the Scrap Mechanic folder, you can find that by going to your game library and right-clicking on Scrap Mechanic. Then select Manage -> Browse local files, and copy the path fo the window that opens and paste it in the installer window.

If Install does not work, please run the Install debug file and send the install.log file to Xesau#1681 on Discord.

Updating sm.interop
To update the mod, you follow the same steps as when installing. But now, you click Update.bat. If that does not work, try just clicking Install.bat again.

Using sm.interop as mod developer
  1. Read through the example project[github.com] from GitHub.
  2. Read the API documentation[docs.google.com] (still Work In Progress)

Who is The Guild?
The Guild is a cooperation between a number of modders. Currently, The Guild consists of: Alstrak, BlueFlame, Brent Batch, DasEtwas, DJ, Fusspawn, Mini, MJM, Sheggy, shinevision, ShrooToo, TechnologicNick, Thumbpick, wingcomstriker405 and Xesau.
热门讨论 查看全部(2)
4
2020 年 11 月 15 日 上午 8:39
I have a problem with sm.interop, please fix, or tell me if Im doing something wrong
Jurrasic Raptor
0
2021 年 1 月 5 日 上午 6:52
Can't start with this installed
Jeremygames2006
37 条留言
Meme_star29000_yt 10 月 19 日 上午 4:37 
The HELL does this even do?
Thermonuclear Enthusiast 2024 年 9 月 3 日 下午 5:14 
WHERE THE FUCK IS THE MANAGE BUTTON
unknown81311 2023 年 8 月 4 日 下午 9:45 
This can all be done without file mod from what I read in the description
Xesau  [作者] 2023 年 8 月 4 日 上午 11:54 
We have just released an update for the newest version of Scrap Mechanic. Run the Update script to update the mod.
1e1001 2022 年 11 月 29 日 下午 5:17 
you should add an installer for linux, it's a bit annoying to just copy the folder over
SenseiSolo 2022 年 6 月 3 日 下午 7:09 
Is this going to be updated to work on the latest Scrap Mechanic update
Elisa (Entropy Cat) 2021 年 8 月 25 日 上午 2:40 
I moved a survival save out of the survival folder so I can use this mod along with creative commands, but when I try to load the latter in, an error message appears stating that I need to run update.bat even though it's already up to date and doing do this in a normal creative world doesn't cause it to happen.
Xesau  [作者] 2021 年 4 月 11 日 上午 8:06 
A new version has been just released, which has been tested to work against Scrap Mechanic 0.5.1. You will have to run the Update script as explained in the description.
muffmaster3000 2021 年 4 月 3 日 上午 7:55 
i click install or update but it doesn't work, when i launch scrap mechanic i look in the bottom right corner but it doesn't say sm.interop enabled
Calamarii 2021 年 3 月 13 日 上午 7:18 
what mods depend on this?