主站 / 小组 / 星露谷物语 / 星露谷物语游戏自动加速mod免费下载

星露谷物语游戏自动加速mod免费下载

星露谷物语游戏自动加速mod免费下载

发布用户:bity_1700805496发布类型:转载

原创作者:Alpha_Omegasis所在平台:网友投稿

发布日期:2024-11-26 16:06:37更新日期:2024-11-26 16:18:52

是否开源:否是否免费:是

审核人员:甜面酱(违规侵权资源,点击直接联系可快速删除!)

模组标签:功能,加速运行环境:星露谷物语

浏览次数:0

快捷访问:点击下载

MOD介绍:

使您无需在SMAPI控制台中输入命令自动步行/跑得更快。在文本编辑器中编辑config.json文件以更改速度(它将在您运行游戏一次后显示)。

 

Auto speed已经进行了一些调整,包括一个用于接口自定义速度的api!

现在,你可以使用SMAPI内置的api函数来调整玩家的速度,这样你的mod和自动速度就不会冲突!

要做到这一点,只需在您希望添加自定义速度时将此代码添加到您的mod中:

object api = helper.ModRegistry.GetApi("Omegasis.AutoSpeed");

if (api != null)

helper.Reflection.GetMethod(api, "addSpeedBoost").Invoke("Your-Unique-ID",#SpeedAmount);

//Replace #SpeedAmount with a number such as 1 or 3!

//Your-Unique-ID is the unique id for your speed boost. An example could be "Omegasis.MyModTest.QuickSprint"

 

每当您想删除添加的速度时,请使用以下代码:

object api = helper.ModRegistry.GetApi("Omegasis.AutoSpeed");

if (api != null)

helper.Reflection.GetMethod(api, "removeSpeedBoost").Invoke("Your-Unique-ID");

//Use the unique key you used to add in your speed boost to remove it!

API文件:https://github.com/janavarro95/Stardew_Valley_Mods/tree/Development/GeneralMods/AutoSpeed/Framework

 


 

HereLets you move faster without needing to enter commands in the SMAPI console.

Compatible with Stardew Valley 1.4+ on Linux, Mac, and Windows. Requires SMAPI 3.0 or later.

 

Install

Install the latest version of SMAPI.

Download this mod and unzip it into Stardew Valley/Mods.

Run the game using SMAPI.

 

Usage

You'll automatically walk/run faster with this mod installed. Edit the config.json file in a text editor to change the speed (it will appear after you run the game once).

 

Mod Authors:

Auto speed has had a few tweaks included to it to include an api for interfacing custom speeds! Now you can use SMAPI's built in api function to adjust added speed for the player so that your mod and auto speed doesn't conflict!

 

To do this simply add this code into your mod when you wish to add in your custom speed:

 

object api = helper.ModRegistry.GetApi("Omegasis.AutoSpeed");

if (api != null)

helper.Reflection.GetMethod(api, "addSpeedBoost").Invoke("Your-Unique-ID",#SpeedAmount);

//Replace #SpeedAmount with a number such as 1 or 3!

//Your-Unique-ID is the unique id for your speed boost. An example could be "Omegasis.MyModTest.QuickSprint"

 

and whenever you wish to remove your added speed use this code:

object api = helper.ModRegistry.GetApi("Omegasis.AutoSpeed");

if (api != null)

helper.Reflection.GetMethod(api, "removeSpeedBoost").Invoke("Your-Unique-ID");

//Use the unique key you used to add in your speed boost to remove it!

API Documentation: https://github.com/janavarro95/Stardew_Valley_Mods/tree/Development/GeneralMods/AutoSpeed/Framework

If you have any questions or suggestions please feel free to post!

下载列表

点击进入下载列表

回复区

昵称:

邮箱:

内容:

查看更多回复...